Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/release-configs/argocd-cmp-hk-deployment.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/release-configs/ci-helm.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/release-configs/mydumper.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/release-configs/testcontainers-node.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/__main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
release:
needs: ci
if: github.event_name != 'schedule'
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@5ff7d4c3910971ed53834becd5967271b4e228cf # 0.21.1
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@b56be562f38e0e3e712f09691a8fe930aae9db1b # 0.22.0
permissions:
contents: read
with:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/__prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
release:
uses: ./.github/workflows/prepare-release.yml
permissions:
contents: write
contents: read
id-token: write
pull-requests: write
with:
github-app-id: ${{ vars.CI_BOT_APP_ID }}
secrets:
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
build-images:
needs: prepare-images-to-build
if: needs.prepare-images-to-build.outputs.images
uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@df8b445f6cc9661dcb282d897d7146a82e5f2960 # 0.31.0
uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@bcbbcaff24e053e38ebab02dd0e41442df196719 # 0.32.0
permissions:
contents: read
issues: read
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,10 @@ on:
type: string
default: '["ubuntu-latest"]'
required: false
github-app-id:
description: |
GitHub App ID to generate GitHub token in place of github-token.
See https://github.com/actions/create-github-app-token.
required: false
type: string
secrets:
github-token:
description: |
GitHub token with permissions `contents: write`, `pull-requests: write`.
github-app-key:
description: |
GitHub App private key to generate GitHub token in place of github-token.
See https://github.com/actions/create-github-app-token.
GitHub token with permissions `contents: read`, `pull-requests: write`.

concurrency:
group: ${{ github.workflow }}-images-${{ github.event.number || github.ref }}
Expand All @@ -40,22 +30,22 @@ jobs:
permissions:
contents: read
id-token: write # Needed for getting local workflow actions
with:
runs-on: ${{ inputs.runs-on }}

prepare-release:
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@5ff7d4c3910971ed53834becd5967271b4e228cf # 0.21.1
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@b56be562f38e0e3e712f09691a8fe930aae9db1b # 0.22.0
needs: get-available-images-matrix
strategy:
matrix:
image: ${{ fromJson(needs.get-available-images-matrix.outputs.images-matrix) }}
fail-fast: false
permissions:
contents: write
contents: read
id-token: write
pull-requests: write
with:
runs-on: ${{ inputs.runs-on }}
github-app-id: ${{ inputs.github-app-id || null }}
working-directory: images/${{ matrix.image }}
secrets:
github-token: ${{ secrets.github-token || null }}
github-app-key: ${{ secrets.github-app-key || null }}
2 changes: 1 addition & 1 deletion .github/workflows/prune-pull-requests-images-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
packages: write
pull-requests: read
needs: get-available-images-matrix
uses: hoverkraft-tech/ci-github-container/.github/workflows/prune-pull-requests-images-tags.yml@df8b445f6cc9661dcb282d897d7146a82e5f2960 # 0.31.0
uses: hoverkraft-tech/ci-github-container/.github/workflows/prune-pull-requests-images-tags.yml@bcbbcaff24e053e38ebab02dd0e41442df196719 # 0.32.0
with:
runs-on: ${{ inputs.runs-on }}
images: ${{ needs.get-available-images-matrix.outputs.images-matrix }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
fail-fast: false
steps:
- id: create-release
uses: hoverkraft-tech/ci-github-publish/actions/release/create@5ff7d4c3910971ed53834becd5967271b4e228cf # 0.21.1
uses: hoverkraft-tech/ci-github-publish/actions/release/create@b56be562f38e0e3e712f09691a8fe930aae9db1b # 0.22.0
with:
prerelease: ${{ inputs.prerelease }}
working-directory: images/${{ matrix.image }}
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ test-all: ## Run tests for all images
$(MAKE) test "$$image_name" || exit 1; \
done

ci: ## Run full CI checks (lint + tests)
$(MAKE) lint-fix
$(MAKE) test-all

define run_linter
DEFAULT_WORKSPACE="$(CURDIR)"; \
LINTER_IMAGE="linter:latest"; \
Expand Down
Loading