diff --git a/.github/workflows/ci-cd-build-packages-1.yml b/.github/workflows/ci-cd-build-packages-1.yml index 692f376..59657b5 100644 --- a/.github/workflows/ci-cd-build-packages-1.yml +++ b/.github/workflows/ci-cd-build-packages-1.yml @@ -89,9 +89,9 @@ jobs: ARTIFACT_NAME: 'jemalloc-bin-centos-8' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_jemalloc_el_9: - name: 'Jemalloc [el-9]' - if: contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') + build_jemalloc_el_10: + name: 'Jemalloc [el-10]' + if: contains(inputs.necessary_jobs, ';Build Jemalloc [el-10];') runs-on: ubuntu-24.04 environment: test permissions: @@ -118,14 +118,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -139,13 +139,13 @@ jobs: - name: Build run: ./internal-scripts/ci-cd/build-jemalloc-binaries/build.sh env: - ENVIRONMENT_NAME: 'el-9' - CACHE_KEY_PREFIX: 'sccache/el-9' + ENVIRONMENT_NAME: 'el-10' + CACHE_KEY_PREFIX: 'sccache/el-10' - name: Archive artifact run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: 'jemalloc-bin-el-9' + ARTIFACT_NAME: 'jemalloc-bin-el-10' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -1901,8 +1901,8 @@ jobs: CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_4-normal: - name: 'Ruby [el-9/3.4/normal]' + build_ruby_el_10-3_4-normal: + name: 'Ruby [el-10/3.4/normal]' runs-on: ubuntu-24.04 environment: test @@ -1912,7 +1912,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4/normal];') && !failure() && !cancelled() steps: @@ -1943,14 +1943,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -1972,15 +1972,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/el-9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "RPM" @@ -1990,14 +1990,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_el-9_normal" + ARTIFACT_NAME: "ruby-pkg_3.4_el-10_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_4-jemalloc: - name: 'Ruby [el-9/3.4/jemalloc]' + build_ruby_el_10-3_4-jemalloc: + name: 'Ruby [el-10/3.4/jemalloc]' - needs: build_jemalloc_el_9 + needs: build_jemalloc_el_10 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2006,15 +2006,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [el-9]' did not fail + - name: Check whether 'Build Jemalloc [el-10]' did not fail run: 'false' if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') + needs.build_jemalloc_el_10.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-10];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2042,14 +2042,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -2070,22 +2070,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-el-9 + ARTIFACT_NAME: jemalloc-bin-el-10 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/el-9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "RPM" @@ -2095,12 +2095,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_el-9_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.4_el-10_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_4-malloctrim: - name: 'Ruby [el-9/3.4/malloctrim]' + build_ruby_el_10-3_4-malloctrim: + name: 'Ruby [el-10/3.4/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2110,7 +2110,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4/malloctrim];') && !failure() && !cancelled() steps: @@ -2141,14 +2141,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -2170,15 +2170,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/el-9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "RPM" @@ -2188,12 +2188,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_el-9_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.4_el-10_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_3-normal: - name: 'Ruby [el-9/3.3/normal]' + build_ruby_el_10-3_3-normal: + name: 'Ruby [el-10/3.3/normal]' runs-on: ubuntu-24.04 environment: test @@ -2203,7 +2203,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3/normal];') && !failure() && !cancelled() steps: @@ -2234,14 +2234,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -2263,15 +2263,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/el-9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "RPM" @@ -2281,14 +2281,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_el-9_normal" + ARTIFACT_NAME: "ruby-pkg_3.3_el-10_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_3-jemalloc: - name: 'Ruby [el-9/3.3/jemalloc]' + build_ruby_el_10-3_3-jemalloc: + name: 'Ruby [el-10/3.3/jemalloc]' - needs: build_jemalloc_el_9 + needs: build_jemalloc_el_10 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2297,15 +2297,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [el-9]' did not fail + - name: Check whether 'Build Jemalloc [el-10]' did not fail run: 'false' if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') + needs.build_jemalloc_el_10.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-10];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2333,14 +2333,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -2361,22 +2361,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-el-9 + ARTIFACT_NAME: jemalloc-bin-el-10 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/el-9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "RPM" @@ -2386,12 +2386,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_el-9_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.3_el-10_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_3-malloctrim: - name: 'Ruby [el-9/3.3/malloctrim]' + build_ruby_el_10-3_3-malloctrim: + name: 'Ruby [el-10/3.3/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2401,7 +2401,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3/malloctrim];') && !failure() && !cancelled() steps: @@ -2432,14 +2432,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -2461,15 +2461,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/el-9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "RPM" @@ -2479,12 +2479,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_el-9_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.3_el-10_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_2-normal: - name: 'Ruby [el-9/3.2/normal]' + build_ruby_el_10-3_4_6-normal: + name: 'Ruby [el-10/3.4.6/normal]' runs-on: ubuntu-24.04 environment: test @@ -2494,7 +2494,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4.6/normal];') && !failure() && !cancelled() steps: @@ -2519,1184 +2519,20 @@ jobs: - name: Fetch Ruby source run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: ruby-src-3.2.9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "normal" - RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "normal" - VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.2" - RUBY_PACKAGE_REVISION: "12" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.2_el-9_normal" - ARTIFACT_PATH: output-normal - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_2-jemalloc: - name: 'Ruby [el-9/3.2/jemalloc]' - - needs: build_jemalloc_el_9 - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/jemalloc];') - && !failure() && !cancelled() - steps: - - - name: Check whether 'Build Jemalloc [el-9]' did not fail - run: 'false' - if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.2.9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - name: Fetch Jemalloc binary - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: jemalloc-bin-el-9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "jemalloc" - RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "jemalloc" - VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.2" - RUBY_PACKAGE_REVISION: "12" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.2_el-9_jemalloc" - ARTIFACT_PATH: output-jemalloc - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_2-malloctrim: - name: 'Ruby [el-9/3.2/malloctrim]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/malloctrim];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.2.9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "malloctrim" - RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "malloctrim" - VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.2" - RUBY_PACKAGE_REVISION: "12" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.2_el-9_malloctrim" - ARTIFACT_PATH: output-malloctrim - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_1-normal: - name: 'Ruby [el-9/3.1/normal]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/normal];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.1.7 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "normal" - RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "normal" - VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.1" - RUBY_PACKAGE_REVISION: "16" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.1_el-9_normal" - ARTIFACT_PATH: output-normal - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_1-jemalloc: - name: 'Ruby [el-9/3.1/jemalloc]' - - needs: build_jemalloc_el_9 - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/jemalloc];') - && !failure() && !cancelled() - steps: - - - name: Check whether 'Build Jemalloc [el-9]' did not fail - run: 'false' - if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.1.7 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - name: Fetch Jemalloc binary - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: jemalloc-bin-el-9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "jemalloc" - RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "jemalloc" - VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.1" - RUBY_PACKAGE_REVISION: "16" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.1_el-9_jemalloc" - ARTIFACT_PATH: output-jemalloc - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_1-malloctrim: - name: 'Ruby [el-9/3.1/malloctrim]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/malloctrim];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.1.7 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "malloctrim" - RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "malloctrim" - VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.1" - RUBY_PACKAGE_REVISION: "16" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.1_el-9_malloctrim" - ARTIFACT_PATH: output-malloctrim - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_4_6-normal: - name: 'Ruby [el-9/3.4.6/normal]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/normal];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.4.6 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "normal" - RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "normal" - VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.4.6" - RUBY_PACKAGE_REVISION: "0" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_el-9_normal" - ARTIFACT_PATH: output-normal - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_4_6-jemalloc: - name: 'Ruby [el-9/3.4.6/jemalloc]' - - needs: build_jemalloc_el_9 - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/jemalloc];') - && !failure() && !cancelled() - steps: - - - name: Check whether 'Build Jemalloc [el-9]' did not fail - run: 'false' - if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.4.6 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - name: Fetch Jemalloc binary - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: jemalloc-bin-el-9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "jemalloc" - RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "jemalloc" - VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.4.6" - RUBY_PACKAGE_REVISION: "0" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_el-9_jemalloc" - ARTIFACT_PATH: output-jemalloc - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_4_6-malloctrim: - name: 'Ruby [el-9/3.4.6/malloctrim]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/malloctrim];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.4.6 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "malloctrim" - RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "malloctrim" - VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.4.6" - RUBY_PACKAGE_REVISION: "0" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_el-9_malloctrim" - ARTIFACT_PATH: output-malloctrim - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_3_9-normal: - name: 'Ruby [el-9/3.3.9/normal]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/normal];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.3.9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "normal" - RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "normal" - VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.3.9" - RUBY_PACKAGE_REVISION: "0" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_el-9_normal" - ARTIFACT_PATH: output-normal - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_3_9-jemalloc: - name: 'Ruby [el-9/3.3.9/jemalloc]' - - needs: build_jemalloc_el_9 - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/jemalloc];') - && !failure() && !cancelled() - steps: - - - name: Check whether 'Build Jemalloc [el-9]' did not fail - run: 'false' - if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.3.9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - name: Fetch Jemalloc binary - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: jemalloc-bin-el-9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "jemalloc" - RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "jemalloc" - VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.3.9" - RUBY_PACKAGE_REVISION: "0" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_el-9_jemalloc" - ARTIFACT_PATH: output-jemalloc - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_3_9-malloctrim: - name: 'Ruby [el-9/3.3.9/malloctrim]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/malloctrim];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.3.9 - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - - name: Download Docker image necessary for building - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - ARTIFACT_NAME: 'docker-image-el-9' - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for building - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') - env: - TARBALL: image.tar.zst - - - name: Download Docker image necessary for packaging - run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - ARTIFACT_NAME: docker-image-utility - ARTIFACT_PATH: . - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Load Docker image necessary for packaging - run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') - env: - TARBALL: image.tar.zst - - - - - name: Build binaries - run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh - env: - ENVIRONMENT_NAME: "el-9" - VARIANT_NAME: "malloctrim" - RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/el-9" - - - name: Build package - run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh - env: - DISTRIBUTION_NAME: "el-9" - VARIANT_NAME: "malloctrim" - VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.3.9" - RUBY_PACKAGE_REVISION: "0" - - - name: Archive package artifact to Google Cloud - run: ./internal-scripts/ci-cd/upload-artifact.sh - env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_el-9_malloctrim" - ARTIFACT_PATH: output-malloctrim - CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_ruby_el_9-3_2_9-normal: - name: 'Ruby [el-9/3.2.9/normal]' - - runs-on: ubuntu-24.04 - environment: test - timeout-minutes: 30 - permissions: - id-token: write - packages: read - # Run even if a dependent job has been skipped - if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/normal];') - && !failure() && !cancelled() - steps: - - - - uses: actions/checkout@v4 - - uses: google-github-actions/auth@v2 - with: - project_id: ${{ vars.GCLOUD_PROJECT_ID }} - workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v2 - with: - version: '>= 363.0.0' - - name: Login to Github Container Registry - run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Dump Azure connection string - run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt - env: - CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} - - name: Fetch Ruby source - run: ./internal-scripts/ci-cd/download-artifact.sh - env: - ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_NAME: ruby-src-3.4.6 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -3718,32 +2554,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "normal" - RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/el-9" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.2.9" + RUBY_PACKAGE_VERSION_ID: "3.4.6" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_el-9_normal" + ARTIFACT_NAME: "ruby-pkg_3.4.6_el-10_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_2_9-jemalloc: - name: 'Ruby [el-9/3.2.9/jemalloc]' + build_ruby_el_10-3_4_6-jemalloc: + name: 'Ruby [el-10/3.4.6/jemalloc]' - needs: build_jemalloc_el_9 + needs: build_jemalloc_el_10 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3752,15 +2588,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4.6/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [el-9]' did not fail + - name: Check whether 'Build Jemalloc [el-10]' did not fail run: 'false' if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') + needs.build_jemalloc_el_10.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-10];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3782,20 +2618,20 @@ jobs: - name: Fetch Ruby source run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_NAME: ruby-src-3.4.6 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -3816,37 +2652,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-el-9 + ARTIFACT_NAME: jemalloc-bin-el-10 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "jemalloc" - RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/el-9" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.2.9" + RUBY_PACKAGE_VERSION_ID: "3.4.6" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_el-9_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.4.6_el-10_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_2_9-malloctrim: - name: 'Ruby [el-9/3.2.9/malloctrim]' + build_ruby_el_10-3_4_6-malloctrim: + name: 'Ruby [el-10/3.4.6/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3856,7 +2692,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4.6/malloctrim];') && !failure() && !cancelled() steps: @@ -3881,20 +2717,20 @@ jobs: - name: Fetch Ruby source run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_NAME: ruby-src-3.4.6 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -3916,30 +2752,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "malloctrim" - RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/el-9" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.2.9" + RUBY_PACKAGE_VERSION_ID: "3.4.6" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_el-9_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.4.6_el-10_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_1_7-normal: - name: 'Ruby [el-9/3.1.7/normal]' + build_ruby_el_10-3_3_9-normal: + name: 'Ruby [el-10/3.3.9/normal]' runs-on: ubuntu-24.04 environment: test @@ -3949,7 +2785,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3.9/normal];') && !failure() && !cancelled() steps: @@ -3974,20 +2810,20 @@ jobs: - name: Fetch Ruby source run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_NAME: ruby-src-3.3.9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -4009,32 +2845,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "normal" - RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/el-9" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.1.7" + RUBY_PACKAGE_VERSION_ID: "3.3.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_el-9_normal" + ARTIFACT_NAME: "ruby-pkg_3.3.9_el-10_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_1_7-jemalloc: - name: 'Ruby [el-9/3.1.7/jemalloc]' + build_ruby_el_10-3_3_9-jemalloc: + name: 'Ruby [el-10/3.3.9/jemalloc]' - needs: build_jemalloc_el_9 + needs: build_jemalloc_el_10 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4043,15 +2879,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3.9/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [el-9]' did not fail + - name: Check whether 'Build Jemalloc [el-10]' did not fail run: 'false' if: | - needs.build_jemalloc_el_9.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') + needs.build_jemalloc_el_10.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-10];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -4073,20 +2909,20 @@ jobs: - name: Fetch Ruby source run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_NAME: ruby-src-3.3.9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -4107,37 +2943,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-el-9 + ARTIFACT_NAME: jemalloc-bin-el-10 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "jemalloc" - RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/el-9" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.1.7" + RUBY_PACKAGE_VERSION_ID: "3.3.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_el-9_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.3.9_el-10_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_el_9-3_1_7-malloctrim: - name: 'Ruby [el-9/3.1.7/malloctrim]' + build_ruby_el_10-3_3_9-malloctrim: + name: 'Ruby [el-10/3.3.9/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -4147,7 +2983,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3.9/malloctrim];') && !failure() && !cancelled() steps: @@ -4172,20 +3008,20 @@ jobs: - name: Fetch Ruby source run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_NAME: ruby-src-3.3.9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: - ARTIFACT_NAME: 'docker-image-el-9' + ARTIFACT_NAME: 'docker-image-el-10' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-10;') env: TARBALL: image.tar.zst @@ -4207,25 +3043,25 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "el-9" + ENVIRONMENT_NAME: "el-10" VARIANT_NAME: "malloctrim" - RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/el-9" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + CACHE_KEY_PREFIX: "sccache/el-10" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "el-9" + DISTRIBUTION_NAME: "el-10" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "RPM" - RUBY_PACKAGE_VERSION_ID: "3.1.7" + RUBY_PACKAGE_VERSION_ID: "3.3.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_el-9_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.3.9_el-10_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4263,39 +3099,23 @@ jobs: - build_ruby_centos_8-3_2_9-jemalloc - build_ruby_centos_8-3_2_9-malloctrim - - build_jemalloc_el_9 + - build_jemalloc_el_10 - - build_ruby_el_9-3_4-normal - - build_ruby_el_9-3_4-jemalloc - - build_ruby_el_9-3_4-malloctrim + - build_ruby_el_10-3_4-normal + - build_ruby_el_10-3_4-jemalloc + - build_ruby_el_10-3_4-malloctrim - - build_ruby_el_9-3_3-normal - - build_ruby_el_9-3_3-jemalloc - - build_ruby_el_9-3_3-malloctrim + - build_ruby_el_10-3_3-normal + - build_ruby_el_10-3_3-jemalloc + - build_ruby_el_10-3_3-malloctrim - - build_ruby_el_9-3_2-normal - - build_ruby_el_9-3_2-jemalloc - - build_ruby_el_9-3_2-malloctrim + - build_ruby_el_10-3_4_6-normal + - build_ruby_el_10-3_4_6-jemalloc + - build_ruby_el_10-3_4_6-malloctrim - - build_ruby_el_9-3_1-normal - - build_ruby_el_9-3_1-jemalloc - - build_ruby_el_9-3_1-malloctrim - - - build_ruby_el_9-3_4_6-normal - - build_ruby_el_9-3_4_6-jemalloc - - build_ruby_el_9-3_4_6-malloctrim - - - build_ruby_el_9-3_3_9-normal - - build_ruby_el_9-3_3_9-jemalloc - - build_ruby_el_9-3_3_9-malloctrim - - - build_ruby_el_9-3_2_9-normal - - build_ruby_el_9-3_2_9-jemalloc - - build_ruby_el_9-3_2_9-malloctrim - - - build_ruby_el_9-3_1_7-normal - - build_ruby_el_9-3_1_7-jemalloc - - build_ruby_el_9-3_1_7-malloctrim + - build_ruby_el_10-3_3_9-normal + - build_ruby_el_10-3_3_9-jemalloc + - build_ruby_el_10-3_3_9-malloctrim runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4324,7 +3144,7 @@ jobs: env: ARTIFACT_NAMES: | jemalloc-bin-centos-8 - jemalloc-bin-el-9 + jemalloc-bin-el-10 ARTIFACT_PATH: artifacts CLEAR: true CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4334,17 +3154,17 @@ jobs: name: 'jemalloc-bin-centos-8' path: 'artifacts/jemalloc-bin-centos-8' compression-level: 0 - - name: Archive Jemalloc binary artifact [el-9] to Github + - name: Archive Jemalloc binary artifact [el-10] to Github uses: actions/upload-artifact@v4 with: - name: 'jemalloc-bin-el-9' - path: 'artifacts/jemalloc-bin-el-9' + name: 'jemalloc-bin-el-10' + path: 'artifacts/jemalloc-bin-el-10' compression-level: 0 - name: Download Ruby package artifacts from Google Cloud run: ./internal-scripts/ci-cd/download-artifacts.sh env: - ARTIFACT_NAMES: 'ruby-pkg_3.4_centos-8_normal ruby-pkg_3.4_centos-8_jemalloc ruby-pkg_3.4_centos-8_malloctrim ruby-pkg_3.3_centos-8_normal ruby-pkg_3.3_centos-8_jemalloc ruby-pkg_3.3_centos-8_malloctrim ruby-pkg_3.2_centos-8_normal ruby-pkg_3.2_centos-8_jemalloc ruby-pkg_3.2_centos-8_malloctrim ruby-pkg_3.4.6_centos-8_normal ruby-pkg_3.4.6_centos-8_jemalloc ruby-pkg_3.4.6_centos-8_malloctrim ruby-pkg_3.3.9_centos-8_normal ruby-pkg_3.3.9_centos-8_jemalloc ruby-pkg_3.3.9_centos-8_malloctrim ruby-pkg_3.2.9_centos-8_normal ruby-pkg_3.2.9_centos-8_jemalloc ruby-pkg_3.2.9_centos-8_malloctrim ruby-pkg_3.4_el-9_normal ruby-pkg_3.4_el-9_jemalloc ruby-pkg_3.4_el-9_malloctrim ruby-pkg_3.3_el-9_normal ruby-pkg_3.3_el-9_jemalloc ruby-pkg_3.3_el-9_malloctrim ruby-pkg_3.2_el-9_normal ruby-pkg_3.2_el-9_jemalloc ruby-pkg_3.2_el-9_malloctrim ruby-pkg_3.1_el-9_normal ruby-pkg_3.1_el-9_jemalloc ruby-pkg_3.1_el-9_malloctrim ruby-pkg_3.4.6_el-9_normal ruby-pkg_3.4.6_el-9_jemalloc ruby-pkg_3.4.6_el-9_malloctrim ruby-pkg_3.3.9_el-9_normal ruby-pkg_3.3.9_el-9_jemalloc ruby-pkg_3.3.9_el-9_malloctrim ruby-pkg_3.2.9_el-9_normal ruby-pkg_3.2.9_el-9_jemalloc ruby-pkg_3.2.9_el-9_malloctrim ruby-pkg_3.1.7_el-9_normal ruby-pkg_3.1.7_el-9_jemalloc ruby-pkg_3.1.7_el-9_malloctrim' + ARTIFACT_NAMES: 'ruby-pkg_3.4_centos-8_normal ruby-pkg_3.4_centos-8_jemalloc ruby-pkg_3.4_centos-8_malloctrim ruby-pkg_3.3_centos-8_normal ruby-pkg_3.3_centos-8_jemalloc ruby-pkg_3.3_centos-8_malloctrim ruby-pkg_3.2_centos-8_normal ruby-pkg_3.2_centos-8_jemalloc ruby-pkg_3.2_centos-8_malloctrim ruby-pkg_3.4.6_centos-8_normal ruby-pkg_3.4.6_centos-8_jemalloc ruby-pkg_3.4.6_centos-8_malloctrim ruby-pkg_3.3.9_centos-8_normal ruby-pkg_3.3.9_centos-8_jemalloc ruby-pkg_3.3.9_centos-8_malloctrim ruby-pkg_3.2.9_centos-8_normal ruby-pkg_3.2.9_centos-8_jemalloc ruby-pkg_3.2.9_centos-8_malloctrim ruby-pkg_3.4_el-10_normal ruby-pkg_3.4_el-10_jemalloc ruby-pkg_3.4_el-10_malloctrim ruby-pkg_3.3_el-10_normal ruby-pkg_3.3_el-10_jemalloc ruby-pkg_3.3_el-10_malloctrim ruby-pkg_3.4.6_el-10_normal ruby-pkg_3.4.6_el-10_jemalloc ruby-pkg_3.4.6_el-10_malloctrim ruby-pkg_3.3.9_el-10_normal ruby-pkg_3.3.9_el-10_jemalloc ruby-pkg_3.3.9_el-10_malloctrim' ARTIFACT_PATH: artifacts CLEAR: true CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4456,149 +3276,77 @@ jobs: name: ruby-pkg_3.2.9_centos-8_malloctrim path: artifacts/ruby-pkg_3.2.9_centos-8_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_el-9_normal] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.4_el-9_normal - path: artifacts/ruby-pkg_3.4_el-9_normal - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_el-9_jemalloc] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.4_el-9_jemalloc - path: artifacts/ruby-pkg_3.4_el-9_jemalloc - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_el-9_malloctrim] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.4_el-9_malloctrim - path: artifacts/ruby-pkg_3.4_el-9_malloctrim - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_el-9_normal] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.3_el-9_normal - path: artifacts/ruby-pkg_3.3_el-9_normal - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_el-9_jemalloc] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.3_el-9_jemalloc - path: artifacts/ruby-pkg_3.3_el-9_jemalloc - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_el-9_malloctrim] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.3_el-9_malloctrim - path: artifacts/ruby-pkg_3.3_el-9_malloctrim - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_el-9_normal] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.2_el-9_normal - path: artifacts/ruby-pkg_3.2_el-9_normal - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_el-9_jemalloc] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.2_el-9_jemalloc - path: artifacts/ruby-pkg_3.2_el-9_jemalloc - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_el-9_malloctrim] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.2_el-9_malloctrim - path: artifacts/ruby-pkg_3.2_el-9_malloctrim - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_el-9_normal] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.1_el-9_normal - path: artifacts/ruby-pkg_3.1_el-9_normal - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_el-9_jemalloc] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.1_el-9_jemalloc - path: artifacts/ruby-pkg_3.1_el-9_jemalloc - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_el-9_malloctrim] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.1_el-9_malloctrim - path: artifacts/ruby-pkg_3.1_el-9_malloctrim - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-9_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_el-10_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_el-9_normal - path: artifacts/ruby-pkg_3.4.6_el-9_normal + name: ruby-pkg_3.4_el-10_normal + path: artifacts/ruby-pkg_3.4_el-10_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-9_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_el-10_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_el-9_jemalloc - path: artifacts/ruby-pkg_3.4.6_el-9_jemalloc + name: ruby-pkg_3.4_el-10_jemalloc + path: artifacts/ruby-pkg_3.4_el-10_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-9_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_el-10_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_el-9_malloctrim - path: artifacts/ruby-pkg_3.4.6_el-9_malloctrim + name: ruby-pkg_3.4_el-10_malloctrim + path: artifacts/ruby-pkg_3.4_el-10_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-9_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_el-10_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_el-9_normal - path: artifacts/ruby-pkg_3.3.9_el-9_normal + name: ruby-pkg_3.3_el-10_normal + path: artifacts/ruby-pkg_3.3_el-10_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-9_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_el-10_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_el-9_jemalloc - path: artifacts/ruby-pkg_3.3.9_el-9_jemalloc + name: ruby-pkg_3.3_el-10_jemalloc + path: artifacts/ruby-pkg_3.3_el-10_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-9_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_el-10_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_el-9_malloctrim - path: artifacts/ruby-pkg_3.3.9_el-9_malloctrim + name: ruby-pkg_3.3_el-10_malloctrim + path: artifacts/ruby-pkg_3.3_el-10_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_el-9_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-10_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_el-9_normal - path: artifacts/ruby-pkg_3.2.9_el-9_normal + name: ruby-pkg_3.4.6_el-10_normal + path: artifacts/ruby-pkg_3.4.6_el-10_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_el-9_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-10_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_el-9_jemalloc - path: artifacts/ruby-pkg_3.2.9_el-9_jemalloc + name: ruby-pkg_3.4.6_el-10_jemalloc + path: artifacts/ruby-pkg_3.4.6_el-10_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_el-9_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-10_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_el-9_malloctrim - path: artifacts/ruby-pkg_3.2.9_el-9_malloctrim + name: ruby-pkg_3.4.6_el-10_malloctrim + path: artifacts/ruby-pkg_3.4.6_el-10_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_el-9_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-10_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_el-9_normal - path: artifacts/ruby-pkg_3.1.7_el-9_normal + name: ruby-pkg_3.3.9_el-10_normal + path: artifacts/ruby-pkg_3.3.9_el-10_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_el-9_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-10_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_el-9_jemalloc - path: artifacts/ruby-pkg_3.1.7_el-9_jemalloc + name: ruby-pkg_3.3.9_el-10_jemalloc + path: artifacts/ruby-pkg_3.3.9_el-10_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_el-9_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-10_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_el-9_malloctrim - path: artifacts/ruby-pkg_3.1.7_el-9_malloctrim + name: ruby-pkg_3.3.9_el-10_malloctrim + path: artifacts/ruby-pkg_3.3.9_el-10_malloctrim compression-level: 0 @@ -4611,9 +3359,9 @@ jobs: || (needs.build_jemalloc_centos_8.result != 'success' && (needs.build_jemalloc_centos_8.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Jemalloc [centos-8];'))) - || (needs.build_jemalloc_el_9.result != 'success' - && (needs.build_jemalloc_el_9.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];'))) + || (needs.build_jemalloc_el_10.result != 'success' + && (needs.build_jemalloc_el_10.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Jemalloc [el-10];'))) - name: Check whether 'Ruby [centos-8]' job did not fail run: 'false' if: | @@ -4672,79 +3420,43 @@ jobs: || (needs.build_ruby_centos_8-3_2_9-malloctrim.result != 'success' && (needs.build_ruby_centos_8-3_2_9-malloctrim.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Ruby [centos-8/3.2.9/malloctrim];'))) - - name: Check whether 'Ruby [el-9]' job did not fail + - name: Check whether 'Ruby [el-10]' job did not fail run: 'false' if: | false - || (needs.build_ruby_el_9-3_4-normal.result != 'success' - && (needs.build_ruby_el_9-3_4-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/normal];'))) - || (needs.build_ruby_el_9-3_4-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_4-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/jemalloc];'))) - || (needs.build_ruby_el_9-3_4-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_4-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/malloctrim];'))) - || (needs.build_ruby_el_9-3_3-normal.result != 'success' - && (needs.build_ruby_el_9-3_3-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/normal];'))) - || (needs.build_ruby_el_9-3_3-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_3-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/jemalloc];'))) - || (needs.build_ruby_el_9-3_3-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_3-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/malloctrim];'))) - || (needs.build_ruby_el_9-3_2-normal.result != 'success' - && (needs.build_ruby_el_9-3_2-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/normal];'))) - || (needs.build_ruby_el_9-3_2-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_2-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/jemalloc];'))) - || (needs.build_ruby_el_9-3_2-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_2-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/malloctrim];'))) - || (needs.build_ruby_el_9-3_1-normal.result != 'success' - && (needs.build_ruby_el_9-3_1-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/normal];'))) - || (needs.build_ruby_el_9-3_1-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_1-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/jemalloc];'))) - || (needs.build_ruby_el_9-3_1-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_1-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/malloctrim];'))) - || (needs.build_ruby_el_9-3_4_6-normal.result != 'success' - && (needs.build_ruby_el_9-3_4_6-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/normal];'))) - || (needs.build_ruby_el_9-3_4_6-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_4_6-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/jemalloc];'))) - || (needs.build_ruby_el_9-3_4_6-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_4_6-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/malloctrim];'))) - || (needs.build_ruby_el_9-3_3_9-normal.result != 'success' - && (needs.build_ruby_el_9-3_3_9-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/normal];'))) - || (needs.build_ruby_el_9-3_3_9-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_3_9-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/jemalloc];'))) - || (needs.build_ruby_el_9-3_3_9-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_3_9-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/malloctrim];'))) - || (needs.build_ruby_el_9-3_2_9-normal.result != 'success' - && (needs.build_ruby_el_9-3_2_9-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/normal];'))) - || (needs.build_ruby_el_9-3_2_9-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_2_9-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/jemalloc];'))) - || (needs.build_ruby_el_9-3_2_9-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_2_9-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/malloctrim];'))) - || (needs.build_ruby_el_9-3_1_7-normal.result != 'success' - && (needs.build_ruby_el_9-3_1_7-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/normal];'))) - || (needs.build_ruby_el_9-3_1_7-jemalloc.result != 'success' - && (needs.build_ruby_el_9-3_1_7-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/jemalloc];'))) - || (needs.build_ruby_el_9-3_1_7-malloctrim.result != 'success' - && (needs.build_ruby_el_9-3_1_7-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/malloctrim];'))) + || (needs.build_ruby_el_10-3_4-normal.result != 'success' + && (needs.build_ruby_el_10-3_4-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4/normal];'))) + || (needs.build_ruby_el_10-3_4-jemalloc.result != 'success' + && (needs.build_ruby_el_10-3_4-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4/jemalloc];'))) + || (needs.build_ruby_el_10-3_4-malloctrim.result != 'success' + && (needs.build_ruby_el_10-3_4-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4/malloctrim];'))) + || (needs.build_ruby_el_10-3_3-normal.result != 'success' + && (needs.build_ruby_el_10-3_3-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3/normal];'))) + || (needs.build_ruby_el_10-3_3-jemalloc.result != 'success' + && (needs.build_ruby_el_10-3_3-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3/jemalloc];'))) + || (needs.build_ruby_el_10-3_3-malloctrim.result != 'success' + && (needs.build_ruby_el_10-3_3-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3/malloctrim];'))) + || (needs.build_ruby_el_10-3_4_6-normal.result != 'success' + && (needs.build_ruby_el_10-3_4_6-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4.6/normal];'))) + || (needs.build_ruby_el_10-3_4_6-jemalloc.result != 'success' + && (needs.build_ruby_el_10-3_4_6-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4.6/jemalloc];'))) + || (needs.build_ruby_el_10-3_4_6-malloctrim.result != 'success' + && (needs.build_ruby_el_10-3_4_6-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.4.6/malloctrim];'))) + || (needs.build_ruby_el_10-3_3_9-normal.result != 'success' + && (needs.build_ruby_el_10-3_3_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3.9/normal];'))) + || (needs.build_ruby_el_10-3_3_9-jemalloc.result != 'success' + && (needs.build_ruby_el_10-3_3_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3.9/jemalloc];'))) + || (needs.build_ruby_el_10-3_3_9-malloctrim.result != 'success' + && (needs.build_ruby_el_10-3_3_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-10/3.3.9/malloctrim];'))) diff --git a/.github/workflows/ci-cd-build-packages-2.yml b/.github/workflows/ci-cd-build-packages-2.yml index ab731bb..e1b735d 100644 --- a/.github/workflows/ci-cd-build-packages-2.yml +++ b/.github/workflows/ci-cd-build-packages-2.yml @@ -89,9 +89,9 @@ jobs: ARTIFACT_NAME: 'jemalloc-bin-debian-11' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_jemalloc_ubuntu_22_04: - name: 'Jemalloc [ubuntu-22.04]' - if: contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + build_jemalloc_el_9: + name: 'Jemalloc [el-9]' + if: contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') runs-on: ubuntu-24.04 environment: test permissions: @@ -118,14 +118,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -139,13 +139,13 @@ jobs: - name: Build run: ./internal-scripts/ci-cd/build-jemalloc-binaries/build.sh env: - ENVIRONMENT_NAME: 'ubuntu-22.04' - CACHE_KEY_PREFIX: 'sccache/ubuntu-22.04' + ENVIRONMENT_NAME: 'el-9' + CACHE_KEY_PREFIX: 'sccache/el-9' - name: Archive artifact run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: 'jemalloc-bin-ubuntu-22.04' + ARTIFACT_NAME: 'jemalloc-bin-el-9' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -2483,8 +2483,8 @@ jobs: CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_4-normal: - name: 'Ruby [ubuntu-22.04/3.4/normal]' + build_ruby_el_9-3_4-normal: + name: 'Ruby [el-9/3.4/normal]' runs-on: ubuntu-24.04 environment: test @@ -2494,7 +2494,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/normal];') && !failure() && !cancelled() steps: @@ -2525,14 +2525,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -2554,32 +2554,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.4" RUBY_PACKAGE_REVISION: "5" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.4_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_4-jemalloc: - name: 'Ruby [ubuntu-22.04/3.4/jemalloc]' + build_ruby_el_9-3_4-jemalloc: + name: 'Ruby [el-9/3.4/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2588,15 +2588,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2624,14 +2624,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -2652,37 +2652,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.4" RUBY_PACKAGE_REVISION: "5" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.4_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_4-malloctrim: - name: 'Ruby [ubuntu-22.04/3.4/malloctrim]' + build_ruby_el_9-3_4-malloctrim: + name: 'Ruby [el-9/3.4/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2692,7 +2692,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/malloctrim];') && !failure() && !cancelled() steps: @@ -2723,14 +2723,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -2752,30 +2752,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.4" RUBY_PACKAGE_REVISION: "5" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.4_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_3-normal: - name: 'Ruby [ubuntu-22.04/3.3/normal]' + build_ruby_el_9-3_3-normal: + name: 'Ruby [el-9/3.3/normal]' runs-on: ubuntu-24.04 environment: test @@ -2785,7 +2785,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/normal];') && !failure() && !cancelled() steps: @@ -2816,14 +2816,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -2845,32 +2845,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.3" RUBY_PACKAGE_REVISION: "9" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.3_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_3-jemalloc: - name: 'Ruby [ubuntu-22.04/3.3/jemalloc]' + build_ruby_el_9-3_3-jemalloc: + name: 'Ruby [el-9/3.3/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2879,15 +2879,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2915,14 +2915,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -2943,37 +2943,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.3" RUBY_PACKAGE_REVISION: "9" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.3_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_3-malloctrim: - name: 'Ruby [ubuntu-22.04/3.3/malloctrim]' + build_ruby_el_9-3_3-malloctrim: + name: 'Ruby [el-9/3.3/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2983,7 +2983,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/malloctrim];') && !failure() && !cancelled() steps: @@ -3014,14 +3014,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3043,30 +3043,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.3" RUBY_PACKAGE_REVISION: "9" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.3_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_2-normal: - name: 'Ruby [ubuntu-22.04/3.2/normal]' + build_ruby_el_9-3_2-normal: + name: 'Ruby [el-9/3.2/normal]' runs-on: ubuntu-24.04 environment: test @@ -3076,7 +3076,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/normal];') && !failure() && !cancelled() steps: @@ -3107,14 +3107,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3136,32 +3136,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.2" RUBY_PACKAGE_REVISION: "12" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.2_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_2-jemalloc: - name: 'Ruby [ubuntu-22.04/3.2/jemalloc]' + build_ruby_el_9-3_2-jemalloc: + name: 'Ruby [el-9/3.2/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3170,15 +3170,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3206,14 +3206,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3234,37 +3234,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.2" RUBY_PACKAGE_REVISION: "12" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.2_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_2-malloctrim: - name: 'Ruby [ubuntu-22.04/3.2/malloctrim]' + build_ruby_el_9-3_2-malloctrim: + name: 'Ruby [el-9/3.2/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3274,7 +3274,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/malloctrim];') && !failure() && !cancelled() steps: @@ -3305,14 +3305,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3334,30 +3334,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.2" RUBY_PACKAGE_REVISION: "12" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.2_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_1-normal: - name: 'Ruby [ubuntu-22.04/3.1/normal]' + build_ruby_el_9-3_1-normal: + name: 'Ruby [el-9/3.1/normal]' runs-on: ubuntu-24.04 environment: test @@ -3367,7 +3367,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/normal];') && !failure() && !cancelled() steps: @@ -3398,14 +3398,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3427,32 +3427,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.1" RUBY_PACKAGE_REVISION: "16" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.1_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_1-jemalloc: - name: 'Ruby [ubuntu-22.04/3.1/jemalloc]' + build_ruby_el_9-3_1-jemalloc: + name: 'Ruby [el-9/3.1/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3461,15 +3461,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3497,14 +3497,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3525,37 +3525,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.1" RUBY_PACKAGE_REVISION: "16" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.1_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_1-malloctrim: - name: 'Ruby [ubuntu-22.04/3.1/malloctrim]' + build_ruby_el_9-3_1-malloctrim: + name: 'Ruby [el-9/3.1/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3565,7 +3565,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/malloctrim];') && !failure() && !cancelled() steps: @@ -3596,14 +3596,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3625,30 +3625,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.1" RUBY_PACKAGE_REVISION: "16" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.1_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_4_6-normal: - name: 'Ruby [ubuntu-22.04/3.4.6/normal]' + build_ruby_el_9-3_4_6-normal: + name: 'Ruby [el-9/3.4.6/normal]' runs-on: ubuntu-24.04 environment: test @@ -3658,7 +3658,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/normal];') && !failure() && !cancelled() steps: @@ -3689,14 +3689,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3718,32 +3718,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.4.6" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.4.6_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_4_6-jemalloc: - name: 'Ruby [ubuntu-22.04/3.4.6/jemalloc]' + build_ruby_el_9-3_4_6-jemalloc: + name: 'Ruby [el-9/3.4.6/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3752,15 +3752,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3788,14 +3788,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3816,37 +3816,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.4.6" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.4.6_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_4_6-malloctrim: - name: 'Ruby [ubuntu-22.04/3.4.6/malloctrim]' + build_ruby_el_9-3_4_6-malloctrim: + name: 'Ruby [el-9/3.4.6/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3856,7 +3856,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/malloctrim];') && !failure() && !cancelled() steps: @@ -3887,14 +3887,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -3916,30 +3916,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.4.6" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.4.6_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_3_9-normal: - name: 'Ruby [ubuntu-22.04/3.3.9/normal]' + build_ruby_el_9-3_3_9-normal: + name: 'Ruby [el-9/3.3.9/normal]' runs-on: ubuntu-24.04 environment: test @@ -3949,7 +3949,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/normal];') && !failure() && !cancelled() steps: @@ -3980,14 +3980,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4009,32 +4009,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.3.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.3.9_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_3_9-jemalloc: - name: 'Ruby [ubuntu-22.04/3.3.9/jemalloc]' + build_ruby_el_9-3_3_9-jemalloc: + name: 'Ruby [el-9/3.3.9/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4043,15 +4043,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -4079,14 +4079,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4107,37 +4107,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.3.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.3.9_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_3_9-malloctrim: - name: 'Ruby [ubuntu-22.04/3.3.9/malloctrim]' + build_ruby_el_9-3_3_9-malloctrim: + name: 'Ruby [el-9/3.3.9/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -4147,7 +4147,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/malloctrim];') && !failure() && !cancelled() steps: @@ -4178,14 +4178,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4207,30 +4207,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.3.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.3.9_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_2_9-normal: - name: 'Ruby [ubuntu-22.04/3.2.9/normal]' + build_ruby_el_9-3_2_9-normal: + name: 'Ruby [el-9/3.2.9/normal]' runs-on: ubuntu-24.04 environment: test @@ -4240,7 +4240,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/normal];') && !failure() && !cancelled() steps: @@ -4271,14 +4271,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4300,32 +4300,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.2.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.2.9_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_2_9-jemalloc: - name: 'Ruby [ubuntu-22.04/3.2.9/jemalloc]' + build_ruby_el_9-3_2_9-jemalloc: + name: 'Ruby [el-9/3.2.9/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4334,15 +4334,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -4370,14 +4370,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4398,37 +4398,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.2.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.2.9_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_2_9-malloctrim: - name: 'Ruby [ubuntu-22.04/3.2.9/malloctrim]' + build_ruby_el_9-3_2_9-malloctrim: + name: 'Ruby [el-9/3.2.9/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -4438,7 +4438,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/malloctrim];') && !failure() && !cancelled() steps: @@ -4469,14 +4469,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4498,30 +4498,30 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.2.9" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.2.9_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_1_7-normal: - name: 'Ruby [ubuntu-22.04/3.1.7/normal]' + build_ruby_el_9-3_1_7-normal: + name: 'Ruby [el-9/3.1.7/normal]' runs-on: ubuntu-24.04 environment: test @@ -4531,7 +4531,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/normal];') && !failure() && !cancelled() steps: @@ -4562,14 +4562,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4591,32 +4591,32 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.1.7" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-22.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.1.7_el-9_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_1_7-jemalloc: - name: 'Ruby [ubuntu-22.04/3.1.7/jemalloc]' + build_ruby_el_9-3_1_7-jemalloc: + name: 'Ruby [el-9/3.1.7/jemalloc]' - needs: build_jemalloc_ubuntu_22_04 + needs: build_jemalloc_el_9 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4625,15 +4625,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail + - name: Check whether 'Build Jemalloc [el-9]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_22_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') + needs.build_jemalloc_el_9.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -4661,14 +4661,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4689,37 +4689,37 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 + ARTIFACT_NAME: jemalloc-bin-el-9 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.1.7" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-22.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.1.7_el-9_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_22_04-3_1_7-malloctrim: - name: 'Ruby [ubuntu-22.04/3.1.7/malloctrim]' + build_ruby_el_9-3_1_7-malloctrim: + name: 'Ruby [el-9/3.1.7/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -4729,7 +4729,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/malloctrim];') && !failure() && !cancelled() steps: @@ -4760,14 +4760,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-22.04' + ARTIFACT_NAME: 'docker-image-el-9' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image el-9;') env: TARBALL: image.tar.zst @@ -4789,25 +4789,25 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-22.04" + ENVIRONMENT_NAME: "el-9" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" + CACHE_KEY_PREFIX: "sccache/el-9" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-22.04" + DISTRIBUTION_NAME: "el-9" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" - PACKAGE_FORMAT: "DEB" + PACKAGE_FORMAT: "RPM" RUBY_PACKAGE_VERSION_ID: "3.1.7" RUBY_PACKAGE_REVISION: "0" - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-22.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.1.7_el-9_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4853,39 +4853,39 @@ jobs: - build_ruby_debian_11-3_1_7-jemalloc - build_ruby_debian_11-3_1_7-malloctrim - - build_jemalloc_ubuntu_22_04 + - build_jemalloc_el_9 - - build_ruby_ubuntu_22_04-3_4-normal - - build_ruby_ubuntu_22_04-3_4-jemalloc - - build_ruby_ubuntu_22_04-3_4-malloctrim + - build_ruby_el_9-3_4-normal + - build_ruby_el_9-3_4-jemalloc + - build_ruby_el_9-3_4-malloctrim - - build_ruby_ubuntu_22_04-3_3-normal - - build_ruby_ubuntu_22_04-3_3-jemalloc - - build_ruby_ubuntu_22_04-3_3-malloctrim + - build_ruby_el_9-3_3-normal + - build_ruby_el_9-3_3-jemalloc + - build_ruby_el_9-3_3-malloctrim - - build_ruby_ubuntu_22_04-3_2-normal - - build_ruby_ubuntu_22_04-3_2-jemalloc - - build_ruby_ubuntu_22_04-3_2-malloctrim + - build_ruby_el_9-3_2-normal + - build_ruby_el_9-3_2-jemalloc + - build_ruby_el_9-3_2-malloctrim - - build_ruby_ubuntu_22_04-3_1-normal - - build_ruby_ubuntu_22_04-3_1-jemalloc - - build_ruby_ubuntu_22_04-3_1-malloctrim + - build_ruby_el_9-3_1-normal + - build_ruby_el_9-3_1-jemalloc + - build_ruby_el_9-3_1-malloctrim - - build_ruby_ubuntu_22_04-3_4_6-normal - - build_ruby_ubuntu_22_04-3_4_6-jemalloc - - build_ruby_ubuntu_22_04-3_4_6-malloctrim + - build_ruby_el_9-3_4_6-normal + - build_ruby_el_9-3_4_6-jemalloc + - build_ruby_el_9-3_4_6-malloctrim - - build_ruby_ubuntu_22_04-3_3_9-normal - - build_ruby_ubuntu_22_04-3_3_9-jemalloc - - build_ruby_ubuntu_22_04-3_3_9-malloctrim + - build_ruby_el_9-3_3_9-normal + - build_ruby_el_9-3_3_9-jemalloc + - build_ruby_el_9-3_3_9-malloctrim - - build_ruby_ubuntu_22_04-3_2_9-normal - - build_ruby_ubuntu_22_04-3_2_9-jemalloc - - build_ruby_ubuntu_22_04-3_2_9-malloctrim + - build_ruby_el_9-3_2_9-normal + - build_ruby_el_9-3_2_9-jemalloc + - build_ruby_el_9-3_2_9-malloctrim - - build_ruby_ubuntu_22_04-3_1_7-normal - - build_ruby_ubuntu_22_04-3_1_7-jemalloc - - build_ruby_ubuntu_22_04-3_1_7-malloctrim + - build_ruby_el_9-3_1_7-normal + - build_ruby_el_9-3_1_7-jemalloc + - build_ruby_el_9-3_1_7-malloctrim runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4914,7 +4914,7 @@ jobs: env: ARTIFACT_NAMES: | jemalloc-bin-debian-11 - jemalloc-bin-ubuntu-22.04 + jemalloc-bin-el-9 ARTIFACT_PATH: artifacts CLEAR: true CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4924,17 +4924,17 @@ jobs: name: 'jemalloc-bin-debian-11' path: 'artifacts/jemalloc-bin-debian-11' compression-level: 0 - - name: Archive Jemalloc binary artifact [ubuntu-22.04] to Github + - name: Archive Jemalloc binary artifact [el-9] to Github uses: actions/upload-artifact@v4 with: - name: 'jemalloc-bin-ubuntu-22.04' - path: 'artifacts/jemalloc-bin-ubuntu-22.04' + name: 'jemalloc-bin-el-9' + path: 'artifacts/jemalloc-bin-el-9' compression-level: 0 - name: Download Ruby package artifacts from Google Cloud run: ./internal-scripts/ci-cd/download-artifacts.sh env: - ARTIFACT_NAMES: 'ruby-pkg_3.4_debian-11_normal ruby-pkg_3.4_debian-11_jemalloc ruby-pkg_3.4_debian-11_malloctrim ruby-pkg_3.3_debian-11_normal ruby-pkg_3.3_debian-11_jemalloc ruby-pkg_3.3_debian-11_malloctrim ruby-pkg_3.2_debian-11_normal ruby-pkg_3.2_debian-11_jemalloc ruby-pkg_3.2_debian-11_malloctrim ruby-pkg_3.1_debian-11_normal ruby-pkg_3.1_debian-11_jemalloc ruby-pkg_3.1_debian-11_malloctrim ruby-pkg_3.4.6_debian-11_normal ruby-pkg_3.4.6_debian-11_jemalloc ruby-pkg_3.4.6_debian-11_malloctrim ruby-pkg_3.3.9_debian-11_normal ruby-pkg_3.3.9_debian-11_jemalloc ruby-pkg_3.3.9_debian-11_malloctrim ruby-pkg_3.2.9_debian-11_normal ruby-pkg_3.2.9_debian-11_jemalloc ruby-pkg_3.2.9_debian-11_malloctrim ruby-pkg_3.1.7_debian-11_normal ruby-pkg_3.1.7_debian-11_jemalloc ruby-pkg_3.1.7_debian-11_malloctrim ruby-pkg_3.4_ubuntu-22.04_normal ruby-pkg_3.4_ubuntu-22.04_jemalloc ruby-pkg_3.4_ubuntu-22.04_malloctrim ruby-pkg_3.3_ubuntu-22.04_normal ruby-pkg_3.3_ubuntu-22.04_jemalloc ruby-pkg_3.3_ubuntu-22.04_malloctrim ruby-pkg_3.2_ubuntu-22.04_normal ruby-pkg_3.2_ubuntu-22.04_jemalloc ruby-pkg_3.2_ubuntu-22.04_malloctrim ruby-pkg_3.1_ubuntu-22.04_normal ruby-pkg_3.1_ubuntu-22.04_jemalloc ruby-pkg_3.1_ubuntu-22.04_malloctrim ruby-pkg_3.4.6_ubuntu-22.04_normal ruby-pkg_3.4.6_ubuntu-22.04_jemalloc ruby-pkg_3.4.6_ubuntu-22.04_malloctrim ruby-pkg_3.3.9_ubuntu-22.04_normal ruby-pkg_3.3.9_ubuntu-22.04_jemalloc ruby-pkg_3.3.9_ubuntu-22.04_malloctrim ruby-pkg_3.2.9_ubuntu-22.04_normal ruby-pkg_3.2.9_ubuntu-22.04_jemalloc ruby-pkg_3.2.9_ubuntu-22.04_malloctrim ruby-pkg_3.1.7_ubuntu-22.04_normal ruby-pkg_3.1.7_ubuntu-22.04_jemalloc ruby-pkg_3.1.7_ubuntu-22.04_malloctrim' + ARTIFACT_NAMES: 'ruby-pkg_3.4_debian-11_normal ruby-pkg_3.4_debian-11_jemalloc ruby-pkg_3.4_debian-11_malloctrim ruby-pkg_3.3_debian-11_normal ruby-pkg_3.3_debian-11_jemalloc ruby-pkg_3.3_debian-11_malloctrim ruby-pkg_3.2_debian-11_normal ruby-pkg_3.2_debian-11_jemalloc ruby-pkg_3.2_debian-11_malloctrim ruby-pkg_3.1_debian-11_normal ruby-pkg_3.1_debian-11_jemalloc ruby-pkg_3.1_debian-11_malloctrim ruby-pkg_3.4.6_debian-11_normal ruby-pkg_3.4.6_debian-11_jemalloc ruby-pkg_3.4.6_debian-11_malloctrim ruby-pkg_3.3.9_debian-11_normal ruby-pkg_3.3.9_debian-11_jemalloc ruby-pkg_3.3.9_debian-11_malloctrim ruby-pkg_3.2.9_debian-11_normal ruby-pkg_3.2.9_debian-11_jemalloc ruby-pkg_3.2.9_debian-11_malloctrim ruby-pkg_3.1.7_debian-11_normal ruby-pkg_3.1.7_debian-11_jemalloc ruby-pkg_3.1.7_debian-11_malloctrim ruby-pkg_3.4_el-9_normal ruby-pkg_3.4_el-9_jemalloc ruby-pkg_3.4_el-9_malloctrim ruby-pkg_3.3_el-9_normal ruby-pkg_3.3_el-9_jemalloc ruby-pkg_3.3_el-9_malloctrim ruby-pkg_3.2_el-9_normal ruby-pkg_3.2_el-9_jemalloc ruby-pkg_3.2_el-9_malloctrim ruby-pkg_3.1_el-9_normal ruby-pkg_3.1_el-9_jemalloc ruby-pkg_3.1_el-9_malloctrim ruby-pkg_3.4.6_el-9_normal ruby-pkg_3.4.6_el-9_jemalloc ruby-pkg_3.4.6_el-9_malloctrim ruby-pkg_3.3.9_el-9_normal ruby-pkg_3.3.9_el-9_jemalloc ruby-pkg_3.3.9_el-9_malloctrim ruby-pkg_3.2.9_el-9_normal ruby-pkg_3.2.9_el-9_jemalloc ruby-pkg_3.2.9_el-9_malloctrim ruby-pkg_3.1.7_el-9_normal ruby-pkg_3.1.7_el-9_jemalloc ruby-pkg_3.1.7_el-9_malloctrim' ARTIFACT_PATH: artifacts CLEAR: true CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -5082,149 +5082,149 @@ jobs: name: ruby-pkg_3.1.7_debian-11_malloctrim path: artifacts/ruby-pkg_3.1.7_debian-11_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.4_ubuntu-22.04_normal + name: ruby-pkg_3.4_el-9_normal + path: artifacts/ruby-pkg_3.4_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.4_ubuntu-22.04_jemalloc + name: ruby-pkg_3.4_el-9_jemalloc + path: artifacts/ruby-pkg_3.4_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.4_ubuntu-22.04_malloctrim + name: ruby-pkg_3.4_el-9_malloctrim + path: artifacts/ruby-pkg_3.4_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.3_ubuntu-22.04_normal + name: ruby-pkg_3.3_el-9_normal + path: artifacts/ruby-pkg_3.3_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.3_ubuntu-22.04_jemalloc + name: ruby-pkg_3.3_el-9_jemalloc + path: artifacts/ruby-pkg_3.3_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.3_ubuntu-22.04_malloctrim + name: ruby-pkg_3.3_el-9_malloctrim + path: artifacts/ruby-pkg_3.3_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.2_ubuntu-22.04_normal + name: ruby-pkg_3.2_el-9_normal + path: artifacts/ruby-pkg_3.2_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.2_ubuntu-22.04_jemalloc + name: ruby-pkg_3.2_el-9_jemalloc + path: artifacts/ruby-pkg_3.2_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.2_ubuntu-22.04_malloctrim + name: ruby-pkg_3.2_el-9_malloctrim + path: artifacts/ruby-pkg_3.2_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.1_ubuntu-22.04_normal + name: ruby-pkg_3.1_el-9_normal + path: artifacts/ruby-pkg_3.1_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.1_ubuntu-22.04_jemalloc + name: ruby-pkg_3.1_el-9_jemalloc + path: artifacts/ruby-pkg_3.1_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.1_ubuntu-22.04_malloctrim + name: ruby-pkg_3.1_el-9_malloctrim + path: artifacts/ruby-pkg_3.1_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.4.6_ubuntu-22.04_normal + name: ruby-pkg_3.4.6_el-9_normal + path: artifacts/ruby-pkg_3.4.6_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.4.6_ubuntu-22.04_jemalloc + name: ruby-pkg_3.4.6_el-9_jemalloc + path: artifacts/ruby-pkg_3.4.6_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.4.6_ubuntu-22.04_malloctrim + name: ruby-pkg_3.4.6_el-9_malloctrim + path: artifacts/ruby-pkg_3.4.6_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.3.9_ubuntu-22.04_normal + name: ruby-pkg_3.3.9_el-9_normal + path: artifacts/ruby-pkg_3.3.9_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.3.9_ubuntu-22.04_jemalloc + name: ruby-pkg_3.3.9_el-9_jemalloc + path: artifacts/ruby-pkg_3.3.9_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.3.9_ubuntu-22.04_malloctrim + name: ruby-pkg_3.3.9_el-9_malloctrim + path: artifacts/ruby-pkg_3.3.9_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.2.9_ubuntu-22.04_normal + name: ruby-pkg_3.2.9_el-9_normal + path: artifacts/ruby-pkg_3.2.9_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.2.9_ubuntu-22.04_jemalloc + name: ruby-pkg_3.2.9_el-9_jemalloc + path: artifacts/ruby-pkg_3.2.9_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.2.9_ubuntu-22.04_malloctrim + name: ruby-pkg_3.2.9_el-9_malloctrim + path: artifacts/ruby-pkg_3.2.9_el-9_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-22.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_el-9_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_ubuntu-22.04_normal - path: artifacts/ruby-pkg_3.1.7_ubuntu-22.04_normal + name: ruby-pkg_3.1.7_el-9_normal + path: artifacts/ruby-pkg_3.1.7_el-9_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-22.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_el-9_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_ubuntu-22.04_jemalloc - path: artifacts/ruby-pkg_3.1.7_ubuntu-22.04_jemalloc + name: ruby-pkg_3.1.7_el-9_jemalloc + path: artifacts/ruby-pkg_3.1.7_el-9_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-22.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_el-9_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_ubuntu-22.04_malloctrim - path: artifacts/ruby-pkg_3.1.7_ubuntu-22.04_malloctrim + name: ruby-pkg_3.1.7_el-9_malloctrim + path: artifacts/ruby-pkg_3.1.7_el-9_malloctrim compression-level: 0 @@ -5237,9 +5237,9 @@ jobs: || (needs.build_jemalloc_debian_11.result != 'success' && (needs.build_jemalloc_debian_11.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Jemalloc [debian-11];'))) - || (needs.build_jemalloc_ubuntu_22_04.result != 'success' - && (needs.build_jemalloc_ubuntu_22_04.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];'))) + || (needs.build_jemalloc_el_9.result != 'success' + && (needs.build_jemalloc_el_9.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Jemalloc [el-9];'))) - name: Check whether 'Ruby [debian-11]' job did not fail run: 'false' if: | @@ -5316,79 +5316,79 @@ jobs: || (needs.build_ruby_debian_11-3_1_7-malloctrim.result != 'success' && (needs.build_ruby_debian_11-3_1_7-malloctrim.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Ruby [debian-11/3.1.7/malloctrim];'))) - - name: Check whether 'Ruby [ubuntu-22.04]' job did not fail + - name: Check whether 'Ruby [el-9]' job did not fail run: 'false' if: | false - || (needs.build_ruby_ubuntu_22_04-3_4-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_4-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_4-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_4-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_4-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_4-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_3-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_3-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_3-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_3-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_3-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_3-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_2-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_2-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_2-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_2-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_2-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_2-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_1-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_1-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_1-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_1-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_1-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_1-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_4_6-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_4_6-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_4_6-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_4_6-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_4_6-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_4_6-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_3_9-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_3_9-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_3_9-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_3_9-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_3_9-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_3_9-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_2_9-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_2_9-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_2_9-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_2_9-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_2_9-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_2_9-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/malloctrim];'))) - || (needs.build_ruby_ubuntu_22_04-3_1_7-normal.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_1_7-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/normal];'))) - || (needs.build_ruby_ubuntu_22_04-3_1_7-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_1_7-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/jemalloc];'))) - || (needs.build_ruby_ubuntu_22_04-3_1_7-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_22_04-3_1_7-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/malloctrim];'))) + || (needs.build_ruby_el_9-3_4-normal.result != 'success' + && (needs.build_ruby_el_9-3_4-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/normal];'))) + || (needs.build_ruby_el_9-3_4-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_4-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/jemalloc];'))) + || (needs.build_ruby_el_9-3_4-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_4-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4/malloctrim];'))) + || (needs.build_ruby_el_9-3_3-normal.result != 'success' + && (needs.build_ruby_el_9-3_3-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/normal];'))) + || (needs.build_ruby_el_9-3_3-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_3-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/jemalloc];'))) + || (needs.build_ruby_el_9-3_3-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_3-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3/malloctrim];'))) + || (needs.build_ruby_el_9-3_2-normal.result != 'success' + && (needs.build_ruby_el_9-3_2-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/normal];'))) + || (needs.build_ruby_el_9-3_2-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_2-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/jemalloc];'))) + || (needs.build_ruby_el_9-3_2-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_2-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2/malloctrim];'))) + || (needs.build_ruby_el_9-3_1-normal.result != 'success' + && (needs.build_ruby_el_9-3_1-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/normal];'))) + || (needs.build_ruby_el_9-3_1-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_1-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/jemalloc];'))) + || (needs.build_ruby_el_9-3_1-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_1-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1/malloctrim];'))) + || (needs.build_ruby_el_9-3_4_6-normal.result != 'success' + && (needs.build_ruby_el_9-3_4_6-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/normal];'))) + || (needs.build_ruby_el_9-3_4_6-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_4_6-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/jemalloc];'))) + || (needs.build_ruby_el_9-3_4_6-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_4_6-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.4.6/malloctrim];'))) + || (needs.build_ruby_el_9-3_3_9-normal.result != 'success' + && (needs.build_ruby_el_9-3_3_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/normal];'))) + || (needs.build_ruby_el_9-3_3_9-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_3_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/jemalloc];'))) + || (needs.build_ruby_el_9-3_3_9-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_3_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.3.9/malloctrim];'))) + || (needs.build_ruby_el_9-3_2_9-normal.result != 'success' + && (needs.build_ruby_el_9-3_2_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/normal];'))) + || (needs.build_ruby_el_9-3_2_9-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_2_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/jemalloc];'))) + || (needs.build_ruby_el_9-3_2_9-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_2_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.2.9/malloctrim];'))) + || (needs.build_ruby_el_9-3_1_7-normal.result != 'success' + && (needs.build_ruby_el_9-3_1_7-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/normal];'))) + || (needs.build_ruby_el_9-3_1_7-jemalloc.result != 'success' + && (needs.build_ruby_el_9-3_1_7-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/jemalloc];'))) + || (needs.build_ruby_el_9-3_1_7-malloctrim.result != 'success' + && (needs.build_ruby_el_9-3_1_7-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [el-9/3.1.7/malloctrim];'))) diff --git a/.github/workflows/ci-cd-build-packages-3.yml b/.github/workflows/ci-cd-build-packages-3.yml index 615d61f..5a44d15 100644 --- a/.github/workflows/ci-cd-build-packages-3.yml +++ b/.github/workflows/ci-cd-build-packages-3.yml @@ -89,9 +89,9 @@ jobs: ARTIFACT_NAME: 'jemalloc-bin-debian-12' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_jemalloc_ubuntu_24_04: - name: 'Jemalloc [ubuntu-24.04]' - if: contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + build_jemalloc_ubuntu_22_04: + name: 'Jemalloc [ubuntu-22.04]' + if: contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') runs-on: ubuntu-24.04 environment: test permissions: @@ -118,14 +118,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -139,13 +139,13 @@ jobs: - name: Build run: ./internal-scripts/ci-cd/build-jemalloc-binaries/build.sh env: - ENVIRONMENT_NAME: 'ubuntu-24.04' - CACHE_KEY_PREFIX: 'sccache/ubuntu-24.04' + ENVIRONMENT_NAME: 'ubuntu-22.04' + CACHE_KEY_PREFIX: 'sccache/ubuntu-22.04' - name: Archive artifact run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: 'jemalloc-bin-ubuntu-24.04' + ARTIFACT_NAME: 'jemalloc-bin-ubuntu-22.04' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -1901,8 +1901,8 @@ jobs: CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_4-normal: - name: 'Ruby [ubuntu-24.04/3.4/normal]' + build_ruby_ubuntu_22_04-3_4-normal: + name: 'Ruby [ubuntu-22.04/3.4/normal]' runs-on: ubuntu-24.04 environment: test @@ -1912,7 +1912,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/normal];') && !failure() && !cancelled() steps: @@ -1943,14 +1943,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -1972,15 +1972,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -1990,14 +1990,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_4-jemalloc: - name: 'Ruby [ubuntu-24.04/3.4/jemalloc]' + build_ruby_ubuntu_22_04-3_4-jemalloc: + name: 'Ruby [ubuntu-22.04/3.4/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2006,15 +2006,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2042,14 +2042,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2070,22 +2070,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -2095,12 +2095,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_4-malloctrim: - name: 'Ruby [ubuntu-24.04/3.4/malloctrim]' + build_ruby_ubuntu_22_04-3_4-malloctrim: + name: 'Ruby [ubuntu-22.04/3.4/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2110,7 +2110,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/malloctrim];') && !failure() && !cancelled() steps: @@ -2141,14 +2141,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2170,15 +2170,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.4" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -2188,12 +2188,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_3-normal: - name: 'Ruby [ubuntu-24.04/3.3/normal]' + build_ruby_ubuntu_22_04-3_3-normal: + name: 'Ruby [ubuntu-22.04/3.3/normal]' runs-on: ubuntu-24.04 environment: test @@ -2203,7 +2203,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/normal];') && !failure() && !cancelled() steps: @@ -2234,14 +2234,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2263,15 +2263,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -2281,14 +2281,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_3-jemalloc: - name: 'Ruby [ubuntu-24.04/3.3/jemalloc]' + build_ruby_ubuntu_22_04-3_3-jemalloc: + name: 'Ruby [ubuntu-22.04/3.3/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2297,15 +2297,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2333,14 +2333,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2361,22 +2361,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -2386,12 +2386,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_3-malloctrim: - name: 'Ruby [ubuntu-24.04/3.3/malloctrim]' + build_ruby_ubuntu_22_04-3_3-malloctrim: + name: 'Ruby [ubuntu-22.04/3.3/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2401,7 +2401,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/malloctrim];') && !failure() && !cancelled() steps: @@ -2432,14 +2432,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2461,15 +2461,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.3" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -2479,12 +2479,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_2-normal: - name: 'Ruby [ubuntu-24.04/3.2/normal]' + build_ruby_ubuntu_22_04-3_2-normal: + name: 'Ruby [ubuntu-22.04/3.2/normal]' runs-on: ubuntu-24.04 environment: test @@ -2494,7 +2494,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/normal];') && !failure() && !cancelled() steps: @@ -2525,14 +2525,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2554,15 +2554,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -2572,14 +2572,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_2-jemalloc: - name: 'Ruby [ubuntu-24.04/3.2/jemalloc]' + build_ruby_ubuntu_22_04-3_2-jemalloc: + name: 'Ruby [ubuntu-22.04/3.2/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2588,15 +2588,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2624,14 +2624,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2652,22 +2652,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -2677,12 +2677,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_2-malloctrim: - name: 'Ruby [ubuntu-24.04/3.2/malloctrim]' + build_ruby_ubuntu_22_04-3_2-malloctrim: + name: 'Ruby [ubuntu-22.04/3.2/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2692,7 +2692,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/malloctrim];') && !failure() && !cancelled() steps: @@ -2723,14 +2723,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2752,15 +2752,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.2" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -2770,12 +2770,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_1-normal: - name: 'Ruby [ubuntu-24.04/3.1/normal]' + build_ruby_ubuntu_22_04-3_1-normal: + name: 'Ruby [ubuntu-22.04/3.1/normal]' runs-on: ubuntu-24.04 environment: test @@ -2785,7 +2785,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/normal];') && !failure() && !cancelled() steps: @@ -2816,14 +2816,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2845,15 +2845,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -2863,14 +2863,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_1-jemalloc: - name: 'Ruby [ubuntu-24.04/3.1/jemalloc]' + build_ruby_ubuntu_22_04-3_1-jemalloc: + name: 'Ruby [ubuntu-22.04/3.1/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -2879,15 +2879,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -2915,14 +2915,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -2943,22 +2943,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -2968,12 +2968,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_1-malloctrim: - name: 'Ruby [ubuntu-24.04/3.1/malloctrim]' + build_ruby_ubuntu_22_04-3_1-malloctrim: + name: 'Ruby [ubuntu-22.04/3.1/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -2983,7 +2983,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/malloctrim];') && !failure() && !cancelled() steps: @@ -3014,14 +3014,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3043,15 +3043,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.1" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -3061,12 +3061,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_4_6-normal: - name: 'Ruby [ubuntu-24.04/3.4.6/normal]' + build_ruby_ubuntu_22_04-3_4_6-normal: + name: 'Ruby [ubuntu-22.04/3.4.6/normal]' runs-on: ubuntu-24.04 environment: test @@ -3076,7 +3076,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/normal];') && !failure() && !cancelled() steps: @@ -3107,14 +3107,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3136,15 +3136,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -3154,14 +3154,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_4_6-jemalloc: - name: 'Ruby [ubuntu-24.04/3.4.6/jemalloc]' + build_ruby_ubuntu_22_04-3_4_6-jemalloc: + name: 'Ruby [ubuntu-22.04/3.4.6/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3170,15 +3170,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3206,14 +3206,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3234,22 +3234,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -3259,12 +3259,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_4_6-malloctrim: - name: 'Ruby [ubuntu-24.04/3.4.6/malloctrim]' + build_ruby_ubuntu_22_04-3_4_6-malloctrim: + name: 'Ruby [ubuntu-22.04/3.4.6/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3274,7 +3274,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/malloctrim];') && !failure() && !cancelled() steps: @@ -3305,14 +3305,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3334,15 +3334,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.4.6" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -3352,12 +3352,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_3_9-normal: - name: 'Ruby [ubuntu-24.04/3.3.9/normal]' + build_ruby_ubuntu_22_04-3_3_9-normal: + name: 'Ruby [ubuntu-22.04/3.3.9/normal]' runs-on: ubuntu-24.04 environment: test @@ -3367,7 +3367,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/normal];') && !failure() && !cancelled() steps: @@ -3398,14 +3398,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3427,15 +3427,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -3445,14 +3445,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_3_9-jemalloc: - name: 'Ruby [ubuntu-24.04/3.3.9/jemalloc]' + build_ruby_ubuntu_22_04-3_3_9-jemalloc: + name: 'Ruby [ubuntu-22.04/3.3.9/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3461,15 +3461,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3497,14 +3497,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3525,22 +3525,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -3550,12 +3550,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_3_9-malloctrim: - name: 'Ruby [ubuntu-24.04/3.3.9/malloctrim]' + build_ruby_ubuntu_22_04-3_3_9-malloctrim: + name: 'Ruby [ubuntu-22.04/3.3.9/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3565,7 +3565,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/malloctrim];') && !failure() && !cancelled() steps: @@ -3596,14 +3596,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3625,15 +3625,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.3.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -3643,12 +3643,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_2_9-normal: - name: 'Ruby [ubuntu-24.04/3.2.9/normal]' + build_ruby_ubuntu_22_04-3_2_9-normal: + name: 'Ruby [ubuntu-22.04/3.2.9/normal]' runs-on: ubuntu-24.04 environment: test @@ -3658,7 +3658,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/normal];') && !failure() && !cancelled() steps: @@ -3689,14 +3689,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3718,15 +3718,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -3736,14 +3736,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_2_9-jemalloc: - name: 'Ruby [ubuntu-24.04/3.2.9/jemalloc]' + build_ruby_ubuntu_22_04-3_2_9-jemalloc: + name: 'Ruby [ubuntu-22.04/3.2.9/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -3752,15 +3752,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -3788,14 +3788,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3816,22 +3816,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -3841,12 +3841,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_2_9-malloctrim: - name: 'Ruby [ubuntu-24.04/3.2.9/malloctrim]' + build_ruby_ubuntu_22_04-3_2_9-malloctrim: + name: 'Ruby [ubuntu-22.04/3.2.9/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -3856,7 +3856,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/malloctrim];') && !failure() && !cancelled() steps: @@ -3887,14 +3887,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -3916,15 +3916,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.2.9" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -3934,12 +3934,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_1_7-normal: - name: 'Ruby [ubuntu-24.04/3.1.7/normal]' + build_ruby_ubuntu_22_04-3_1_7-normal: + name: 'Ruby [ubuntu-22.04/3.1.7/normal]' runs-on: ubuntu-24.04 environment: test @@ -3949,7 +3949,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/normal];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/normal];') && !failure() && !cancelled() steps: @@ -3980,14 +3980,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -4009,15 +4009,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "normal" VARIANT_PACKAGE_SUFFIX: "" PACKAGE_FORMAT: "DEB" @@ -4027,14 +4027,14 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-24.04_normal" + ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-22.04_normal" ARTIFACT_PATH: output-normal CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_1_7-jemalloc: - name: 'Ruby [ubuntu-24.04/3.1.7/jemalloc]' + build_ruby_ubuntu_22_04-3_1_7-jemalloc: + name: 'Ruby [ubuntu-22.04/3.1.7/jemalloc]' - needs: build_jemalloc_ubuntu_24_04 + needs: build_jemalloc_ubuntu_22_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4043,15 +4043,15 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/jemalloc];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/jemalloc];') && !failure() && !cancelled() steps: - - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + - name: Check whether 'Build Jemalloc [ubuntu-22.04]' did not fail run: 'false' if: | - needs.build_jemalloc_ubuntu_24_04.result == 'skipped' - && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + needs.build_jemalloc_ubuntu_22_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];') - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 @@ -4079,14 +4079,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -4107,22 +4107,22 @@ jobs: - name: Fetch Jemalloc binary run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_NAME: jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "jemalloc" VARIANT_PACKAGE_SUFFIX: "-jemalloc" PACKAGE_FORMAT: "DEB" @@ -4132,12 +4132,12 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-24.04_jemalloc" + ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-22.04_jemalloc" ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - build_ruby_ubuntu_24_04-3_1_7-malloctrim: - name: 'Ruby [ubuntu-24.04/3.1.7/malloctrim]' + build_ruby_ubuntu_22_04-3_1_7-malloctrim: + name: 'Ruby [ubuntu-22.04/3.1.7/malloctrim]' runs-on: ubuntu-24.04 environment: test @@ -4147,7 +4147,7 @@ jobs: packages: read # Run even if a dependent job has been skipped if: | - contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/malloctrim];') + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/malloctrim];') && !failure() && !cancelled() steps: @@ -4178,14 +4178,14 @@ jobs: - name: Download Docker image necessary for building run: ./internal-scripts/ci-cd/download-artifact.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: - ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_NAME: 'docker-image-ubuntu-22.04' ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - name: Load Docker image necessary for building run: ./internal-scripts/ci-cd/load-docker-image.sh - if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-22.04;') env: TARBALL: image.tar.zst @@ -4207,15 +4207,15 @@ jobs: - name: Build binaries run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh env: - ENVIRONMENT_NAME: "ubuntu-24.04" + ENVIRONMENT_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" RUBY_PACKAGE_VERSION_ID: "3.1.7" - CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + CACHE_KEY_PREFIX: "sccache/ubuntu-22.04" - name: Build package run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh env: - DISTRIBUTION_NAME: "ubuntu-24.04" + DISTRIBUTION_NAME: "ubuntu-22.04" VARIANT_NAME: "malloctrim" VARIANT_PACKAGE_SUFFIX: "-malloctrim" PACKAGE_FORMAT: "DEB" @@ -4225,7 +4225,7 @@ jobs: - name: Archive package artifact to Google Cloud run: ./internal-scripts/ci-cd/upload-artifact.sh env: - ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-24.04_malloctrim" + ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-22.04_malloctrim" ARTIFACT_PATH: output-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4263,39 +4263,39 @@ jobs: - build_ruby_debian_12-3_2_9-jemalloc - build_ruby_debian_12-3_2_9-malloctrim - - build_jemalloc_ubuntu_24_04 + - build_jemalloc_ubuntu_22_04 - - build_ruby_ubuntu_24_04-3_4-normal - - build_ruby_ubuntu_24_04-3_4-jemalloc - - build_ruby_ubuntu_24_04-3_4-malloctrim + - build_ruby_ubuntu_22_04-3_4-normal + - build_ruby_ubuntu_22_04-3_4-jemalloc + - build_ruby_ubuntu_22_04-3_4-malloctrim - - build_ruby_ubuntu_24_04-3_3-normal - - build_ruby_ubuntu_24_04-3_3-jemalloc - - build_ruby_ubuntu_24_04-3_3-malloctrim + - build_ruby_ubuntu_22_04-3_3-normal + - build_ruby_ubuntu_22_04-3_3-jemalloc + - build_ruby_ubuntu_22_04-3_3-malloctrim - - build_ruby_ubuntu_24_04-3_2-normal - - build_ruby_ubuntu_24_04-3_2-jemalloc - - build_ruby_ubuntu_24_04-3_2-malloctrim + - build_ruby_ubuntu_22_04-3_2-normal + - build_ruby_ubuntu_22_04-3_2-jemalloc + - build_ruby_ubuntu_22_04-3_2-malloctrim - - build_ruby_ubuntu_24_04-3_1-normal - - build_ruby_ubuntu_24_04-3_1-jemalloc - - build_ruby_ubuntu_24_04-3_1-malloctrim + - build_ruby_ubuntu_22_04-3_1-normal + - build_ruby_ubuntu_22_04-3_1-jemalloc + - build_ruby_ubuntu_22_04-3_1-malloctrim - - build_ruby_ubuntu_24_04-3_4_6-normal - - build_ruby_ubuntu_24_04-3_4_6-jemalloc - - build_ruby_ubuntu_24_04-3_4_6-malloctrim + - build_ruby_ubuntu_22_04-3_4_6-normal + - build_ruby_ubuntu_22_04-3_4_6-jemalloc + - build_ruby_ubuntu_22_04-3_4_6-malloctrim - - build_ruby_ubuntu_24_04-3_3_9-normal - - build_ruby_ubuntu_24_04-3_3_9-jemalloc - - build_ruby_ubuntu_24_04-3_3_9-malloctrim + - build_ruby_ubuntu_22_04-3_3_9-normal + - build_ruby_ubuntu_22_04-3_3_9-jemalloc + - build_ruby_ubuntu_22_04-3_3_9-malloctrim - - build_ruby_ubuntu_24_04-3_2_9-normal - - build_ruby_ubuntu_24_04-3_2_9-jemalloc - - build_ruby_ubuntu_24_04-3_2_9-malloctrim + - build_ruby_ubuntu_22_04-3_2_9-normal + - build_ruby_ubuntu_22_04-3_2_9-jemalloc + - build_ruby_ubuntu_22_04-3_2_9-malloctrim - - build_ruby_ubuntu_24_04-3_1_7-normal - - build_ruby_ubuntu_24_04-3_1_7-jemalloc - - build_ruby_ubuntu_24_04-3_1_7-malloctrim + - build_ruby_ubuntu_22_04-3_1_7-normal + - build_ruby_ubuntu_22_04-3_1_7-jemalloc + - build_ruby_ubuntu_22_04-3_1_7-malloctrim runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 @@ -4324,7 +4324,7 @@ jobs: env: ARTIFACT_NAMES: | jemalloc-bin-debian-12 - jemalloc-bin-ubuntu-24.04 + jemalloc-bin-ubuntu-22.04 ARTIFACT_PATH: artifacts CLEAR: true CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4334,17 +4334,17 @@ jobs: name: 'jemalloc-bin-debian-12' path: 'artifacts/jemalloc-bin-debian-12' compression-level: 0 - - name: Archive Jemalloc binary artifact [ubuntu-24.04] to Github + - name: Archive Jemalloc binary artifact [ubuntu-22.04] to Github uses: actions/upload-artifact@v4 with: - name: 'jemalloc-bin-ubuntu-24.04' - path: 'artifacts/jemalloc-bin-ubuntu-24.04' + name: 'jemalloc-bin-ubuntu-22.04' + path: 'artifacts/jemalloc-bin-ubuntu-22.04' compression-level: 0 - name: Download Ruby package artifacts from Google Cloud run: ./internal-scripts/ci-cd/download-artifacts.sh env: - ARTIFACT_NAMES: 'ruby-pkg_3.4_debian-12_normal ruby-pkg_3.4_debian-12_jemalloc ruby-pkg_3.4_debian-12_malloctrim ruby-pkg_3.3_debian-12_normal ruby-pkg_3.3_debian-12_jemalloc ruby-pkg_3.3_debian-12_malloctrim ruby-pkg_3.2_debian-12_normal ruby-pkg_3.2_debian-12_jemalloc ruby-pkg_3.2_debian-12_malloctrim ruby-pkg_3.4.6_debian-12_normal ruby-pkg_3.4.6_debian-12_jemalloc ruby-pkg_3.4.6_debian-12_malloctrim ruby-pkg_3.3.9_debian-12_normal ruby-pkg_3.3.9_debian-12_jemalloc ruby-pkg_3.3.9_debian-12_malloctrim ruby-pkg_3.2.9_debian-12_normal ruby-pkg_3.2.9_debian-12_jemalloc ruby-pkg_3.2.9_debian-12_malloctrim ruby-pkg_3.4_ubuntu-24.04_normal ruby-pkg_3.4_ubuntu-24.04_jemalloc ruby-pkg_3.4_ubuntu-24.04_malloctrim ruby-pkg_3.3_ubuntu-24.04_normal ruby-pkg_3.3_ubuntu-24.04_jemalloc ruby-pkg_3.3_ubuntu-24.04_malloctrim ruby-pkg_3.2_ubuntu-24.04_normal ruby-pkg_3.2_ubuntu-24.04_jemalloc ruby-pkg_3.2_ubuntu-24.04_malloctrim ruby-pkg_3.1_ubuntu-24.04_normal ruby-pkg_3.1_ubuntu-24.04_jemalloc ruby-pkg_3.1_ubuntu-24.04_malloctrim ruby-pkg_3.4.6_ubuntu-24.04_normal ruby-pkg_3.4.6_ubuntu-24.04_jemalloc ruby-pkg_3.4.6_ubuntu-24.04_malloctrim ruby-pkg_3.3.9_ubuntu-24.04_normal ruby-pkg_3.3.9_ubuntu-24.04_jemalloc ruby-pkg_3.3.9_ubuntu-24.04_malloctrim ruby-pkg_3.2.9_ubuntu-24.04_normal ruby-pkg_3.2.9_ubuntu-24.04_jemalloc ruby-pkg_3.2.9_ubuntu-24.04_malloctrim ruby-pkg_3.1.7_ubuntu-24.04_normal ruby-pkg_3.1.7_ubuntu-24.04_jemalloc ruby-pkg_3.1.7_ubuntu-24.04_malloctrim' + ARTIFACT_NAMES: 'ruby-pkg_3.4_debian-12_normal ruby-pkg_3.4_debian-12_jemalloc ruby-pkg_3.4_debian-12_malloctrim ruby-pkg_3.3_debian-12_normal ruby-pkg_3.3_debian-12_jemalloc ruby-pkg_3.3_debian-12_malloctrim ruby-pkg_3.2_debian-12_normal ruby-pkg_3.2_debian-12_jemalloc ruby-pkg_3.2_debian-12_malloctrim ruby-pkg_3.4.6_debian-12_normal ruby-pkg_3.4.6_debian-12_jemalloc ruby-pkg_3.4.6_debian-12_malloctrim ruby-pkg_3.3.9_debian-12_normal ruby-pkg_3.3.9_debian-12_jemalloc ruby-pkg_3.3.9_debian-12_malloctrim ruby-pkg_3.2.9_debian-12_normal ruby-pkg_3.2.9_debian-12_jemalloc ruby-pkg_3.2.9_debian-12_malloctrim ruby-pkg_3.4_ubuntu-22.04_normal ruby-pkg_3.4_ubuntu-22.04_jemalloc ruby-pkg_3.4_ubuntu-22.04_malloctrim ruby-pkg_3.3_ubuntu-22.04_normal ruby-pkg_3.3_ubuntu-22.04_jemalloc ruby-pkg_3.3_ubuntu-22.04_malloctrim ruby-pkg_3.2_ubuntu-22.04_normal ruby-pkg_3.2_ubuntu-22.04_jemalloc ruby-pkg_3.2_ubuntu-22.04_malloctrim ruby-pkg_3.1_ubuntu-22.04_normal ruby-pkg_3.1_ubuntu-22.04_jemalloc ruby-pkg_3.1_ubuntu-22.04_malloctrim ruby-pkg_3.4.6_ubuntu-22.04_normal ruby-pkg_3.4.6_ubuntu-22.04_jemalloc ruby-pkg_3.4.6_ubuntu-22.04_malloctrim ruby-pkg_3.3.9_ubuntu-22.04_normal ruby-pkg_3.3.9_ubuntu-22.04_jemalloc ruby-pkg_3.3.9_ubuntu-22.04_malloctrim ruby-pkg_3.2.9_ubuntu-22.04_normal ruby-pkg_3.2.9_ubuntu-22.04_jemalloc ruby-pkg_3.2.9_ubuntu-22.04_malloctrim ruby-pkg_3.1.7_ubuntu-22.04_normal ruby-pkg_3.1.7_ubuntu-22.04_jemalloc ruby-pkg_3.1.7_ubuntu-22.04_malloctrim' ARTIFACT_PATH: artifacts CLEAR: true CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -4456,149 +4456,149 @@ jobs: name: ruby-pkg_3.2.9_debian-12_malloctrim path: artifacts/ruby-pkg_3.2.9_debian-12_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.4_ubuntu-24.04_normal + name: ruby-pkg_3.4_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.4_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.4_ubuntu-24.04_jemalloc + name: ruby-pkg_3.4_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.4_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.4_ubuntu-24.04_malloctrim + name: ruby-pkg_3.4_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.4_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.3_ubuntu-24.04_normal + name: ruby-pkg_3.3_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.3_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.3_ubuntu-24.04_jemalloc + name: ruby-pkg_3.3_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.3_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.3_ubuntu-24.04_malloctrim + name: ruby-pkg_3.3_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.3_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.2_ubuntu-24.04_normal + name: ruby-pkg_3.2_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.2_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.2_ubuntu-24.04_jemalloc + name: ruby-pkg_3.2_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.2_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.2_ubuntu-24.04_malloctrim + name: ruby-pkg_3.2_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.2_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.1_ubuntu-24.04_normal + name: ruby-pkg_3.1_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.1_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.1_ubuntu-24.04_jemalloc + name: ruby-pkg_3.1_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.1_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.1_ubuntu-24.04_malloctrim + name: ruby-pkg_3.1_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.1_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.4.6_ubuntu-24.04_normal + name: ruby-pkg_3.4.6_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.4.6_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.4.6_ubuntu-24.04_jemalloc + name: ruby-pkg_3.4.6_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.4.6_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.4.6_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.4.6_ubuntu-24.04_malloctrim + name: ruby-pkg_3.4.6_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.4.6_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.3.9_ubuntu-24.04_normal + name: ruby-pkg_3.3.9_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.3.9_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.3.9_ubuntu-24.04_jemalloc + name: ruby-pkg_3.3.9_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.3.9_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.3.9_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.3.9_ubuntu-24.04_malloctrim + name: ruby-pkg_3.3.9_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.3.9_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.2.9_ubuntu-24.04_normal + name: ruby-pkg_3.2.9_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.2.9_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.2.9_ubuntu-24.04_jemalloc + name: ruby-pkg_3.2.9_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.2.9_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.2.9_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.2.9_ubuntu-24.04_malloctrim + name: ruby-pkg_3.2.9_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.2.9_ubuntu-22.04_malloctrim compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-24.04_normal] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-22.04_normal] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_ubuntu-24.04_normal - path: artifacts/ruby-pkg_3.1.7_ubuntu-24.04_normal + name: ruby-pkg_3.1.7_ubuntu-22.04_normal + path: artifacts/ruby-pkg_3.1.7_ubuntu-22.04_normal compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-24.04_jemalloc] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-22.04_jemalloc] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_ubuntu-24.04_jemalloc - path: artifacts/ruby-pkg_3.1.7_ubuntu-24.04_jemalloc + name: ruby-pkg_3.1.7_ubuntu-22.04_jemalloc + path: artifacts/ruby-pkg_3.1.7_ubuntu-22.04_jemalloc compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-24.04_malloctrim] to Github + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-22.04_malloctrim] to Github uses: actions/upload-artifact@v4 with: - name: ruby-pkg_3.1.7_ubuntu-24.04_malloctrim - path: artifacts/ruby-pkg_3.1.7_ubuntu-24.04_malloctrim + name: ruby-pkg_3.1.7_ubuntu-22.04_malloctrim + path: artifacts/ruby-pkg_3.1.7_ubuntu-22.04_malloctrim compression-level: 0 @@ -4611,9 +4611,9 @@ jobs: || (needs.build_jemalloc_debian_12.result != 'success' && (needs.build_jemalloc_debian_12.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Jemalloc [debian-12];'))) - || (needs.build_jemalloc_ubuntu_24_04.result != 'success' - && (needs.build_jemalloc_ubuntu_24_04.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];'))) + || (needs.build_jemalloc_ubuntu_22_04.result != 'success' + && (needs.build_jemalloc_ubuntu_22_04.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-22.04];'))) - name: Check whether 'Ruby [debian-12]' job did not fail run: 'false' if: | @@ -4672,79 +4672,79 @@ jobs: || (needs.build_ruby_debian_12-3_2_9-malloctrim.result != 'success' && (needs.build_ruby_debian_12-3_2_9-malloctrim.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Ruby [debian-12/3.2.9/malloctrim];'))) - - name: Check whether 'Ruby [ubuntu-24.04]' job did not fail + - name: Check whether 'Ruby [ubuntu-22.04]' job did not fail run: 'false' if: | false - || (needs.build_ruby_ubuntu_24_04-3_4-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_4-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_4-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_4-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_4-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_4-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_3-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_3-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_3-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_3-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_3-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_3-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_2-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_2-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_2-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_2-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_2-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_2-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_1-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_1-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_1-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_1-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_1-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_1-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_4_6-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_4_6-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_4_6-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_4_6-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_4_6-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_4_6-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_3_9-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_3_9-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_3_9-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_3_9-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_3_9-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_3_9-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_2_9-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_2_9-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_2_9-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_2_9-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_2_9-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_2_9-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/malloctrim];'))) - || (needs.build_ruby_ubuntu_24_04-3_1_7-normal.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_1_7-normal.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/normal];'))) - || (needs.build_ruby_ubuntu_24_04-3_1_7-jemalloc.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_1_7-jemalloc.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/jemalloc];'))) - || (needs.build_ruby_ubuntu_24_04-3_1_7-malloctrim.result != 'success' - && (needs.build_ruby_ubuntu_24_04-3_1_7-malloctrim.result != 'skipped' - || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_4-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_4-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_4-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_4-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_4-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_4-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_3-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_3-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_3-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_3-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_3-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_3-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_2-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_2-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_2-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_2-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_2-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_2-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_1-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_1-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_1-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_1-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_1-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_1-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_4_6-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_4_6-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_4_6-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_4_6-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_4_6-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_4_6-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.4.6/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_3_9-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_3_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_3_9-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_3_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_3_9-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_3_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.3.9/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_2_9-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_2_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_2_9-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_2_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_2_9-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_2_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.2.9/malloctrim];'))) + || (needs.build_ruby_ubuntu_22_04-3_1_7-normal.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_1_7-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/normal];'))) + || (needs.build_ruby_ubuntu_22_04-3_1_7-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_1_7-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/jemalloc];'))) + || (needs.build_ruby_ubuntu_22_04-3_1_7-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_22_04-3_1_7-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-22.04/3.1.7/malloctrim];'))) diff --git a/.github/workflows/ci-cd-build-packages-4.yml b/.github/workflows/ci-cd-build-packages-4.yml index 6447549..8575a55 100644 --- a/.github/workflows/ci-cd-build-packages-4.yml +++ b/.github/workflows/ci-cd-build-packages-4.yml @@ -89,6 +89,65 @@ jobs: ARTIFACT_NAME: 'jemalloc-bin-debian-13' ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + build_jemalloc_ubuntu_24_04: + name: 'Jemalloc [ubuntu-24.04]' + if: contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + runs-on: ubuntu-24.04 + environment: test + permissions: + id-token: write + packages: read + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - run: mkdir cache + + - name: Download source + run: ./internal-scripts/ci-cd/build-jemalloc-binaries/download-source.sh + env: + JEMALLOC_VERSION: "3.6.0" + + - name: Build + run: ./internal-scripts/ci-cd/build-jemalloc-binaries/build.sh + env: + ENVIRONMENT_NAME: 'ubuntu-24.04' + CACHE_KEY_PREFIX: 'sccache/ubuntu-24.04' + + - name: Archive artifact + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: 'jemalloc-bin-ubuntu-24.04' + ARTIFACT_PATH: output + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} ### Ruby ### @@ -1260,37 +1319,121 @@ jobs: CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + build_ruby_ubuntu_24_04-3_4-normal: + name: 'Ruby [ubuntu-24.04/3.4/normal]' - ### Finalize ### + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/normal];') + && !failure() && !cancelled() + steps: + - finalize: - name: Finalize - needs: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.4.6 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - build_jemalloc_debian_13 + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst - - build_ruby_debian_13-3_4-normal - - build_ruby_debian_13-3_4-jemalloc - - build_ruby_debian_13-3_4-malloctrim + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst - - build_ruby_debian_13-3_3-normal - - build_ruby_debian_13-3_3-jemalloc - - build_ruby_debian_13-3_3-malloctrim + - - build_ruby_debian_13-3_4_6-normal - - build_ruby_debian_13-3_4_6-jemalloc - - build_ruby_debian_13-3_4_6-malloctrim + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.4" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" - - build_ruby_debian_13-3_3_9-normal - - build_ruby_debian_13-3_3_9-jemalloc - - build_ruby_debian_13-3_3_9-malloctrim + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.4" + RUBY_PACKAGE_REVISION: "5" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_4-jemalloc: + name: 'Ruby [ubuntu-24.04/3.4/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 runs-on: ubuntu-24.04 environment: test timeout-minutes: 30 - if: 'always()' permissions: id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/jemalloc];') + && !failure() && !cancelled() steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: @@ -1300,43 +1443,2329 @@ jobs: uses: google-github-actions/setup-gcloud@v2 with: version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.4.6 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst - ### Publish all artifacts in Google Cloud as Github Actions artifacts ### - # We publish these artifacts in a dedicated job instead - # of in each job individually, because the individual jobs - # could be skipped during a re-run. - - - name: Download Jemalloc binary artifacts from Google Cloud - run: ./internal-scripts/ci-cd/download-artifacts.sh + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') env: - ARTIFACT_NAMES: | - jemalloc-bin-debian-13 - ARTIFACT_PATH: artifacts - CLEAR: true + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Archive Jemalloc binary artifact [debian-13] to Github - uses: actions/upload-artifact@v4 - with: - name: 'jemalloc-bin-debian-13' - path: 'artifacts/jemalloc-bin-debian-13' - compression-level: 0 + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst - - name: Download Ruby package artifacts from Google Cloud - run: ./internal-scripts/ci-cd/download-artifacts.sh + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh env: - ARTIFACT_NAMES: 'ruby-pkg_3.4_debian-13_normal ruby-pkg_3.4_debian-13_jemalloc ruby-pkg_3.4_debian-13_malloctrim ruby-pkg_3.3_debian-13_normal ruby-pkg_3.3_debian-13_jemalloc ruby-pkg_3.3_debian-13_malloctrim ruby-pkg_3.4.6_debian-13_normal ruby-pkg_3.4.6_debian-13_jemalloc ruby-pkg_3.4.6_debian-13_malloctrim ruby-pkg_3.3.9_debian-13_normal ruby-pkg_3.3.9_debian-13_jemalloc ruby-pkg_3.3.9_debian-13_malloctrim' - ARTIFACT_PATH: artifacts - CLEAR: true + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.4" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.4" + RUBY_PACKAGE_REVISION: "5" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} - - name: Archive Ruby package artifact [ruby-pkg_3.4_debian-13_normal] to Github - uses: actions/upload-artifact@v4 - with: - name: ruby-pkg_3.4_debian-13_normal - path: artifacts/ruby-pkg_3.4_debian-13_normal - compression-level: 0 - - name: Archive Ruby package artifact [ruby-pkg_3.4_debian-13_jemalloc] to Github - uses: actions/upload-artifact@v4 + + build_ruby_ubuntu_24_04-3_4-malloctrim: + name: 'Ruby [ubuntu-24.04/3.4/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.4.6 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.4" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.4" + RUBY_PACKAGE_REVISION: "5" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.4_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_3-normal: + name: 'Ruby [ubuntu-24.04/3.3/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.3.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.3" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.3" + RUBY_PACKAGE_REVISION: "9" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_3-jemalloc: + name: 'Ruby [ubuntu-24.04/3.3/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.3.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.3" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.3" + RUBY_PACKAGE_REVISION: "9" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_3-malloctrim: + name: 'Ruby [ubuntu-24.04/3.3/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.3.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.3" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.3" + RUBY_PACKAGE_REVISION: "9" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.3_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_2-normal: + name: 'Ruby [ubuntu-24.04/3.2/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.2" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.2" + RUBY_PACKAGE_REVISION: "12" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_2-jemalloc: + name: 'Ruby [ubuntu-24.04/3.2/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.2" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.2" + RUBY_PACKAGE_REVISION: "12" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_2-malloctrim: + name: 'Ruby [ubuntu-24.04/3.2/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.2" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.2" + RUBY_PACKAGE_REVISION: "12" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.2_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_1-normal: + name: 'Ruby [ubuntu-24.04/3.1/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.1" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.1" + RUBY_PACKAGE_REVISION: "16" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_1-jemalloc: + name: 'Ruby [ubuntu-24.04/3.1/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.1" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.1" + RUBY_PACKAGE_REVISION: "16" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_1-malloctrim: + name: 'Ruby [ubuntu-24.04/3.1/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.1" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.1" + RUBY_PACKAGE_REVISION: "16" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.1_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_4_6-normal: + name: 'Ruby [ubuntu-24.04/3.4.6/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.4.6 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_4_6-jemalloc: + name: 'Ruby [ubuntu-24.04/3.4.6/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.4.6 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_4_6-malloctrim: + name: 'Ruby [ubuntu-24.04/3.4.6/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.4.6 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.4.6" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.4.6_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_3_9-normal: + name: 'Ruby [ubuntu-24.04/3.3.9/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.3.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_3_9-jemalloc: + name: 'Ruby [ubuntu-24.04/3.3.9/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.3.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_3_9-malloctrim: + name: 'Ruby [ubuntu-24.04/3.3.9/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.3.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.3.9" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.3.9_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_2_9-normal: + name: 'Ruby [ubuntu-24.04/3.2.9/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.2.9" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.2.9" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_2_9-jemalloc: + name: 'Ruby [ubuntu-24.04/3.2.9/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.2.9" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.2.9" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_2_9-malloctrim: + name: 'Ruby [ubuntu-24.04/3.2.9/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.2.9 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.2.9" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.2.9" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.2.9_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_1_7-normal: + name: 'Ruby [ubuntu-24.04/3.1.7/normal]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/normal];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + RUBY_PACKAGE_VERSION_ID: "3.1.7" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.1.7" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-24.04_normal" + ARTIFACT_PATH: output-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_1_7-jemalloc: + name: 'Ruby [ubuntu-24.04/3.1.7/jemalloc]' + + needs: build_jemalloc_ubuntu_24_04 + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/jemalloc];') + && !failure() && !cancelled() + steps: + + - name: Check whether 'Build Jemalloc [ubuntu-24.04]' did not fail + run: 'false' + if: | + needs.build_jemalloc_ubuntu_24_04.result == 'skipped' + && contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];') + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + - name: Fetch Jemalloc binary + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + RUBY_PACKAGE_VERSION_ID: "3.1.7" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.1.7" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-24.04_jemalloc" + ARTIFACT_PATH: output-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + build_ruby_ubuntu_24_04-3_1_7-malloctrim: + name: 'Ruby [ubuntu-24.04/3.1.7/malloctrim]' + + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + permissions: + id-token: write + packages: read + # Run even if a dependent job has been skipped + if: | + contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/malloctrim];') + && !failure() && !cancelled() + steps: + + + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + - name: Login to Github Container Registry + run: docker login ghcr.io -u ${{ github.actor }} --password-stdin <<<"$GITHUB_TOKEN" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Dump Azure connection string + run: echo -n "$CONNECTION_STRING" > azure-connection-string.txt + env: + CONNECTION_STRING: ${{ secrets.AZURE_CI2_STORAGE_CONNECTION_STRING }} + - name: Fetch Ruby source + run: ./internal-scripts/ci-cd/download-artifact.sh + env: + ARTIFACT_NAME: ruby-src-3.1.7 + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + - name: Download Docker image necessary for building + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + ARTIFACT_NAME: 'docker-image-ubuntu-24.04' + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for building + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image ubuntu-24.04;') + env: + TARBALL: image.tar.zst + + - name: Download Docker image necessary for packaging + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + ARTIFACT_NAME: docker-image-utility + ARTIFACT_PATH: . + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Load Docker image necessary for packaging + run: ./internal-scripts/ci-cd/load-docker-image.sh + if: contains(inputs.necessary_jobs, ';Use locally-built Docker image utility;') + env: + TARBALL: image.tar.zst + + + + - name: Build binaries + run: ./internal-scripts/ci-cd/build-ruby-packages/build-binaries.sh + env: + ENVIRONMENT_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + RUBY_PACKAGE_VERSION_ID: "3.1.7" + CACHE_KEY_PREFIX: "sccache/ubuntu-24.04" + + - name: Build package + run: ./internal-scripts/ci-cd/build-ruby-packages/build-package.sh + env: + DISTRIBUTION_NAME: "ubuntu-24.04" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + PACKAGE_FORMAT: "DEB" + RUBY_PACKAGE_VERSION_ID: "3.1.7" + RUBY_PACKAGE_REVISION: "0" + + - name: Archive package artifact to Google Cloud + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: "ruby-pkg_3.1.7_ubuntu-24.04_malloctrim" + ARTIFACT_PATH: output-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + + + ### Finalize ### + + finalize: + name: Finalize + needs: + + - build_jemalloc_debian_13 + + - build_ruby_debian_13-3_4-normal + - build_ruby_debian_13-3_4-jemalloc + - build_ruby_debian_13-3_4-malloctrim + + - build_ruby_debian_13-3_3-normal + - build_ruby_debian_13-3_3-jemalloc + - build_ruby_debian_13-3_3-malloctrim + + - build_ruby_debian_13-3_4_6-normal + - build_ruby_debian_13-3_4_6-jemalloc + - build_ruby_debian_13-3_4_6-malloctrim + + - build_ruby_debian_13-3_3_9-normal + - build_ruby_debian_13-3_3_9-jemalloc + - build_ruby_debian_13-3_3_9-malloctrim + + - build_jemalloc_ubuntu_24_04 + + - build_ruby_ubuntu_24_04-3_4-normal + - build_ruby_ubuntu_24_04-3_4-jemalloc + - build_ruby_ubuntu_24_04-3_4-malloctrim + + - build_ruby_ubuntu_24_04-3_3-normal + - build_ruby_ubuntu_24_04-3_3-jemalloc + - build_ruby_ubuntu_24_04-3_3-malloctrim + + - build_ruby_ubuntu_24_04-3_2-normal + - build_ruby_ubuntu_24_04-3_2-jemalloc + - build_ruby_ubuntu_24_04-3_2-malloctrim + + - build_ruby_ubuntu_24_04-3_1-normal + - build_ruby_ubuntu_24_04-3_1-jemalloc + - build_ruby_ubuntu_24_04-3_1-malloctrim + + - build_ruby_ubuntu_24_04-3_4_6-normal + - build_ruby_ubuntu_24_04-3_4_6-jemalloc + - build_ruby_ubuntu_24_04-3_4_6-malloctrim + + - build_ruby_ubuntu_24_04-3_3_9-normal + - build_ruby_ubuntu_24_04-3_3_9-jemalloc + - build_ruby_ubuntu_24_04-3_3_9-malloctrim + + - build_ruby_ubuntu_24_04-3_2_9-normal + - build_ruby_ubuntu_24_04-3_2_9-jemalloc + - build_ruby_ubuntu_24_04-3_2_9-malloctrim + + - build_ruby_ubuntu_24_04-3_1_7-normal + - build_ruby_ubuntu_24_04-3_1_7-jemalloc + - build_ruby_ubuntu_24_04-3_1_7-malloctrim + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: 'always()' + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + + ### Publish all artifacts in Google Cloud as Github Actions artifacts ### + # We publish these artifacts in a dedicated job instead + # of in each job individually, because the individual jobs + # could be skipped during a re-run. + + - name: Download Jemalloc binary artifacts from Google Cloud + run: ./internal-scripts/ci-cd/download-artifacts.sh + env: + ARTIFACT_NAMES: | + jemalloc-bin-debian-13 + jemalloc-bin-ubuntu-24.04 + ARTIFACT_PATH: artifacts + CLEAR: true + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Archive Jemalloc binary artifact [debian-13] to Github + uses: actions/upload-artifact@v4 + with: + name: 'jemalloc-bin-debian-13' + path: 'artifacts/jemalloc-bin-debian-13' + compression-level: 0 + - name: Archive Jemalloc binary artifact [ubuntu-24.04] to Github + uses: actions/upload-artifact@v4 + with: + name: 'jemalloc-bin-ubuntu-24.04' + path: 'artifacts/jemalloc-bin-ubuntu-24.04' + compression-level: 0 + + - name: Download Ruby package artifacts from Google Cloud + run: ./internal-scripts/ci-cd/download-artifacts.sh + env: + ARTIFACT_NAMES: 'ruby-pkg_3.4_debian-13_normal ruby-pkg_3.4_debian-13_jemalloc ruby-pkg_3.4_debian-13_malloctrim ruby-pkg_3.3_debian-13_normal ruby-pkg_3.3_debian-13_jemalloc ruby-pkg_3.3_debian-13_malloctrim ruby-pkg_3.4.6_debian-13_normal ruby-pkg_3.4.6_debian-13_jemalloc ruby-pkg_3.4.6_debian-13_malloctrim ruby-pkg_3.3.9_debian-13_normal ruby-pkg_3.3.9_debian-13_jemalloc ruby-pkg_3.3.9_debian-13_malloctrim ruby-pkg_3.4_ubuntu-24.04_normal ruby-pkg_3.4_ubuntu-24.04_jemalloc ruby-pkg_3.4_ubuntu-24.04_malloctrim ruby-pkg_3.3_ubuntu-24.04_normal ruby-pkg_3.3_ubuntu-24.04_jemalloc ruby-pkg_3.3_ubuntu-24.04_malloctrim ruby-pkg_3.2_ubuntu-24.04_normal ruby-pkg_3.2_ubuntu-24.04_jemalloc ruby-pkg_3.2_ubuntu-24.04_malloctrim ruby-pkg_3.1_ubuntu-24.04_normal ruby-pkg_3.1_ubuntu-24.04_jemalloc ruby-pkg_3.1_ubuntu-24.04_malloctrim ruby-pkg_3.4.6_ubuntu-24.04_normal ruby-pkg_3.4.6_ubuntu-24.04_jemalloc ruby-pkg_3.4.6_ubuntu-24.04_malloctrim ruby-pkg_3.3.9_ubuntu-24.04_normal ruby-pkg_3.3.9_ubuntu-24.04_jemalloc ruby-pkg_3.3.9_ubuntu-24.04_malloctrim ruby-pkg_3.2.9_ubuntu-24.04_normal ruby-pkg_3.2.9_ubuntu-24.04_jemalloc ruby-pkg_3.2.9_ubuntu-24.04_malloctrim ruby-pkg_3.1.7_ubuntu-24.04_normal ruby-pkg_3.1.7_ubuntu-24.04_jemalloc ruby-pkg_3.1.7_ubuntu-24.04_malloctrim' + ARTIFACT_PATH: artifacts + CLEAR: true + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Archive Ruby package artifact [ruby-pkg_3.4_debian-13_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4_debian-13_normal + path: artifacts/ruby-pkg_3.4_debian-13_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4_debian-13_jemalloc] to Github + uses: actions/upload-artifact@v4 with: name: ruby-pkg_3.4_debian-13_jemalloc path: artifacts/ruby-pkg_3.4_debian-13_jemalloc @@ -1401,6 +3830,150 @@ jobs: name: ruby-pkg_3.3.9_debian-13_malloctrim path: artifacts/ruby-pkg_3.3.9_debian-13_malloctrim compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.4_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.4_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.4_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.3_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.3_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.3_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.3_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.3_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.3_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.3_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.2_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.2_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.2_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.2_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.2_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.2_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.2_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.1_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.1_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.1_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.1_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.1_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.1_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.1_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4.6_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.4.6_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4.6_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.4.6_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.4.6_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.4.6_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.4.6_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.3.9_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.3.9_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.3.9_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.3.9_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.3.9_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.3.9_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.3.9_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.2.9_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.2.9_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.2.9_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.2.9_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.2.9_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.2.9_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.2.9_ubuntu-24.04_malloctrim + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-24.04_normal] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.1.7_ubuntu-24.04_normal + path: artifacts/ruby-pkg_3.1.7_ubuntu-24.04_normal + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-24.04_jemalloc] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.1.7_ubuntu-24.04_jemalloc + path: artifacts/ruby-pkg_3.1.7_ubuntu-24.04_jemalloc + compression-level: 0 + - name: Archive Ruby package artifact [ruby-pkg_3.1.7_ubuntu-24.04_malloctrim] to Github + uses: actions/upload-artifact@v4 + with: + name: ruby-pkg_3.1.7_ubuntu-24.04_malloctrim + path: artifacts/ruby-pkg_3.1.7_ubuntu-24.04_malloctrim + compression-level: 0 ### Check whether dependent jobs failed ### @@ -1412,6 +3985,9 @@ jobs: || (needs.build_jemalloc_debian_13.result != 'success' && (needs.build_jemalloc_debian_13.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Jemalloc [debian-13];'))) + || (needs.build_jemalloc_ubuntu_24_04.result != 'success' + && (needs.build_jemalloc_ubuntu_24_04.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Jemalloc [ubuntu-24.04];'))) - name: Check whether 'Ruby [debian-13]' job did not fail run: 'false' if: | @@ -1452,3 +4028,79 @@ jobs: || (needs.build_ruby_debian_13-3_3_9-malloctrim.result != 'success' && (needs.build_ruby_debian_13-3_3_9-malloctrim.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Ruby [debian-13/3.3.9/malloctrim];'))) + - name: Check whether 'Ruby [ubuntu-24.04]' job did not fail + run: 'false' + if: | + false + || (needs.build_ruby_ubuntu_24_04-3_4-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_4-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_4-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_4-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_4-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_4-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_3-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_3-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_3-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_3-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_3-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_3-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_2-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_2-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_2-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_2-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_2-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_2-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_1-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_1-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_1-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_1-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_1-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_1-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_4_6-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_4_6-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_4_6-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_4_6-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_4_6-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_4_6-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.4.6/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_3_9-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_3_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_3_9-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_3_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_3_9-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_3_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.3.9/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_2_9-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_2_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_2_9-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_2_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_2_9-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_2_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.2.9/malloctrim];'))) + || (needs.build_ruby_ubuntu_24_04-3_1_7-normal.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_1_7-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/normal];'))) + || (needs.build_ruby_ubuntu_24_04-3_1_7-jemalloc.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_1_7-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/jemalloc];'))) + || (needs.build_ruby_ubuntu_24_04-3_1_7-malloctrim.result != 'success' + && (needs.build_ruby_ubuntu_24_04-3_1_7-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Ruby [ubuntu-24.04/3.1.7/malloctrim];'))) diff --git a/.github/workflows/ci-cd-prepare.yml b/.github/workflows/ci-cd-prepare.yml index 5de0a94..965126f 100644 --- a/.github/workflows/ci-cd-prepare.yml +++ b/.github/workflows/ci-cd-prepare.yml @@ -297,6 +297,48 @@ jobs: ARTIFACT_PATH: output CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + build_docker_image_el_10: + name: 'Build Docker image [el-10]' + runs-on: ubuntu-24.04 + permissions: + id-token: write + environment: test + if: contains(inputs.necessary_jobs, ';Build Docker image el-10;') + steps: + - uses: actions/checkout@v4 + - uses: azure/login@v2 + with: + tenant-id: ${{ vars.AZURE_TENANT_ID }} + client-id: ${{ vars.AZURE_CLIENT_ID }} + subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Build + run: ./internal-scripts/ci-cd/build-docker-images/build.sh + env: + IMAGE_NAME: 'ghcr.io/fullstaq-ruby/server-edition-ci-images' + IMAGE_TAG: 'el-10-v1' + SOURCE_DIR: 'environments/el-10' + + - name: Dump image + run: ./internal-scripts/ci-cd/build-docker-images/dump-image.sh + env: + IMAGE_NAME: 'ghcr.io/fullstaq-ruby/server-edition-ci-images' + IMAGE_TAG: 'el-10-v1' + - name: Archive artifact + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: 'docker-image-el-10' + ARTIFACT_PATH: output + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + build_docker_image_el_9: name: 'Build Docker image [el-9]' runs-on: ubuntu-24.04 @@ -960,6 +1002,7 @@ jobs: - build_docker_image_debian_11 - build_docker_image_debian_12 - build_docker_image_debian_13 + - build_docker_image_el_10 - build_docker_image_el_9 - build_docker_image_ubuntu_22_04 - build_docker_image_ubuntu_24_04 @@ -1083,6 +1126,20 @@ jobs: with: name: 'docker-image-debian-13' path: artifacts + - name: Download Docker image artifact [el-10] from Google Cloud + run: ./internal-scripts/ci-cd/download-artifact.sh + if: contains(inputs.necessary_jobs, ';Build Docker image el-10;') + env: + ARTIFACT_NAME: 'docker-image-el-10' + ARTIFACT_PATH: artifacts + CLEAR: true + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + - name: Archive Docker image artifact [el-10] to Github + uses: actions/upload-artifact@v4 + if: contains(inputs.necessary_jobs, ';Build Docker image el-10;') + with: + name: 'docker-image-el-10' + path: artifacts - name: Download Docker image artifact [el-9] from Google Cloud run: ./internal-scripts/ci-cd/download-artifact.sh if: contains(inputs.necessary_jobs, ';Build Docker image el-9;') @@ -1284,6 +1341,9 @@ jobs: || (needs.build_docker_image_debian_13.result != 'success' && (needs.build_docker_image_debian_13.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Docker image debian-13;'))) + || (needs.build_docker_image_el_10.result != 'success' + && (needs.build_docker_image_el_10.result != 'skipped' + || contains(inputs.necessary_jobs, ';Build Docker image el-10;'))) || (needs.build_docker_image_el_9.result != 'success' && (needs.build_docker_image_el_9.result != 'skipped' || contains(inputs.necessary_jobs, ';Build Docker image el-9;'))) diff --git a/.github/workflows/ci-cd-publish-test-production.yml b/.github/workflows/ci-cd-publish-test-production.yml index 43ae4b9..9b2ddcf 100644 --- a/.github/workflows/ci-cd-publish-test-production.yml +++ b/.github/workflows/ci-cd-publish-test-production.yml @@ -68,7 +68,7 @@ jobs: common-rpm rbenv-deb rbenv-rpm - ruby-pkg_3.4_centos-8_normal ruby-pkg_3.4_centos-8_jemalloc ruby-pkg_3.4_centos-8_malloctrim ruby-pkg_3.3_centos-8_normal ruby-pkg_3.3_centos-8_jemalloc ruby-pkg_3.3_centos-8_malloctrim ruby-pkg_3.2_centos-8_normal ruby-pkg_3.2_centos-8_jemalloc ruby-pkg_3.2_centos-8_malloctrim ruby-pkg_3.4.6_centos-8_normal ruby-pkg_3.4.6_centos-8_jemalloc ruby-pkg_3.4.6_centos-8_malloctrim ruby-pkg_3.3.9_centos-8_normal ruby-pkg_3.3.9_centos-8_jemalloc ruby-pkg_3.3.9_centos-8_malloctrim ruby-pkg_3.2.9_centos-8_normal ruby-pkg_3.2.9_centos-8_jemalloc ruby-pkg_3.2.9_centos-8_malloctrim ruby-pkg_3.4_debian-11_normal ruby-pkg_3.4_debian-11_jemalloc ruby-pkg_3.4_debian-11_malloctrim ruby-pkg_3.3_debian-11_normal ruby-pkg_3.3_debian-11_jemalloc ruby-pkg_3.3_debian-11_malloctrim ruby-pkg_3.2_debian-11_normal ruby-pkg_3.2_debian-11_jemalloc ruby-pkg_3.2_debian-11_malloctrim ruby-pkg_3.1_debian-11_normal ruby-pkg_3.1_debian-11_jemalloc ruby-pkg_3.1_debian-11_malloctrim ruby-pkg_3.4.6_debian-11_normal ruby-pkg_3.4.6_debian-11_jemalloc ruby-pkg_3.4.6_debian-11_malloctrim ruby-pkg_3.3.9_debian-11_normal ruby-pkg_3.3.9_debian-11_jemalloc ruby-pkg_3.3.9_debian-11_malloctrim ruby-pkg_3.2.9_debian-11_normal ruby-pkg_3.2.9_debian-11_jemalloc ruby-pkg_3.2.9_debian-11_malloctrim ruby-pkg_3.1.7_debian-11_normal ruby-pkg_3.1.7_debian-11_jemalloc ruby-pkg_3.1.7_debian-11_malloctrim ruby-pkg_3.4_debian-12_normal ruby-pkg_3.4_debian-12_jemalloc ruby-pkg_3.4_debian-12_malloctrim ruby-pkg_3.3_debian-12_normal ruby-pkg_3.3_debian-12_jemalloc ruby-pkg_3.3_debian-12_malloctrim ruby-pkg_3.2_debian-12_normal ruby-pkg_3.2_debian-12_jemalloc ruby-pkg_3.2_debian-12_malloctrim ruby-pkg_3.4.6_debian-12_normal ruby-pkg_3.4.6_debian-12_jemalloc ruby-pkg_3.4.6_debian-12_malloctrim ruby-pkg_3.3.9_debian-12_normal ruby-pkg_3.3.9_debian-12_jemalloc ruby-pkg_3.3.9_debian-12_malloctrim ruby-pkg_3.2.9_debian-12_normal ruby-pkg_3.2.9_debian-12_jemalloc ruby-pkg_3.2.9_debian-12_malloctrim ruby-pkg_3.4_debian-13_normal ruby-pkg_3.4_debian-13_jemalloc ruby-pkg_3.4_debian-13_malloctrim ruby-pkg_3.3_debian-13_normal ruby-pkg_3.3_debian-13_jemalloc ruby-pkg_3.3_debian-13_malloctrim ruby-pkg_3.4.6_debian-13_normal ruby-pkg_3.4.6_debian-13_jemalloc ruby-pkg_3.4.6_debian-13_malloctrim ruby-pkg_3.3.9_debian-13_normal ruby-pkg_3.3.9_debian-13_jemalloc ruby-pkg_3.3.9_debian-13_malloctrim ruby-pkg_3.4_el-9_normal ruby-pkg_3.4_el-9_jemalloc ruby-pkg_3.4_el-9_malloctrim ruby-pkg_3.3_el-9_normal ruby-pkg_3.3_el-9_jemalloc ruby-pkg_3.3_el-9_malloctrim ruby-pkg_3.2_el-9_normal ruby-pkg_3.2_el-9_jemalloc ruby-pkg_3.2_el-9_malloctrim ruby-pkg_3.1_el-9_normal ruby-pkg_3.1_el-9_jemalloc ruby-pkg_3.1_el-9_malloctrim ruby-pkg_3.4.6_el-9_normal ruby-pkg_3.4.6_el-9_jemalloc ruby-pkg_3.4.6_el-9_malloctrim ruby-pkg_3.3.9_el-9_normal ruby-pkg_3.3.9_el-9_jemalloc ruby-pkg_3.3.9_el-9_malloctrim ruby-pkg_3.2.9_el-9_normal ruby-pkg_3.2.9_el-9_jemalloc ruby-pkg_3.2.9_el-9_malloctrim ruby-pkg_3.1.7_el-9_normal ruby-pkg_3.1.7_el-9_jemalloc ruby-pkg_3.1.7_el-9_malloctrim ruby-pkg_3.4_ubuntu-22.04_normal ruby-pkg_3.4_ubuntu-22.04_jemalloc ruby-pkg_3.4_ubuntu-22.04_malloctrim ruby-pkg_3.3_ubuntu-22.04_normal ruby-pkg_3.3_ubuntu-22.04_jemalloc ruby-pkg_3.3_ubuntu-22.04_malloctrim ruby-pkg_3.2_ubuntu-22.04_normal ruby-pkg_3.2_ubuntu-22.04_jemalloc ruby-pkg_3.2_ubuntu-22.04_malloctrim ruby-pkg_3.1_ubuntu-22.04_normal ruby-pkg_3.1_ubuntu-22.04_jemalloc ruby-pkg_3.1_ubuntu-22.04_malloctrim ruby-pkg_3.4.6_ubuntu-22.04_normal ruby-pkg_3.4.6_ubuntu-22.04_jemalloc ruby-pkg_3.4.6_ubuntu-22.04_malloctrim ruby-pkg_3.3.9_ubuntu-22.04_normal ruby-pkg_3.3.9_ubuntu-22.04_jemalloc ruby-pkg_3.3.9_ubuntu-22.04_malloctrim ruby-pkg_3.2.9_ubuntu-22.04_normal ruby-pkg_3.2.9_ubuntu-22.04_jemalloc ruby-pkg_3.2.9_ubuntu-22.04_malloctrim ruby-pkg_3.1.7_ubuntu-22.04_normal ruby-pkg_3.1.7_ubuntu-22.04_jemalloc ruby-pkg_3.1.7_ubuntu-22.04_malloctrim ruby-pkg_3.4_ubuntu-24.04_normal ruby-pkg_3.4_ubuntu-24.04_jemalloc ruby-pkg_3.4_ubuntu-24.04_malloctrim ruby-pkg_3.3_ubuntu-24.04_normal ruby-pkg_3.3_ubuntu-24.04_jemalloc ruby-pkg_3.3_ubuntu-24.04_malloctrim ruby-pkg_3.2_ubuntu-24.04_normal ruby-pkg_3.2_ubuntu-24.04_jemalloc ruby-pkg_3.2_ubuntu-24.04_malloctrim ruby-pkg_3.1_ubuntu-24.04_normal ruby-pkg_3.1_ubuntu-24.04_jemalloc ruby-pkg_3.1_ubuntu-24.04_malloctrim ruby-pkg_3.4.6_ubuntu-24.04_normal ruby-pkg_3.4.6_ubuntu-24.04_jemalloc ruby-pkg_3.4.6_ubuntu-24.04_malloctrim ruby-pkg_3.3.9_ubuntu-24.04_normal ruby-pkg_3.3.9_ubuntu-24.04_jemalloc ruby-pkg_3.3.9_ubuntu-24.04_malloctrim ruby-pkg_3.2.9_ubuntu-24.04_normal ruby-pkg_3.2.9_ubuntu-24.04_jemalloc ruby-pkg_3.2.9_ubuntu-24.04_malloctrim ruby-pkg_3.1.7_ubuntu-24.04_normal ruby-pkg_3.1.7_ubuntu-24.04_jemalloc ruby-pkg_3.1.7_ubuntu-24.04_malloctrim + ruby-pkg_3.4_centos-8_normal ruby-pkg_3.4_centos-8_jemalloc ruby-pkg_3.4_centos-8_malloctrim ruby-pkg_3.3_centos-8_normal ruby-pkg_3.3_centos-8_jemalloc ruby-pkg_3.3_centos-8_malloctrim ruby-pkg_3.2_centos-8_normal ruby-pkg_3.2_centos-8_jemalloc ruby-pkg_3.2_centos-8_malloctrim ruby-pkg_3.4.6_centos-8_normal ruby-pkg_3.4.6_centos-8_jemalloc ruby-pkg_3.4.6_centos-8_malloctrim ruby-pkg_3.3.9_centos-8_normal ruby-pkg_3.3.9_centos-8_jemalloc ruby-pkg_3.3.9_centos-8_malloctrim ruby-pkg_3.2.9_centos-8_normal ruby-pkg_3.2.9_centos-8_jemalloc ruby-pkg_3.2.9_centos-8_malloctrim ruby-pkg_3.4_debian-11_normal ruby-pkg_3.4_debian-11_jemalloc ruby-pkg_3.4_debian-11_malloctrim ruby-pkg_3.3_debian-11_normal ruby-pkg_3.3_debian-11_jemalloc ruby-pkg_3.3_debian-11_malloctrim ruby-pkg_3.2_debian-11_normal ruby-pkg_3.2_debian-11_jemalloc ruby-pkg_3.2_debian-11_malloctrim ruby-pkg_3.1_debian-11_normal ruby-pkg_3.1_debian-11_jemalloc ruby-pkg_3.1_debian-11_malloctrim ruby-pkg_3.4.6_debian-11_normal ruby-pkg_3.4.6_debian-11_jemalloc ruby-pkg_3.4.6_debian-11_malloctrim ruby-pkg_3.3.9_debian-11_normal ruby-pkg_3.3.9_debian-11_jemalloc ruby-pkg_3.3.9_debian-11_malloctrim ruby-pkg_3.2.9_debian-11_normal ruby-pkg_3.2.9_debian-11_jemalloc ruby-pkg_3.2.9_debian-11_malloctrim ruby-pkg_3.1.7_debian-11_normal ruby-pkg_3.1.7_debian-11_jemalloc ruby-pkg_3.1.7_debian-11_malloctrim ruby-pkg_3.4_debian-12_normal ruby-pkg_3.4_debian-12_jemalloc ruby-pkg_3.4_debian-12_malloctrim ruby-pkg_3.3_debian-12_normal ruby-pkg_3.3_debian-12_jemalloc ruby-pkg_3.3_debian-12_malloctrim ruby-pkg_3.2_debian-12_normal ruby-pkg_3.2_debian-12_jemalloc ruby-pkg_3.2_debian-12_malloctrim ruby-pkg_3.4.6_debian-12_normal ruby-pkg_3.4.6_debian-12_jemalloc ruby-pkg_3.4.6_debian-12_malloctrim ruby-pkg_3.3.9_debian-12_normal ruby-pkg_3.3.9_debian-12_jemalloc ruby-pkg_3.3.9_debian-12_malloctrim ruby-pkg_3.2.9_debian-12_normal ruby-pkg_3.2.9_debian-12_jemalloc ruby-pkg_3.2.9_debian-12_malloctrim ruby-pkg_3.4_debian-13_normal ruby-pkg_3.4_debian-13_jemalloc ruby-pkg_3.4_debian-13_malloctrim ruby-pkg_3.3_debian-13_normal ruby-pkg_3.3_debian-13_jemalloc ruby-pkg_3.3_debian-13_malloctrim ruby-pkg_3.4.6_debian-13_normal ruby-pkg_3.4.6_debian-13_jemalloc ruby-pkg_3.4.6_debian-13_malloctrim ruby-pkg_3.3.9_debian-13_normal ruby-pkg_3.3.9_debian-13_jemalloc ruby-pkg_3.3.9_debian-13_malloctrim ruby-pkg_3.4_el-10_normal ruby-pkg_3.4_el-10_jemalloc ruby-pkg_3.4_el-10_malloctrim ruby-pkg_3.3_el-10_normal ruby-pkg_3.3_el-10_jemalloc ruby-pkg_3.3_el-10_malloctrim ruby-pkg_3.4.6_el-10_normal ruby-pkg_3.4.6_el-10_jemalloc ruby-pkg_3.4.6_el-10_malloctrim ruby-pkg_3.3.9_el-10_normal ruby-pkg_3.3.9_el-10_jemalloc ruby-pkg_3.3.9_el-10_malloctrim ruby-pkg_3.4_el-9_normal ruby-pkg_3.4_el-9_jemalloc ruby-pkg_3.4_el-9_malloctrim ruby-pkg_3.3_el-9_normal ruby-pkg_3.3_el-9_jemalloc ruby-pkg_3.3_el-9_malloctrim ruby-pkg_3.2_el-9_normal ruby-pkg_3.2_el-9_jemalloc ruby-pkg_3.2_el-9_malloctrim ruby-pkg_3.1_el-9_normal ruby-pkg_3.1_el-9_jemalloc ruby-pkg_3.1_el-9_malloctrim ruby-pkg_3.4.6_el-9_normal ruby-pkg_3.4.6_el-9_jemalloc ruby-pkg_3.4.6_el-9_malloctrim ruby-pkg_3.3.9_el-9_normal ruby-pkg_3.3.9_el-9_jemalloc ruby-pkg_3.3.9_el-9_malloctrim ruby-pkg_3.2.9_el-9_normal ruby-pkg_3.2.9_el-9_jemalloc ruby-pkg_3.2.9_el-9_malloctrim ruby-pkg_3.1.7_el-9_normal ruby-pkg_3.1.7_el-9_jemalloc ruby-pkg_3.1.7_el-9_malloctrim ruby-pkg_3.4_ubuntu-22.04_normal ruby-pkg_3.4_ubuntu-22.04_jemalloc ruby-pkg_3.4_ubuntu-22.04_malloctrim ruby-pkg_3.3_ubuntu-22.04_normal ruby-pkg_3.3_ubuntu-22.04_jemalloc ruby-pkg_3.3_ubuntu-22.04_malloctrim ruby-pkg_3.2_ubuntu-22.04_normal ruby-pkg_3.2_ubuntu-22.04_jemalloc ruby-pkg_3.2_ubuntu-22.04_malloctrim ruby-pkg_3.1_ubuntu-22.04_normal ruby-pkg_3.1_ubuntu-22.04_jemalloc ruby-pkg_3.1_ubuntu-22.04_malloctrim ruby-pkg_3.4.6_ubuntu-22.04_normal ruby-pkg_3.4.6_ubuntu-22.04_jemalloc ruby-pkg_3.4.6_ubuntu-22.04_malloctrim ruby-pkg_3.3.9_ubuntu-22.04_normal ruby-pkg_3.3.9_ubuntu-22.04_jemalloc ruby-pkg_3.3.9_ubuntu-22.04_malloctrim ruby-pkg_3.2.9_ubuntu-22.04_normal ruby-pkg_3.2.9_ubuntu-22.04_jemalloc ruby-pkg_3.2.9_ubuntu-22.04_malloctrim ruby-pkg_3.1.7_ubuntu-22.04_normal ruby-pkg_3.1.7_ubuntu-22.04_jemalloc ruby-pkg_3.1.7_ubuntu-22.04_malloctrim ruby-pkg_3.4_ubuntu-24.04_normal ruby-pkg_3.4_ubuntu-24.04_jemalloc ruby-pkg_3.4_ubuntu-24.04_malloctrim ruby-pkg_3.3_ubuntu-24.04_normal ruby-pkg_3.3_ubuntu-24.04_jemalloc ruby-pkg_3.3_ubuntu-24.04_malloctrim ruby-pkg_3.2_ubuntu-24.04_normal ruby-pkg_3.2_ubuntu-24.04_jemalloc ruby-pkg_3.2_ubuntu-24.04_malloctrim ruby-pkg_3.1_ubuntu-24.04_normal ruby-pkg_3.1_ubuntu-24.04_jemalloc ruby-pkg_3.1_ubuntu-24.04_malloctrim ruby-pkg_3.4.6_ubuntu-24.04_normal ruby-pkg_3.4.6_ubuntu-24.04_jemalloc ruby-pkg_3.4.6_ubuntu-24.04_malloctrim ruby-pkg_3.3.9_ubuntu-24.04_normal ruby-pkg_3.3.9_ubuntu-24.04_jemalloc ruby-pkg_3.3.9_ubuntu-24.04_malloctrim ruby-pkg_3.2.9_ubuntu-24.04_normal ruby-pkg_3.2.9_ubuntu-24.04_jemalloc ruby-pkg_3.2.9_ubuntu-24.04_malloctrim ruby-pkg_3.1.7_ubuntu-24.04_normal ruby-pkg_3.1.7_ubuntu-24.04_jemalloc ruby-pkg_3.1.7_ubuntu-24.04_malloctrim ARTIFACT_PATH: pkgs CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -3234,6 +3234,523 @@ jobs: ARTIFACT_PATH: mark-malloctrim CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4-normal: + name: 'Test [el-10/3.4/normal]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.4_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4-jemalloc: + name: 'Test [el-10/3.4/jemalloc]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.4_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4-malloctrim: + name: 'Test [el-10/3.4/malloctrim]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.4_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_3-normal: + name: 'Test [el-10/3.3/normal]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.3_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_3-jemalloc: + name: 'Test [el-10/3.3/jemalloc]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.3_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_3-malloctrim: + name: 'Test [el-10/3.3/malloctrim]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.3_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4_6-normal: + name: 'Test [el-10/3.4.6/normal]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4.6/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4.6" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.4.6_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4_6-jemalloc: + name: 'Test [el-10/3.4.6/jemalloc]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4.6/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4.6" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.4.6_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4_6-malloctrim: + name: 'Test [el-10/3.4.6/malloctrim]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4.6/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4.6" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.4.6_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_3_9-normal: + name: 'Test [el-10/3.3.9/normal]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3.9/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3.9" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.3.9_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_3_9-jemalloc: + name: 'Test [el-10/3.3.9/jemalloc]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3.9/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3.9" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.3.9_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_3_9-malloctrim: + name: 'Test [el-10/3.3.9/malloctrim]' + needs: + - publish + runs-on: ubuntu-22.04 + environment: test + timeout-minutes: 30 + if: | + github.ref == 'refs/heads/main' + && contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3.9/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3.9" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://apt.fullstaqruby.org + YUM_REPO_URL: https://yum.fullstaqruby.org + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-production-el-10_3.3.9_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_9-3_4-normal: name: 'Test [el-9/3.4/normal]' needs: @@ -6416,6 +6933,18 @@ jobs: - test_debian_13-3_3_9-normal - test_debian_13-3_3_9-jemalloc - test_debian_13-3_3_9-malloctrim + - test_el_10-3_4-normal + - test_el_10-3_4-jemalloc + - test_el_10-3_4-malloctrim + - test_el_10-3_3-normal + - test_el_10-3_3-jemalloc + - test_el_10-3_3-malloctrim + - test_el_10-3_4_6-normal + - test_el_10-3_4_6-jemalloc + - test_el_10-3_4_6-malloctrim + - test_el_10-3_3_9-normal + - test_el_10-3_3_9-jemalloc + - test_el_10-3_3_9-malloctrim - test_el_9-3_4-normal - test_el_9-3_4-jemalloc - test_el_9-3_4-malloctrim @@ -7006,6 +7535,90 @@ jobs: && needs.test_debian_13-3_3_9-malloctrim.result != 'success' && (needs.test_debian_13-3_3_9-malloctrim.result != 'skipped' || contains(inputs.necessary_jobs, ';Test against production repo [debian-13/3.3.9/malloctrim];')) + - name: Check whether 'Test [el-10/3.4/normal]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_4-normal.result != 'success' + && (needs.test_el_10-3_4-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4/normal];')) + - name: Check whether 'Test [el-10/3.4/jemalloc]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_4-jemalloc.result != 'success' + && (needs.test_el_10-3_4-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4/jemalloc];')) + - name: Check whether 'Test [el-10/3.4/malloctrim]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_4-malloctrim.result != 'success' + && (needs.test_el_10-3_4-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4/malloctrim];')) + - name: Check whether 'Test [el-10/3.3/normal]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_3-normal.result != 'success' + && (needs.test_el_10-3_3-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3/normal];')) + - name: Check whether 'Test [el-10/3.3/jemalloc]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_3-jemalloc.result != 'success' + && (needs.test_el_10-3_3-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3/jemalloc];')) + - name: Check whether 'Test [el-10/3.3/malloctrim]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_3-malloctrim.result != 'success' + && (needs.test_el_10-3_3-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3/malloctrim];')) + - name: Check whether 'Test [el-10/3.4.6/normal]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_4_6-normal.result != 'success' + && (needs.test_el_10-3_4_6-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4.6/normal];')) + - name: Check whether 'Test [el-10/3.4.6/jemalloc]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_4_6-jemalloc.result != 'success' + && (needs.test_el_10-3_4_6-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4.6/jemalloc];')) + - name: Check whether 'Test [el-10/3.4.6/malloctrim]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_4_6-malloctrim.result != 'success' + && (needs.test_el_10-3_4_6-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.4.6/malloctrim];')) + - name: Check whether 'Test [el-10/3.3.9/normal]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_3_9-normal.result != 'success' + && (needs.test_el_10-3_3_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3.9/normal];')) + - name: Check whether 'Test [el-10/3.3.9/jemalloc]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_3_9-jemalloc.result != 'success' + && (needs.test_el_10-3_3_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3.9/jemalloc];')) + - name: Check whether 'Test [el-10/3.3.9/malloctrim]' did not fail + run: 'false' + if: | + github.ref == 'refs/heads/main' + && needs.test_el_10-3_3_9-malloctrim.result != 'success' + && (needs.test_el_10-3_3_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against production repo [el-10/3.3.9/malloctrim];')) - name: Check whether 'Test [el-9/3.4/normal]' did not fail run: 'false' if: | diff --git a/.github/workflows/ci-cd-publish-test-test.yml b/.github/workflows/ci-cd-publish-test-test.yml index 42c52d5..a8c2b26 100644 --- a/.github/workflows/ci-cd-publish-test-test.yml +++ b/.github/workflows/ci-cd-publish-test-test.yml @@ -68,7 +68,7 @@ jobs: common-rpm rbenv-deb rbenv-rpm - ruby-pkg_3.4_centos-8_normal ruby-pkg_3.4_centos-8_jemalloc ruby-pkg_3.4_centos-8_malloctrim ruby-pkg_3.3_centos-8_normal ruby-pkg_3.3_centos-8_jemalloc ruby-pkg_3.3_centos-8_malloctrim ruby-pkg_3.2_centos-8_normal ruby-pkg_3.2_centos-8_jemalloc ruby-pkg_3.2_centos-8_malloctrim ruby-pkg_3.4.6_centos-8_normal ruby-pkg_3.4.6_centos-8_jemalloc ruby-pkg_3.4.6_centos-8_malloctrim ruby-pkg_3.3.9_centos-8_normal ruby-pkg_3.3.9_centos-8_jemalloc ruby-pkg_3.3.9_centos-8_malloctrim ruby-pkg_3.2.9_centos-8_normal ruby-pkg_3.2.9_centos-8_jemalloc ruby-pkg_3.2.9_centos-8_malloctrim ruby-pkg_3.4_debian-11_normal ruby-pkg_3.4_debian-11_jemalloc ruby-pkg_3.4_debian-11_malloctrim ruby-pkg_3.3_debian-11_normal ruby-pkg_3.3_debian-11_jemalloc ruby-pkg_3.3_debian-11_malloctrim ruby-pkg_3.2_debian-11_normal ruby-pkg_3.2_debian-11_jemalloc ruby-pkg_3.2_debian-11_malloctrim ruby-pkg_3.1_debian-11_normal ruby-pkg_3.1_debian-11_jemalloc ruby-pkg_3.1_debian-11_malloctrim ruby-pkg_3.4.6_debian-11_normal ruby-pkg_3.4.6_debian-11_jemalloc ruby-pkg_3.4.6_debian-11_malloctrim ruby-pkg_3.3.9_debian-11_normal ruby-pkg_3.3.9_debian-11_jemalloc ruby-pkg_3.3.9_debian-11_malloctrim ruby-pkg_3.2.9_debian-11_normal ruby-pkg_3.2.9_debian-11_jemalloc ruby-pkg_3.2.9_debian-11_malloctrim ruby-pkg_3.1.7_debian-11_normal ruby-pkg_3.1.7_debian-11_jemalloc ruby-pkg_3.1.7_debian-11_malloctrim ruby-pkg_3.4_debian-12_normal ruby-pkg_3.4_debian-12_jemalloc ruby-pkg_3.4_debian-12_malloctrim ruby-pkg_3.3_debian-12_normal ruby-pkg_3.3_debian-12_jemalloc ruby-pkg_3.3_debian-12_malloctrim ruby-pkg_3.2_debian-12_normal ruby-pkg_3.2_debian-12_jemalloc ruby-pkg_3.2_debian-12_malloctrim ruby-pkg_3.4.6_debian-12_normal ruby-pkg_3.4.6_debian-12_jemalloc ruby-pkg_3.4.6_debian-12_malloctrim ruby-pkg_3.3.9_debian-12_normal ruby-pkg_3.3.9_debian-12_jemalloc ruby-pkg_3.3.9_debian-12_malloctrim ruby-pkg_3.2.9_debian-12_normal ruby-pkg_3.2.9_debian-12_jemalloc ruby-pkg_3.2.9_debian-12_malloctrim ruby-pkg_3.4_debian-13_normal ruby-pkg_3.4_debian-13_jemalloc ruby-pkg_3.4_debian-13_malloctrim ruby-pkg_3.3_debian-13_normal ruby-pkg_3.3_debian-13_jemalloc ruby-pkg_3.3_debian-13_malloctrim ruby-pkg_3.4.6_debian-13_normal ruby-pkg_3.4.6_debian-13_jemalloc ruby-pkg_3.4.6_debian-13_malloctrim ruby-pkg_3.3.9_debian-13_normal ruby-pkg_3.3.9_debian-13_jemalloc ruby-pkg_3.3.9_debian-13_malloctrim ruby-pkg_3.4_el-9_normal ruby-pkg_3.4_el-9_jemalloc ruby-pkg_3.4_el-9_malloctrim ruby-pkg_3.3_el-9_normal ruby-pkg_3.3_el-9_jemalloc ruby-pkg_3.3_el-9_malloctrim ruby-pkg_3.2_el-9_normal ruby-pkg_3.2_el-9_jemalloc ruby-pkg_3.2_el-9_malloctrim ruby-pkg_3.1_el-9_normal ruby-pkg_3.1_el-9_jemalloc ruby-pkg_3.1_el-9_malloctrim ruby-pkg_3.4.6_el-9_normal ruby-pkg_3.4.6_el-9_jemalloc ruby-pkg_3.4.6_el-9_malloctrim ruby-pkg_3.3.9_el-9_normal ruby-pkg_3.3.9_el-9_jemalloc ruby-pkg_3.3.9_el-9_malloctrim ruby-pkg_3.2.9_el-9_normal ruby-pkg_3.2.9_el-9_jemalloc ruby-pkg_3.2.9_el-9_malloctrim ruby-pkg_3.1.7_el-9_normal ruby-pkg_3.1.7_el-9_jemalloc ruby-pkg_3.1.7_el-9_malloctrim ruby-pkg_3.4_ubuntu-22.04_normal ruby-pkg_3.4_ubuntu-22.04_jemalloc ruby-pkg_3.4_ubuntu-22.04_malloctrim ruby-pkg_3.3_ubuntu-22.04_normal ruby-pkg_3.3_ubuntu-22.04_jemalloc ruby-pkg_3.3_ubuntu-22.04_malloctrim ruby-pkg_3.2_ubuntu-22.04_normal ruby-pkg_3.2_ubuntu-22.04_jemalloc ruby-pkg_3.2_ubuntu-22.04_malloctrim ruby-pkg_3.1_ubuntu-22.04_normal ruby-pkg_3.1_ubuntu-22.04_jemalloc ruby-pkg_3.1_ubuntu-22.04_malloctrim ruby-pkg_3.4.6_ubuntu-22.04_normal ruby-pkg_3.4.6_ubuntu-22.04_jemalloc ruby-pkg_3.4.6_ubuntu-22.04_malloctrim ruby-pkg_3.3.9_ubuntu-22.04_normal ruby-pkg_3.3.9_ubuntu-22.04_jemalloc ruby-pkg_3.3.9_ubuntu-22.04_malloctrim ruby-pkg_3.2.9_ubuntu-22.04_normal ruby-pkg_3.2.9_ubuntu-22.04_jemalloc ruby-pkg_3.2.9_ubuntu-22.04_malloctrim ruby-pkg_3.1.7_ubuntu-22.04_normal ruby-pkg_3.1.7_ubuntu-22.04_jemalloc ruby-pkg_3.1.7_ubuntu-22.04_malloctrim ruby-pkg_3.4_ubuntu-24.04_normal ruby-pkg_3.4_ubuntu-24.04_jemalloc ruby-pkg_3.4_ubuntu-24.04_malloctrim ruby-pkg_3.3_ubuntu-24.04_normal ruby-pkg_3.3_ubuntu-24.04_jemalloc ruby-pkg_3.3_ubuntu-24.04_malloctrim ruby-pkg_3.2_ubuntu-24.04_normal ruby-pkg_3.2_ubuntu-24.04_jemalloc ruby-pkg_3.2_ubuntu-24.04_malloctrim ruby-pkg_3.1_ubuntu-24.04_normal ruby-pkg_3.1_ubuntu-24.04_jemalloc ruby-pkg_3.1_ubuntu-24.04_malloctrim ruby-pkg_3.4.6_ubuntu-24.04_normal ruby-pkg_3.4.6_ubuntu-24.04_jemalloc ruby-pkg_3.4.6_ubuntu-24.04_malloctrim ruby-pkg_3.3.9_ubuntu-24.04_normal ruby-pkg_3.3.9_ubuntu-24.04_jemalloc ruby-pkg_3.3.9_ubuntu-24.04_malloctrim ruby-pkg_3.2.9_ubuntu-24.04_normal ruby-pkg_3.2.9_ubuntu-24.04_jemalloc ruby-pkg_3.2.9_ubuntu-24.04_malloctrim ruby-pkg_3.1.7_ubuntu-24.04_normal ruby-pkg_3.1.7_ubuntu-24.04_jemalloc ruby-pkg_3.1.7_ubuntu-24.04_malloctrim + ruby-pkg_3.4_centos-8_normal ruby-pkg_3.4_centos-8_jemalloc ruby-pkg_3.4_centos-8_malloctrim ruby-pkg_3.3_centos-8_normal ruby-pkg_3.3_centos-8_jemalloc ruby-pkg_3.3_centos-8_malloctrim ruby-pkg_3.2_centos-8_normal ruby-pkg_3.2_centos-8_jemalloc ruby-pkg_3.2_centos-8_malloctrim ruby-pkg_3.4.6_centos-8_normal ruby-pkg_3.4.6_centos-8_jemalloc ruby-pkg_3.4.6_centos-8_malloctrim ruby-pkg_3.3.9_centos-8_normal ruby-pkg_3.3.9_centos-8_jemalloc ruby-pkg_3.3.9_centos-8_malloctrim ruby-pkg_3.2.9_centos-8_normal ruby-pkg_3.2.9_centos-8_jemalloc ruby-pkg_3.2.9_centos-8_malloctrim ruby-pkg_3.4_debian-11_normal ruby-pkg_3.4_debian-11_jemalloc ruby-pkg_3.4_debian-11_malloctrim ruby-pkg_3.3_debian-11_normal ruby-pkg_3.3_debian-11_jemalloc ruby-pkg_3.3_debian-11_malloctrim ruby-pkg_3.2_debian-11_normal ruby-pkg_3.2_debian-11_jemalloc ruby-pkg_3.2_debian-11_malloctrim ruby-pkg_3.1_debian-11_normal ruby-pkg_3.1_debian-11_jemalloc ruby-pkg_3.1_debian-11_malloctrim ruby-pkg_3.4.6_debian-11_normal ruby-pkg_3.4.6_debian-11_jemalloc ruby-pkg_3.4.6_debian-11_malloctrim ruby-pkg_3.3.9_debian-11_normal ruby-pkg_3.3.9_debian-11_jemalloc ruby-pkg_3.3.9_debian-11_malloctrim ruby-pkg_3.2.9_debian-11_normal ruby-pkg_3.2.9_debian-11_jemalloc ruby-pkg_3.2.9_debian-11_malloctrim ruby-pkg_3.1.7_debian-11_normal ruby-pkg_3.1.7_debian-11_jemalloc ruby-pkg_3.1.7_debian-11_malloctrim ruby-pkg_3.4_debian-12_normal ruby-pkg_3.4_debian-12_jemalloc ruby-pkg_3.4_debian-12_malloctrim ruby-pkg_3.3_debian-12_normal ruby-pkg_3.3_debian-12_jemalloc ruby-pkg_3.3_debian-12_malloctrim ruby-pkg_3.2_debian-12_normal ruby-pkg_3.2_debian-12_jemalloc ruby-pkg_3.2_debian-12_malloctrim ruby-pkg_3.4.6_debian-12_normal ruby-pkg_3.4.6_debian-12_jemalloc ruby-pkg_3.4.6_debian-12_malloctrim ruby-pkg_3.3.9_debian-12_normal ruby-pkg_3.3.9_debian-12_jemalloc ruby-pkg_3.3.9_debian-12_malloctrim ruby-pkg_3.2.9_debian-12_normal ruby-pkg_3.2.9_debian-12_jemalloc ruby-pkg_3.2.9_debian-12_malloctrim ruby-pkg_3.4_debian-13_normal ruby-pkg_3.4_debian-13_jemalloc ruby-pkg_3.4_debian-13_malloctrim ruby-pkg_3.3_debian-13_normal ruby-pkg_3.3_debian-13_jemalloc ruby-pkg_3.3_debian-13_malloctrim ruby-pkg_3.4.6_debian-13_normal ruby-pkg_3.4.6_debian-13_jemalloc ruby-pkg_3.4.6_debian-13_malloctrim ruby-pkg_3.3.9_debian-13_normal ruby-pkg_3.3.9_debian-13_jemalloc ruby-pkg_3.3.9_debian-13_malloctrim ruby-pkg_3.4_el-10_normal ruby-pkg_3.4_el-10_jemalloc ruby-pkg_3.4_el-10_malloctrim ruby-pkg_3.3_el-10_normal ruby-pkg_3.3_el-10_jemalloc ruby-pkg_3.3_el-10_malloctrim ruby-pkg_3.4.6_el-10_normal ruby-pkg_3.4.6_el-10_jemalloc ruby-pkg_3.4.6_el-10_malloctrim ruby-pkg_3.3.9_el-10_normal ruby-pkg_3.3.9_el-10_jemalloc ruby-pkg_3.3.9_el-10_malloctrim ruby-pkg_3.4_el-9_normal ruby-pkg_3.4_el-9_jemalloc ruby-pkg_3.4_el-9_malloctrim ruby-pkg_3.3_el-9_normal ruby-pkg_3.3_el-9_jemalloc ruby-pkg_3.3_el-9_malloctrim ruby-pkg_3.2_el-9_normal ruby-pkg_3.2_el-9_jemalloc ruby-pkg_3.2_el-9_malloctrim ruby-pkg_3.1_el-9_normal ruby-pkg_3.1_el-9_jemalloc ruby-pkg_3.1_el-9_malloctrim ruby-pkg_3.4.6_el-9_normal ruby-pkg_3.4.6_el-9_jemalloc ruby-pkg_3.4.6_el-9_malloctrim ruby-pkg_3.3.9_el-9_normal ruby-pkg_3.3.9_el-9_jemalloc ruby-pkg_3.3.9_el-9_malloctrim ruby-pkg_3.2.9_el-9_normal ruby-pkg_3.2.9_el-9_jemalloc ruby-pkg_3.2.9_el-9_malloctrim ruby-pkg_3.1.7_el-9_normal ruby-pkg_3.1.7_el-9_jemalloc ruby-pkg_3.1.7_el-9_malloctrim ruby-pkg_3.4_ubuntu-22.04_normal ruby-pkg_3.4_ubuntu-22.04_jemalloc ruby-pkg_3.4_ubuntu-22.04_malloctrim ruby-pkg_3.3_ubuntu-22.04_normal ruby-pkg_3.3_ubuntu-22.04_jemalloc ruby-pkg_3.3_ubuntu-22.04_malloctrim ruby-pkg_3.2_ubuntu-22.04_normal ruby-pkg_3.2_ubuntu-22.04_jemalloc ruby-pkg_3.2_ubuntu-22.04_malloctrim ruby-pkg_3.1_ubuntu-22.04_normal ruby-pkg_3.1_ubuntu-22.04_jemalloc ruby-pkg_3.1_ubuntu-22.04_malloctrim ruby-pkg_3.4.6_ubuntu-22.04_normal ruby-pkg_3.4.6_ubuntu-22.04_jemalloc ruby-pkg_3.4.6_ubuntu-22.04_malloctrim ruby-pkg_3.3.9_ubuntu-22.04_normal ruby-pkg_3.3.9_ubuntu-22.04_jemalloc ruby-pkg_3.3.9_ubuntu-22.04_malloctrim ruby-pkg_3.2.9_ubuntu-22.04_normal ruby-pkg_3.2.9_ubuntu-22.04_jemalloc ruby-pkg_3.2.9_ubuntu-22.04_malloctrim ruby-pkg_3.1.7_ubuntu-22.04_normal ruby-pkg_3.1.7_ubuntu-22.04_jemalloc ruby-pkg_3.1.7_ubuntu-22.04_malloctrim ruby-pkg_3.4_ubuntu-24.04_normal ruby-pkg_3.4_ubuntu-24.04_jemalloc ruby-pkg_3.4_ubuntu-24.04_malloctrim ruby-pkg_3.3_ubuntu-24.04_normal ruby-pkg_3.3_ubuntu-24.04_jemalloc ruby-pkg_3.3_ubuntu-24.04_malloctrim ruby-pkg_3.2_ubuntu-24.04_normal ruby-pkg_3.2_ubuntu-24.04_jemalloc ruby-pkg_3.2_ubuntu-24.04_malloctrim ruby-pkg_3.1_ubuntu-24.04_normal ruby-pkg_3.1_ubuntu-24.04_jemalloc ruby-pkg_3.1_ubuntu-24.04_malloctrim ruby-pkg_3.4.6_ubuntu-24.04_normal ruby-pkg_3.4.6_ubuntu-24.04_jemalloc ruby-pkg_3.4.6_ubuntu-24.04_malloctrim ruby-pkg_3.3.9_ubuntu-24.04_normal ruby-pkg_3.3.9_ubuntu-24.04_jemalloc ruby-pkg_3.3.9_ubuntu-24.04_malloctrim ruby-pkg_3.2.9_ubuntu-24.04_normal ruby-pkg_3.2.9_ubuntu-24.04_jemalloc ruby-pkg_3.2.9_ubuntu-24.04_malloctrim ruby-pkg_3.1.7_ubuntu-24.04_normal ruby-pkg_3.1.7_ubuntu-24.04_jemalloc ruby-pkg_3.1.7_ubuntu-24.04_malloctrim ARTIFACT_PATH: pkgs CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} @@ -3141,6 +3141,511 @@ jobs: CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + test_el_10-3_4-normal: + name: 'Test [el-10/3.4/normal]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.4_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_4-jemalloc: + name: 'Test [el-10/3.4/jemalloc]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.4_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_4-malloctrim: + name: 'Test [el-10/3.4/malloctrim]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.4_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_3-normal: + name: 'Test [el-10/3.3/normal]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.3_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_3-jemalloc: + name: 'Test [el-10/3.3/jemalloc]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.3_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_3-malloctrim: + name: 'Test [el-10/3.3/malloctrim]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.3_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_4_6-normal: + name: 'Test [el-10/3.4.6/normal]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4.6/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4.6" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.4.6_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_4_6-jemalloc: + name: 'Test [el-10/3.4.6/jemalloc]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4.6/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4.6" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.4.6_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_4_6-malloctrim: + name: 'Test [el-10/3.4.6/malloctrim]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4.6/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.4.6" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.4.6_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_3_9-normal: + name: 'Test [el-10/3.3.9/normal]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3.9/normal];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3.9" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "normal" + VARIANT_PACKAGE_SUFFIX: "" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-normal && touch mark-normal/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.3.9_normal + ARTIFACT_PATH: mark-normal + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_3_9-jemalloc: + name: 'Test [el-10/3.3.9/jemalloc]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3.9/jemalloc];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3.9" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "jemalloc" + VARIANT_PACKAGE_SUFFIX: "-jemalloc" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-jemalloc && touch mark-jemalloc/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.3.9_jemalloc + ARTIFACT_PATH: mark-jemalloc + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_10-3_3_9-malloctrim: + name: 'Test [el-10/3.3.9/malloctrim]' + needs: + - publish + runs-on: ubuntu-24.04 + environment: test + timeout-minutes: 30 + if: contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3.9/malloctrim];') + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 + with: + project_id: ${{ vars.GCLOUD_PROJECT_ID }} + workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v2 + with: + version: '>= 363.0.0' + + - name: Run tests + run: ./internal-scripts/ci-cd/test-packages/run-tests.sh + env: + DISTRIBUTION_NAME: "el-10" + RUBY_PACKAGE_ID: "3.3.9" + PACKAGE_FORMAT: "RPM" + VARIANT_NAME: "malloctrim" + VARIANT_PACKAGE_SUFFIX: "-malloctrim" + TEST_IMAGE_NAME: "rockylinux/rockylinux:10" + APT_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/apt-repo/versions/singleton/public + YUM_REPO_URL: https://storage.googleapis.com/${{ vars.CI_ARTIFACTS_BUCKET }}/${{ env.CI_ARTIFACTS_RUN_NUMBER }}/yum-repo/versions/singleton/public + + - name: Create mark file + run: mkdir mark-malloctrim && touch mark-malloctrim/done.txt + - name: Mark job as done + run: ./internal-scripts/ci-cd/upload-artifact.sh + env: + ARTIFACT_NAME: tested-against-test-el-10_3.3.9_malloctrim + ARTIFACT_PATH: mark-malloctrim + CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }} + + test_el_9-3_4-normal: name: 'Test [el-9/3.4/normal]' needs: @@ -6250,6 +6755,18 @@ jobs: - test_debian_13-3_3_9-normal - test_debian_13-3_3_9-jemalloc - test_debian_13-3_3_9-malloctrim + - test_el_10-3_4-normal + - test_el_10-3_4-jemalloc + - test_el_10-3_4-malloctrim + - test_el_10-3_3-normal + - test_el_10-3_3-jemalloc + - test_el_10-3_3-malloctrim + - test_el_10-3_4_6-normal + - test_el_10-3_4_6-jemalloc + - test_el_10-3_4_6-malloctrim + - test_el_10-3_3_9-normal + - test_el_10-3_3_9-jemalloc + - test_el_10-3_3_9-malloctrim - test_el_9-3_4-normal - test_el_9-3_4-jemalloc - test_el_9-3_4-malloctrim @@ -6766,6 +7283,78 @@ jobs: needs.test_debian_13-3_3_9-malloctrim.result != 'success' && (needs.test_debian_13-3_3_9-malloctrim.result != 'skipped' || contains(inputs.necessary_jobs, ';Test against test repo [debian-13/3.3.9/malloctrim];')) + - name: Check whether 'Test [el-10/3.4/normal]' did not fail + run: 'false' + if: | + needs.test_el_10-3_4-normal.result != 'success' + && (needs.test_el_10-3_4-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4/normal];')) + - name: Check whether 'Test [el-10/3.4/jemalloc]' did not fail + run: 'false' + if: | + needs.test_el_10-3_4-jemalloc.result != 'success' + && (needs.test_el_10-3_4-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4/jemalloc];')) + - name: Check whether 'Test [el-10/3.4/malloctrim]' did not fail + run: 'false' + if: | + needs.test_el_10-3_4-malloctrim.result != 'success' + && (needs.test_el_10-3_4-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4/malloctrim];')) + - name: Check whether 'Test [el-10/3.3/normal]' did not fail + run: 'false' + if: | + needs.test_el_10-3_3-normal.result != 'success' + && (needs.test_el_10-3_3-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3/normal];')) + - name: Check whether 'Test [el-10/3.3/jemalloc]' did not fail + run: 'false' + if: | + needs.test_el_10-3_3-jemalloc.result != 'success' + && (needs.test_el_10-3_3-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3/jemalloc];')) + - name: Check whether 'Test [el-10/3.3/malloctrim]' did not fail + run: 'false' + if: | + needs.test_el_10-3_3-malloctrim.result != 'success' + && (needs.test_el_10-3_3-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3/malloctrim];')) + - name: Check whether 'Test [el-10/3.4.6/normal]' did not fail + run: 'false' + if: | + needs.test_el_10-3_4_6-normal.result != 'success' + && (needs.test_el_10-3_4_6-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4.6/normal];')) + - name: Check whether 'Test [el-10/3.4.6/jemalloc]' did not fail + run: 'false' + if: | + needs.test_el_10-3_4_6-jemalloc.result != 'success' + && (needs.test_el_10-3_4_6-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4.6/jemalloc];')) + - name: Check whether 'Test [el-10/3.4.6/malloctrim]' did not fail + run: 'false' + if: | + needs.test_el_10-3_4_6-malloctrim.result != 'success' + && (needs.test_el_10-3_4_6-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.4.6/malloctrim];')) + - name: Check whether 'Test [el-10/3.3.9/normal]' did not fail + run: 'false' + if: | + needs.test_el_10-3_3_9-normal.result != 'success' + && (needs.test_el_10-3_3_9-normal.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3.9/normal];')) + - name: Check whether 'Test [el-10/3.3.9/jemalloc]' did not fail + run: 'false' + if: | + needs.test_el_10-3_3_9-jemalloc.result != 'success' + && (needs.test_el_10-3_3_9-jemalloc.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3.9/jemalloc];')) + - name: Check whether 'Test [el-10/3.3.9/malloctrim]' did not fail + run: 'false' + if: | + needs.test_el_10-3_3_9-malloctrim.result != 'success' + && (needs.test_el_10-3_3_9-malloctrim.result != 'skipped' + || contains(inputs.necessary_jobs, ';Test against test repo [el-10/3.3.9/malloctrim];')) - name: Check whether 'Test [el-9/3.4/normal]' did not fail run: 'false' if: | diff --git a/README.md b/README.md index e93e184..df0af95 100644 --- a/README.md +++ b/README.md @@ -381,11 +381,22 @@ Fullstaq Ruby, ensures that the right version of Jemalloc is used. We are a bunc > Red Hat Enterprise Linux (RHEL) is the original "Enterprise Linux". Compatible derivatives are CentOS, Rocky Linux and Alma Linux. - * Supported Enterprise Linux versions: 9, 8, 7 + * Supported Enterprise Linux versions: 10, 9, 8 * Supported architectures: x86-64 Add the Fullstaq Ruby repository by creating `/etc/yum.repos.d/fullstaq-ruby.repo`. Pick one of the following: +Enterprise Linux 10: + + [fullstaq-ruby] + name=fullstaq-ruby + baseurl=https://yum.fullstaqruby.org/el-10/$basearch + gpgcheck=0 + repo_gpgcheck=1 + enabled=1 + gpgkey=https://raw.githubusercontent.com/fullstaq-ruby/server-edition/main/fullstaq-ruby.asc + sslverify=1 + Enterprise Linux 9: [fullstaq-ruby] diff --git a/config.yml b/config.yml index 1363b2d..88ed8e9 100644 --- a/config.yml +++ b/config.yml @@ -105,6 +105,7 @@ distributions: all # distributions: # - centos-8 # - el-9 +# - el-10 # - debian-11 # - debian-12 # - ubuntu-22.04 @@ -119,6 +120,8 @@ distribution_exclusions: - debian-12 - debian-13 - centos-8 + - el-10 - ruby_minor_version: '3.2' distros: - debian-13 + - el-10 diff --git a/environments/el-10/Dockerfile b/environments/el-10/Dockerfile new file mode 100644 index 0000000..e6ec8da --- /dev/null +++ b/environments/el-10/Dockerfile @@ -0,0 +1,45 @@ +FROM rockylinux/rockylinux:10 + +# Used to link container image to the repo: +# https://docs.github.com/en/free-pro-team@latest/packages/managing-container-images-with-github-container-registry/connecting-a-repository-to-a-container-image#connecting-a-repository-to-a-container-image-on-the-command-line +LABEL org.opencontainers.image.source=https://github.com/fullstaq-ruby/server-edition + +# If you make a change and you want to force users to re-pull the image +# (e.g. when your change adds a feature that our scripts rely on, or is +# breaking), then bump the version number in the `image_tag` file. + +RUN set -x && \ + dnf install -y dnf-plugins-core epel-release && \ + dnf install -y --enablerepo epel --enablerepo devel --allowerasing \ + findutils gcc gcc-c++ make patch bzip2 curl autoconf automake \ + openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel \ + gdbm-devel ncurses-devel \ + rust-toolset && \ + dnf clean all && \ + rm -rf /tmp/* /var/tmp/* + +RUN curl -fsSLo sccache.tar.gz https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz && \ + tar xzf sccache.tar.gz && \ + mv sccache-*/sccache /usr/local/bin/ && \ + chmod +x /usr/local/bin/sccache && \ + chown root: /usr/local/bin/sccache && \ + rm -rf sccache-* && \ + mkdir /usr/local/lib/sccache && \ + echo -e '#!/bin/sh\nexec /usr/local/bin/sccache /usr/bin/cc "$@"' > /usr/local/lib/sccache/cc && \ + echo -e '#!/bin/sh\nexec /usr/local/bin/sccache /usr/bin/c++ "$@"' > /usr/local/lib/sccache/c++ && \ + echo -e '#!/bin/sh\nexec /usr/local/bin/sccache /usr/bin/gcc "$@"' > /usr/local/lib/sccache/gcc && \ + echo -e '#!/bin/sh\nexec /usr/local/bin/sccache /usr/bin/g++ "$@"' > /usr/local/lib/sccache/g++ && \ + chmod +x /usr/local/lib/sccache/* && \ + \ + curl -fsSLo /sbin/matchhostfsowner.gz https://github.com/FooBarWidget/matchhostfsowner/releases/download/v1.0.1/matchhostfsowner-1.0.1-x86_64-linux.gz && \ + gunzip /sbin/matchhostfsowner.gz && \ + chmod +x,+s /sbin/matchhostfsowner && \ + mkdir /etc/matchhostfsowner && \ + echo 'app_account: builder' > /etc/matchhostfsowner/config.yml && \ + \ + groupadd --gid 9999 builder && \ + adduser --uid 9999 --gid 9999 --password '#' builder && \ + rm -rf /tmp/* /var/tmp/* + +USER builder +ENTRYPOINT ["/sbin/matchhostfsowner"] diff --git a/environments/el-10/image_tag b/environments/el-10/image_tag new file mode 100644 index 0000000..3edd1f0 --- /dev/null +++ b/environments/el-10/image_tag @@ -0,0 +1,4 @@ +# Bump this version whenever you've made a change and you want +# to force users to re-pull the image (e.g. when your change adds +# a feature that our scripts rely on, or is breaking). +1