Skip to content

Commit e5bbb01

Browse files
author
Max Erkin
committed
Adds Ruby 4.0.0
1 parent 732521a commit e5bbb01

8 files changed

Lines changed: 10768 additions & 2004 deletions

.github/workflows/ci-cd-build-packages-1.yml

Lines changed: 1526 additions & 238 deletions
Large diffs are not rendered by default.

.github/workflows/ci-cd-build-packages-2.yml

Lines changed: 1526 additions & 238 deletions
Large diffs are not rendered by default.

.github/workflows/ci-cd-build-packages-3.yml

Lines changed: 1526 additions & 238 deletions
Large diffs are not rendered by default.

.github/workflows/ci-cd-build-packages-4.yml

Lines changed: 690 additions & 46 deletions
Large diffs are not rendered by default.

.github/workflows/ci-cd-prepare.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,40 @@ jobs:
470470
### Sources ###
471471

472472

473+
download_ruby_source_4_0_0:
474+
name: Download Ruby source [4.0.0]
475+
runs-on: ubuntu-24.04
476+
permissions:
477+
id-token: write
478+
environment: test
479+
if: contains(inputs.necessary_jobs, ';Download Ruby source 4.0.0;')
480+
steps:
481+
- uses: actions/checkout@v4
482+
- uses: azure/login@v2
483+
with:
484+
tenant-id: ${{ vars.AZURE_TENANT_ID }}
485+
client-id: ${{ vars.AZURE_CLIENT_ID }}
486+
subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}
487+
- uses: google-github-actions/auth@v2
488+
with:
489+
project_id: ${{ vars.GCLOUD_PROJECT_ID }}
490+
workload_identity_provider: projects/${{ vars.GCLOUD_PROJECT_NUM }}/locations/global/workloadIdentityPools/github-ci-test/providers/github-ci-test
491+
- name: Set up Cloud SDK
492+
uses: google-github-actions/setup-gcloud@v2
493+
with:
494+
version: '>= 363.0.0'
495+
496+
- name: Download
497+
run: ./internal-scripts/ci-cd/download-ruby-sources/download.sh
498+
env:
499+
RUBY_VERSION: 4.0.0
500+
501+
- name: Archive artifact
502+
run: ./internal-scripts/ci-cd/upload-artifact.sh
503+
env:
504+
ARTIFACT_NAME: ruby-src-4.0.0
505+
ARTIFACT_PATH: output
506+
CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }}
473507
download_ruby_source_3_4_8:
474508
name: Download Ruby source [3.4.8]
475509
runs-on: ubuntu-24.04
@@ -930,6 +964,7 @@ jobs:
930964
- build_docker_image_ubuntu_22_04
931965
- build_docker_image_ubuntu_24_04
932966
- build_docker_image_utility
967+
- download_ruby_source_4_0_0
933968
- download_ruby_source_3_4_8
934969
- download_ruby_source_3_3_10
935970
- download_ruby_source_3_2_9
@@ -1106,6 +1141,19 @@ jobs:
11061141
path: artifacts
11071142

11081143

1144+
- name: Download Ruby source artifact [4.0.0] from Google Cloud
1145+
run: ./internal-scripts/ci-cd/download-artifact.sh
1146+
env:
1147+
ARTIFACT_NAME: ruby-src-4.0.0
1148+
ARTIFACT_PATH: artifacts
1149+
CLEAR: true
1150+
CI_ARTIFACTS_BUCKET: ${{ vars.CI_ARTIFACTS_BUCKET }}
1151+
- name: Archive Ruby source artifact [4.0.0] to Github
1152+
uses: actions/upload-artifact@v4
1153+
with:
1154+
name: ruby-src-4.0.0
1155+
path: artifacts
1156+
compression-level: 0
11091157
- name: Download Ruby source artifact [3.4.8] from Google Cloud
11101158
run: ./internal-scripts/ci-cd/download-artifact.sh
11111159
env:
@@ -1252,6 +1300,9 @@ jobs:
12521300
run: 'false'
12531301
if: |
12541302
false
1303+
|| (needs.download_ruby_source_4_0_0.result != 'success'
1304+
&& (needs.download_ruby_source_4_0_0.result != 'skipped'
1305+
|| contains(inputs.necessary_jobs, ';Download Ruby source 4.0.0;')))
12551306
|| (needs.download_ruby_source_3_4_8.result != 'success'
12561307
&& (needs.download_ruby_source_3_4_8.result != 'skipped'
12571308
|| contains(inputs.necessary_jobs, ';Download Ruby source 3.4.8;')))

.github/workflows/ci-cd-publish-test-production.yml

Lines changed: 2820 additions & 678 deletions
Large diffs are not rendered by default.

.github/workflows/ci-cd-publish-test-test.yml

Lines changed: 2624 additions & 566 deletions
Large diffs are not rendered by default.

config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ ruby:
1111
## NOTE: if you change an existing `full_version` value,
1212
## then be sure to bump the corresponding `package_revision`!
1313
minor_version_packages:
14+
- minor_version: '4.0'
15+
full_version: '4.0.0'
16+
package_revision: '0'
1417
- minor_version: '3.4'
1518
full_version: '3.4.8'
1619
package_revision: '7'
@@ -24,6 +27,8 @@ ruby:
2427
## (Optional)
2528
## Which tiny Ruby version packages to build.
2629
tiny_version_packages:
30+
- full_version: '4.0.0'
31+
package_revision: '0'
2732
- full_version: '3.4.8'
2833
package_revision: '0'
2934
- full_version: '3.3.10'

0 commit comments

Comments
 (0)