diff --git a/.github/workflows/pull-cd-builder-images-centos7.yaml b/.github/workflows/pull-cd-builder-images-centos7.yaml index 05739f79..3f11ee6d 100644 --- a/.github/workflows/pull-cd-builder-images-centos7.yaml +++ b/.github/workflows/pull-cd-builder-images-centos7.yaml @@ -10,7 +10,8 @@ on: jobs: define-matrix: - runs-on: ubuntu-latest + name: Define building matrix - CentOS7 + runs-on: ubuntu-24.04 outputs: changed_folders: ${{ steps.changed.outputs.folders }} changed_go_builder_folders: ${{ steps.changed.outputs.go_builder_folders }} @@ -70,15 +71,15 @@ jobs: JSON_CHANGED_FOLDERS_CPP_TYPE=$(jq --null-input --argjson changed "$JSON_CHANGED_BUILDERS" --argjson ALL "$JSON_ALL_CPP_BUILDERS" -R -s -c '$changed - ($changed - $ALL)' ) # Set the output variable - echo "files=$JSON_CHANGED_FILES" >> $GITHUB_OUTPUT - echo "folders=$JSON_CHANGED_FOLDERS" >> $GITHUB_OUTPUT - echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" >> $GITHUB_OUTPUT - echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" >> $GITHUB_OUTPUT - echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" >> $GITHUB_OUTPUT + echo "files=$JSON_CHANGED_FILES" | tee -a $GITHUB_OUTPUT + echo "folders=$JSON_CHANGED_FOLDERS" | tee -a $GITHUB_OUTPUT + echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" | tee -a $GITHUB_OUTPUT + echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" | tee -a $GITHUB_OUTPUT + echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" | tee -a $GITHUB_OUTPUT skaffold-golang: - name: build images for golang builders - runs-on: ubuntu-latest + name: build golang builders - base CentOS7 + runs-on: ubuntu-24.04 needs: define-matrix permissions: @@ -139,8 +140,8 @@ jobs: --push=false skaffold-rust: - name: build images for rust builders - runs-on: ubuntu-latest + name: build rust builders - base CentOS7 + runs-on: ubuntu-24.04 permissions: contents: read packages: write @@ -190,8 +191,8 @@ jobs: --push=false skaffold-cpp: - name: skaffold build images for cpp builders - runs-on: ubuntu-latest + name: build cpp builders - base CentOS7 + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/pull-cd-builder-images.yaml b/.github/workflows/pull-cd-builder-images.yaml index 14feae49..178d6d28 100644 --- a/.github/workflows/pull-cd-builder-images.yaml +++ b/.github/workflows/pull-cd-builder-images.yaml @@ -10,7 +10,8 @@ on: jobs: define-matrix: - runs-on: ubuntu-latest + name: Define building matrix + runs-on: ubuntu-24.04 outputs: changed_folders: ${{ steps.changed.outputs.folders }} changed_go_builder_folders: ${{ steps.changed.outputs.go_builder_folders }} @@ -70,15 +71,15 @@ jobs: JSON_CHANGED_FOLDERS_CPP_TYPE=$(jq --null-input --argjson changed "$JSON_CHANGED_BUILDERS" --argjson ALL "$JSON_ALL_CPP_BUILDERS" -R -s -c '$changed - ($changed - $ALL)' ) # Set the output variable - echo "files=$JSON_CHANGED_FILES" >> $GITHUB_OUTPUT - echo "folders=$JSON_CHANGED_FOLDERS" >> $GITHUB_OUTPUT - echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" >> $GITHUB_OUTPUT - echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" >> $GITHUB_OUTPUT - echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" >> $GITHUB_OUTPUT + echo "files=$JSON_CHANGED_FILES" | tee -a $GITHUB_OUTPUT + echo "folders=$JSON_CHANGED_FOLDERS" | tee -a $GITHUB_OUTPUT + echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" | tee -a $GITHUB_OUTPUT + echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" | tee -a $GITHUB_OUTPUT + echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" | tee -a $GITHUB_OUTPUT skaffold-golang: - name: skaffold build images for golang builders - runs-on: ubuntu-latest + name: build golang builders + runs-on: ubuntu-24.04 needs: define-matrix permissions: @@ -135,8 +136,8 @@ jobs: --push=false skaffold-rust: - name: build images for rust builders - runs-on: ubuntu-latest + name: build rust builders + runs-on: ubuntu-24.04 permissions: contents: read packages: write @@ -185,8 +186,8 @@ jobs: --push=false skaffold-cpp: - name: skaffold build images for cpp builders - runs-on: ubuntu-latest + name: build cpp builders + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/pull-cd-builder-images2.yaml b/.github/workflows/pull-cd-builder-images2.yaml index 1c6613b5..02057d10 100644 --- a/.github/workflows/pull-cd-builder-images2.yaml +++ b/.github/workflows/pull-cd-builder-images2.yaml @@ -12,7 +12,7 @@ jobs: # check if the comments come from pull request, exclude those from issue. if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/just msb-') }} name: test building with multi stages - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/pull-cd-util-images.yaml b/.github/workflows/pull-cd-util-images.yaml index ddf308d9..9058dc69 100644 --- a/.github/workflows/pull-cd-util-images.yaml +++ b/.github/workflows/pull-cd-util-images.yaml @@ -15,7 +15,7 @@ concurrency: jobs: skaffold: name: build images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read diff --git a/.github/workflows/pull-ci-runtime-images.yaml b/.github/workflows/pull-ci-runtime-images.yaml index 90cd9418..e08500a9 100644 --- a/.github/workflows/pull-ci-runtime-images.yaml +++ b/.github/workflows/pull-ci-runtime-images.yaml @@ -17,7 +17,7 @@ concurrency: jobs: skaffold: name: build images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -33,8 +33,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -78,7 +78,7 @@ jobs: --push=false skaffold-nogo: name: build images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -92,8 +92,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU diff --git a/.github/workflows/pull-prod-runtime-images.yaml b/.github/workflows/pull-prod-runtime-images.yaml index 10ad5851..87f740f4 100644 --- a/.github/workflows/pull-prod-runtime-images.yaml +++ b/.github/workflows/pull-prod-runtime-images.yaml @@ -15,7 +15,7 @@ concurrency: jobs: skaffold: name: build images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -30,8 +30,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU diff --git a/.github/workflows/pull-verify-packages-config.yaml b/.github/workflows/pull-verify-packages-config.yaml index d7b467ef..9f8250ad 100644 --- a/.github/workflows/pull-verify-packages-config.yaml +++ b/.github/workflows/pull-verify-packages-config.yaml @@ -8,7 +8,7 @@ on: jobs: test-packages-cfg: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Set up Go uses: actions/setup-go@v5 diff --git a/.github/workflows/release-cd-builder-images-centos7.yaml b/.github/workflows/release-cd-builder-images-centos7.yaml index bd1c83a1..08950fd8 100644 --- a/.github/workflows/release-cd-builder-images-centos7.yaml +++ b/.github/workflows/release-cd-builder-images-centos7.yaml @@ -11,7 +11,8 @@ on: jobs: define-matrix: - runs-on: ubuntu-latest + name: Define building matrix - CentOS7 + runs-on: ubuntu-24.04 outputs: changed_folders: ${{ steps.changed.outputs.folders }} changed_go_builder_folders: ${{ steps.changed.outputs.go_builder_folders }} @@ -71,15 +72,15 @@ jobs: JSON_CHANGED_FOLDERS_CPP_TYPE=$(jq --null-input --argjson changed "$JSON_CHANGED_BUILDERS" --argjson ALL "$JSON_ALL_CPP_BUILDERS" -R -s -c '$changed - ($changed - $ALL)' ) # Set the output variable - echo "files=$JSON_CHANGED_FILES" >> $GITHUB_OUTPUT - echo "folders=$JSON_CHANGED_FOLDERS" >> $GITHUB_OUTPUT - echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" >> $GITHUB_OUTPUT - echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" >> $GITHUB_OUTPUT - echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" >> $GITHUB_OUTPUT + echo "files=$JSON_CHANGED_FILES" | tee -a $GITHUB_OUTPUT + echo "folders=$JSON_CHANGED_FOLDERS" | tee -a $GITHUB_OUTPUT + echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" | tee -a $GITHUB_OUTPUT + echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" | tee -a $GITHUB_OUTPUT + echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" | tee -a $GITHUB_OUTPUT skaffold-golang: - name: publish images for golang builders - runs-on: ubuntu-latest + name: push golang builders - base CentOS7 + runs-on: ubuntu-24.04 needs: define-matrix permissions: @@ -138,8 +139,8 @@ jobs: --profile=${{ matrix.profile }} skaffold-rust: - name: publish images for rust builders - runs-on: ubuntu-latest + name: push rust builders - base CentOS7 + runs-on: ubuntu-24.04 permissions: contents: read packages: write @@ -185,8 +186,8 @@ jobs: --module=${{ matrix.module }} skaffold-cpp: - name: skaffold build images for cpp builders - runs-on: ubuntu-latest + name: build cpp builders - base CentOS7 + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/release-cd-builder-images.yaml b/.github/workflows/release-cd-builder-images.yaml index 32427851..78f26ad2 100644 --- a/.github/workflows/release-cd-builder-images.yaml +++ b/.github/workflows/release-cd-builder-images.yaml @@ -11,7 +11,8 @@ on: jobs: define-matrix: - runs-on: ubuntu-latest + name: Define building matrix + runs-on: ubuntu-24.04 outputs: changed_folders: ${{ steps.changed.outputs.folders }} changed_go_builder_folders: ${{ steps.changed.outputs.go_builder_folders }} @@ -71,15 +72,15 @@ jobs: JSON_CHANGED_FOLDERS_CPP_TYPE=$(jq --null-input --argjson changed "$JSON_CHANGED_BUILDERS" --argjson ALL "$JSON_ALL_CPP_BUILDERS" -R -s -c '$changed - ($changed - $ALL)' ) # Set the output variable - echo "files=$JSON_CHANGED_FILES" >> $GITHUB_OUTPUT - echo "folders=$JSON_CHANGED_FOLDERS" >> $GITHUB_OUTPUT - echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" >> $GITHUB_OUTPUT - echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" >> $GITHUB_OUTPUT - echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" >> $GITHUB_OUTPUT + echo "files=$JSON_CHANGED_FILES" | tee -a $GITHUB_OUTPUT + echo "folders=$JSON_CHANGED_FOLDERS" | tee -a $GITHUB_OUTPUT + echo "go_builder_folders=$JSON_CHANGED_FOLDERS_GO_TYPE" | tee -a $GITHUB_OUTPUT + echo "rust_builder_folders=$JSON_CHANGED_FOLDERS_RUST_TYPE" | tee -a $GITHUB_OUTPUT + echo "cpp_builder_folders=$JSON_CHANGED_FOLDERS_CPP_TYPE" | tee -a $GITHUB_OUTPUT skaffold-golang: - name: skaffold publish images for golang builders - runs-on: ubuntu-latest + name: push golang builders + runs-on: ubuntu-24.04 needs: define-matrix permissions: @@ -133,8 +134,8 @@ jobs: --profile=${{ matrix.profile }} skaffold-rust: - name: publish images for rust builders - runs-on: ubuntu-latest + name: push rust builders + runs-on: ubuntu-24.04 permissions: contents: read packages: write @@ -180,8 +181,8 @@ jobs: --module=${{ matrix.module }} skaffold-cpp: - name: publish images for cpp builders - runs-on: ubuntu-latest + name: push cpp builders + runs-on: ubuntu-24.04 permissions: contents: read packages: write diff --git a/.github/workflows/release-cd-util-images.yaml b/.github/workflows/release-cd-util-images.yaml index 7ea9f3cb..2a49304a 100644 --- a/.github/workflows/release-cd-util-images.yaml +++ b/.github/workflows/release-cd-util-images.yaml @@ -12,7 +12,7 @@ on: jobs: skaffold: name: publish images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -26,8 +26,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU diff --git a/.github/workflows/release-ci-runtime-images.yaml b/.github/workflows/release-ci-runtime-images.yaml index ee8c749c..b4abd4dc 100644 --- a/.github/workflows/release-ci-runtime-images.yaml +++ b/.github/workflows/release-ci-runtime-images.yaml @@ -14,7 +14,7 @@ on: jobs: skaffold-go: name: publish images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -29,8 +29,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU @@ -73,7 +73,7 @@ jobs: --profile ${{ matrix.go-profile }} skaffold-nogo: name: publish images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -85,8 +85,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU diff --git a/.github/workflows/release-prod-runtime-images.yaml b/.github/workflows/release-prod-runtime-images.yaml index 53859bd4..d594a147 100644 --- a/.github/workflows/release-prod-runtime-images.yaml +++ b/.github/workflows/release-prod-runtime-images.yaml @@ -12,7 +12,7 @@ on: jobs: skaffold: name: publish images with skaffold - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read @@ -26,8 +26,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 with: - fetch-depth: '0' - fetch-tags: 'true' + fetch-depth: "0" + fetch-tags: "true" # https://github.com/docker/setup-qemu-action - name: Set up QEMU