-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into batch-reload-v2
- Loading branch information
Showing
6 changed files
with
127 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: 'Close inactive issues and PRs' | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
days-before-stale: 60 | ||
days-before-issue-close: 120 | ||
days-before-pr-close: 180 | ||
exempt-draft-pr: true | ||
stale-issue-label: 'stale' | ||
stale-pr-label: 'stale' | ||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.' | ||
close-issue-message: 'This issue was closed because it has not had any activity in the last 120 days. Please reopen if you feel this is still valid.' | ||
close-pr-message: "This pull request is being closed because it had no activity in the last 180 days. This is not a signal from the maintainers that the PR has no value. We appreciate the time and effort that you put into this work. If you're willing to re-open it, the maintainers will do their best to review it." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: Release Workflow Tests | ||
# This workflow tests the tag and changelog action and can be used to detect (some) breaking changes. | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
TEST_TAG: testing | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
- name: Bump version and push tag | ||
id: tagging | ||
uses: anothrNick/github-tag-action@1.59.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
INITIAL_VERSION: 1.0.0 | ||
DEFAULT_BUMP: none | ||
BRANCH_HISTORY: last | ||
DRY_RUN: true | ||
- name: "Set up QEMU" | ||
if: steps.tagging.outputs.part | ||
uses: docker/setup-qemu-action@v3 | ||
- name: "Set up Docker Buildx" | ||
if: steps.tagging.outputs.part | ||
uses: docker/setup-buildx-action@v3 | ||
- name: "Login to DockerHub" | ||
if: steps.tagging.outputs.part | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: "Login to Quay.io" | ||
if: steps.tagging.outputs.part | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: quay.io | ||
username: ${{ secrets.QUAY_BOT_USERNAME }} | ||
password: ${{ secrets.QUAY_BOT_PASSWORD }} | ||
- name: "Login to ghcr.io" | ||
if: steps.tagging.outputs.part | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Build and push" | ||
if: steps.tagging.outputs.part | ||
id: docker_build | ||
uses: docker/build-push-action@v6 | ||
with: | ||
push: true | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x | ||
tags: | | ||
docker.io/kiwigrid/k8s-sidecar:${{ steps.tagging.outputs.tag }}-${{ env.TEST_TAG }} | ||
quay.io/kiwigrid/k8s-sidecar:${{ steps.tagging.outputs.tag }}-${{ env.TEST_TAG }} | ||
ghcr.io/kiwigrid/k8s-sidecar:${{ steps.tagging.outputs.tag }}-${{ env.TEST_TAG }} | ||
- name: "Build Changelog" | ||
if: steps.tagging.outputs.part | ||
id: build_changelog | ||
uses: mikepenz/release-changelog-builder-action@v5 | ||
with: | ||
configuration: ".github/workflows/release-notes-config.json" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Create Github Release" | ||
if: steps.tagging.outputs.part | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ steps.tagging.outputs.tag }}-${{ env.TEST_TAG }} | ||
release_name: v${{ steps.tagging.outputs.tag }}-${{ env.TEST_TAG }} | ||
body: ${{ steps.build_changelog.outputs.changelog }} | ||
draft: true | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
kubernetes==30.1.0 | ||
kubernetes==31.0.0 | ||
requests==2.32.3 | ||
python-json-logger==2.0.7 | ||
logfmter==0.0.8 | ||
|