From d625f20d18e26fb7247ca194d23fda98a5d0e512 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Thu, 23 Jan 2025 11:08:49 +0000 Subject: [PATCH 1/2] workflows: Move arm static checks runner Now we have the build-assets running on the gh-hosted runners, try the same approach for the static-checks Signed-off-by: stevenhorsman --- .github/workflows/static-checks-self-hosted.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-checks-self-hosted.yaml b/.github/workflows/static-checks-self-hosted.yaml index 943240df31..a4402603d5 100644 --- a/.github/workflows/static-checks-self-hosted.yaml +++ b/.github/workflows/static-checks-self-hosted.yaml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: instance: - - "arm-no-k8s" + - "ubuntu-22.04-arm" - "s390x" - "ppc64le" uses: ./.github/workflows/build-checks.yaml From 3acce82c91acd35b31f75e0aa6fb793e4df66fae Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Thu, 23 Jan 2025 11:27:41 +0000 Subject: [PATCH 2/2] ci: Update gatekeeper tests for static workflow The static-checks targets are `pull_request`, so they can run the PR workflow version, so we want to update the required-tests.yaml so that static-check workflow changes do trigger static checks in order to test them properly. Signed-off-by: stevenhorsman --- tools/testing/gatekeeper/required-tests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/gatekeeper/required-tests.yaml b/tools/testing/gatekeeper/required-tests.yaml index 0200c465a4..a9d1594cbc 100644 --- a/tools/testing/gatekeeper/required-tests.yaml +++ b/tools/testing/gatekeeper/required-tests.yaml @@ -14,6 +14,7 @@ paths: # Mapping of path (python) regexps to set-of-tests (sort by order of importance) # CI - "^ci/openshift-ci/": [] + - "^\\.github/workflows/static-checks": ["static"] - "^\\.github/workflows/": [] # TODO: Expand filters # Documentation