From e753b32bd76e5eebb432dbce6beca5eb9c5adc9c Mon Sep 17 00:00:00 2001 From: Arjun Raja Yogidas Date: Thu, 9 Oct 2025 20:30:51 +0000 Subject: [PATCH 1/2] ci: add debian canaries Signed-off-by: Arjun Raja Yogidas --- .github/workflows/canary-deb.yaml | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/canary-deb.yaml diff --git a/.github/workflows/canary-deb.yaml b/.github/workflows/canary-deb.yaml new file mode 100644 index 00000000..0f34f2c9 --- /dev/null +++ b/.github/workflows/canary-deb.yaml @@ -0,0 +1,43 @@ +name: Deb Canary + +on: + # This workflow will run from the release-automation.yaml automation on each merge + workflow_dispatch: + inputs: + ref_name: + required: true + type: string + workflow_call: + inputs: + ref_name: + required: true + type: string + + # This workflow will run every 5 min + schedule: + - cron: '*/5 * * * *' + +jobs: + canary-deb: + # define all different arch's our supported CodeBuild fleets can run on + runs-on: ubuntu-latest + timeout-minutes: 3 + steps: + - name: Clean ubuntu runner workspace + run: | + rm -rf ${{ github.workspace }}/* + - name: Install Finch with APT + run: | + sudo apt install runfinch-finch -y + - name: Verify version + run: | + version=$(finch -v) + if [[ $version == "finch version ${{inputs.ref_name}}" ]]; then + echo "Version matches: $version" + else + echo "Version mismatch. Found: $version, Expected: ${{inputs.ref_name}}" + exit 1 + fi + - name: Clean up environment + run: | + sudo apt remove runfinch-finch -y \ No newline at end of file From 25bf6169a16ccffac7d449d57f835212c39c957e Mon Sep 17 00:00:00 2001 From: Arjun Raja Yogidas Date: Thu, 9 Oct 2025 21:08:33 +0000 Subject: [PATCH 2/2] ci: test Signed-off-by: Arjun Raja Yogidas --- .github/workflows/canary-deb.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/canary-deb.yaml b/.github/workflows/canary-deb.yaml index 0f34f2c9..f1bf1bac 100644 --- a/.github/workflows/canary-deb.yaml +++ b/.github/workflows/canary-deb.yaml @@ -12,8 +12,24 @@ on: ref_name: required: true type: string - - # This workflow will run every 5 min + pull_request: + branches: + - main + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - '.github/workflows/e2e-macos.yaml' + - '.github/workflows/e2e-windows.yaml' + - '.github/workflows/e2e-linux.yaml' + - 'contrib/packaging/**' + - 'deps/**' + - 'finch.yaml.d/**' + - 'winres' + - 'Makefile*' + - '.golangci.yaml' + - '!contrib/hello-finch/**' +# This workflow will run every 5 min schedule: - cron: '*/5 * * * *'