Skip to content

Commit e37e10b

Browse files
rus-maxMax Erkin
andauthored
Upgrade Ruby to 3.3.3 (#144)
Co-authored-by: Max Erkin <m.erkin@uzum.io>
1 parent bee5ee4 commit e37e10b

8 files changed

+778
-778
lines changed

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

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

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

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

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

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

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

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
- name: Fetch Ruby source
180180
run: ./internal-scripts/ci-cd/download-artifact.sh
181181
env:
182-
ARTIFACT_NAME: ruby-src-3.3.2
182+
ARTIFACT_NAME: ruby-src-3.3.3
183183
ARTIFACT_PATH: .
184184

185185
- name: Download Docker image necessary for building
@@ -224,7 +224,7 @@ jobs:
224224
VARIANT_PACKAGE_SUFFIX: ""
225225
PACKAGE_FORMAT: "DEB"
226226
RUBY_PACKAGE_VERSION_ID: "3.3"
227-
RUBY_PACKAGE_REVISION: "2"
227+
RUBY_PACKAGE_REVISION: "3"
228228

229229
- name: Archive package artifact to Google Cloud
230230
run: ./internal-scripts/ci-cd/upload-artifact.sh
@@ -271,7 +271,7 @@ jobs:
271271
- name: Fetch Ruby source
272272
run: ./internal-scripts/ci-cd/download-artifact.sh
273273
env:
274-
ARTIFACT_NAME: ruby-src-3.3.2
274+
ARTIFACT_NAME: ruby-src-3.3.3
275275
ARTIFACT_PATH: .
276276

277277
- name: Download Docker image necessary for building
@@ -321,7 +321,7 @@ jobs:
321321
VARIANT_PACKAGE_SUFFIX: "-jemalloc"
322322
PACKAGE_FORMAT: "DEB"
323323
RUBY_PACKAGE_VERSION_ID: "3.3"
324-
RUBY_PACKAGE_REVISION: "2"
324+
RUBY_PACKAGE_REVISION: "3"
325325

326326
- name: Archive package artifact to Google Cloud
327327
run: ./internal-scripts/ci-cd/upload-artifact.sh
@@ -362,7 +362,7 @@ jobs:
362362
- name: Fetch Ruby source
363363
run: ./internal-scripts/ci-cd/download-artifact.sh
364364
env:
365-
ARTIFACT_NAME: ruby-src-3.3.2
365+
ARTIFACT_NAME: ruby-src-3.3.3
366366
ARTIFACT_PATH: .
367367

368368
- name: Download Docker image necessary for building
@@ -407,7 +407,7 @@ jobs:
407407
VARIANT_PACKAGE_SUFFIX: "-malloctrim"
408408
PACKAGE_FORMAT: "DEB"
409409
RUBY_PACKAGE_VERSION_ID: "3.3"
410-
RUBY_PACKAGE_REVISION: "2"
410+
RUBY_PACKAGE_REVISION: "3"
411411

412412
- name: Archive package artifact to Google Cloud
413413
run: ./internal-scripts/ci-cd/upload-artifact.sh
@@ -684,8 +684,8 @@ jobs:
684684
ARTIFACT_NAME: "ruby-pkg_3.2_debian-12_malloctrim"
685685
ARTIFACT_PATH: output-malloctrim
686686

687-
build_ruby_debian_12-3_3_2-normal:
688-
name: 'Build Ruby [debian-12/3.3.2/normal]'
687+
build_ruby_debian_12-3_3_3-normal:
688+
name: 'Build Ruby [debian-12/3.3.3/normal]'
689689
runs-on: ubuntu-22.04
690690
timeout-minutes: 30
691691
permissions:
@@ -695,7 +695,7 @@ jobs:
695695

696696
# Run even if a dependent job has been skipped
697697
if: |
698-
contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.2/normal];')
698+
contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.3/normal];')
699699
&& !failure() && !cancelled()
700700
steps:
701701

@@ -717,7 +717,7 @@ jobs:
717717
- name: Fetch Ruby source
718718
run: ./internal-scripts/ci-cd/download-artifact.sh
719719
env:
720-
ARTIFACT_NAME: ruby-src-3.3.2
720+
ARTIFACT_NAME: ruby-src-3.3.3
721721
ARTIFACT_PATH: .
722722

723723
- name: Download Docker image necessary for building
@@ -751,7 +751,7 @@ jobs:
751751
env:
752752
ENVIRONMENT_NAME: "debian-12"
753753
VARIANT_NAME: "normal"
754-
RUBY_PACKAGE_VERSION_ID: "3.3.2"
754+
RUBY_PACKAGE_VERSION_ID: "3.3.3"
755755
CACHE_KEY_PREFIX: "sccache/debian-12"
756756

757757
- name: Build package
@@ -761,17 +761,17 @@ jobs:
761761
VARIANT_NAME: "normal"
762762
VARIANT_PACKAGE_SUFFIX: ""
763763
PACKAGE_FORMAT: "DEB"
764-
RUBY_PACKAGE_VERSION_ID: "3.3.2"
764+
RUBY_PACKAGE_VERSION_ID: "3.3.3"
765765
RUBY_PACKAGE_REVISION: "0"
766766

767767
- name: Archive package artifact to Google Cloud
768768
run: ./internal-scripts/ci-cd/upload-artifact.sh
769769
env:
770-
ARTIFACT_NAME: "ruby-pkg_3.3.2_debian-12_normal"
770+
ARTIFACT_NAME: "ruby-pkg_3.3.3_debian-12_normal"
771771
ARTIFACT_PATH: output-normal
772772

773-
build_ruby_debian_12-3_3_2-jemalloc:
774-
name: 'Build Ruby [debian-12/3.3.2/jemalloc]'
773+
build_ruby_debian_12-3_3_3-jemalloc:
774+
name: 'Build Ruby [debian-12/3.3.3/jemalloc]'
775775
runs-on: ubuntu-22.04
776776
timeout-minutes: 30
777777
permissions:
@@ -782,7 +782,7 @@ jobs:
782782
- build_jemalloc_debian_12
783783
# Run even if a dependent job has been skipped
784784
if: |
785-
contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.2/jemalloc];')
785+
contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.3/jemalloc];')
786786
&& !failure() && !cancelled()
787787
steps:
788788

@@ -809,7 +809,7 @@ jobs:
809809
- name: Fetch Ruby source
810810
run: ./internal-scripts/ci-cd/download-artifact.sh
811811
env:
812-
ARTIFACT_NAME: ruby-src-3.3.2
812+
ARTIFACT_NAME: ruby-src-3.3.3
813813
ARTIFACT_PATH: .
814814

815815
- name: Download Docker image necessary for building
@@ -848,7 +848,7 @@ jobs:
848848
env:
849849
ENVIRONMENT_NAME: "debian-12"
850850
VARIANT_NAME: "jemalloc"
851-
RUBY_PACKAGE_VERSION_ID: "3.3.2"
851+
RUBY_PACKAGE_VERSION_ID: "3.3.3"
852852
CACHE_KEY_PREFIX: "sccache/debian-12"
853853

854854
- name: Build package
@@ -858,17 +858,17 @@ jobs:
858858
VARIANT_NAME: "jemalloc"
859859
VARIANT_PACKAGE_SUFFIX: "-jemalloc"
860860
PACKAGE_FORMAT: "DEB"
861-
RUBY_PACKAGE_VERSION_ID: "3.3.2"
861+
RUBY_PACKAGE_VERSION_ID: "3.3.3"
862862
RUBY_PACKAGE_REVISION: "0"
863863

864864
- name: Archive package artifact to Google Cloud
865865
run: ./internal-scripts/ci-cd/upload-artifact.sh
866866
env:
867-
ARTIFACT_NAME: "ruby-pkg_3.3.2_debian-12_jemalloc"
867+
ARTIFACT_NAME: "ruby-pkg_3.3.3_debian-12_jemalloc"
868868
ARTIFACT_PATH: output-jemalloc
869869

870-
build_ruby_debian_12-3_3_2-malloctrim:
871-
name: 'Build Ruby [debian-12/3.3.2/malloctrim]'
870+
build_ruby_debian_12-3_3_3-malloctrim:
871+
name: 'Build Ruby [debian-12/3.3.3/malloctrim]'
872872
runs-on: ubuntu-22.04
873873
timeout-minutes: 30
874874
permissions:
@@ -878,7 +878,7 @@ jobs:
878878

879879
# Run even if a dependent job has been skipped
880880
if: |
881-
contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.2/malloctrim];')
881+
contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.3/malloctrim];')
882882
&& !failure() && !cancelled()
883883
steps:
884884

@@ -900,7 +900,7 @@ jobs:
900900
- name: Fetch Ruby source
901901
run: ./internal-scripts/ci-cd/download-artifact.sh
902902
env:
903-
ARTIFACT_NAME: ruby-src-3.3.2
903+
ARTIFACT_NAME: ruby-src-3.3.3
904904
ARTIFACT_PATH: .
905905

906906
- name: Download Docker image necessary for building
@@ -934,7 +934,7 @@ jobs:
934934
env:
935935
ENVIRONMENT_NAME: "debian-12"
936936
VARIANT_NAME: "malloctrim"
937-
RUBY_PACKAGE_VERSION_ID: "3.3.2"
937+
RUBY_PACKAGE_VERSION_ID: "3.3.3"
938938
CACHE_KEY_PREFIX: "sccache/debian-12"
939939

940940
- name: Build package
@@ -944,13 +944,13 @@ jobs:
944944
VARIANT_NAME: "malloctrim"
945945
VARIANT_PACKAGE_SUFFIX: "-malloctrim"
946946
PACKAGE_FORMAT: "DEB"
947-
RUBY_PACKAGE_VERSION_ID: "3.3.2"
947+
RUBY_PACKAGE_VERSION_ID: "3.3.3"
948948
RUBY_PACKAGE_REVISION: "0"
949949

950950
- name: Archive package artifact to Google Cloud
951951
run: ./internal-scripts/ci-cd/upload-artifact.sh
952952
env:
953-
ARTIFACT_NAME: "ruby-pkg_3.3.2_debian-12_malloctrim"
953+
ARTIFACT_NAME: "ruby-pkg_3.3.3_debian-12_malloctrim"
954954
ARTIFACT_PATH: output-malloctrim
955955

956956
build_ruby_debian_12-3_2_4-normal:
@@ -1243,9 +1243,9 @@ jobs:
12431243
- build_ruby_debian_12-3_2-jemalloc
12441244
- build_ruby_debian_12-3_2-malloctrim
12451245

1246-
- build_ruby_debian_12-3_3_2-normal
1247-
- build_ruby_debian_12-3_3_2-jemalloc
1248-
- build_ruby_debian_12-3_3_2-malloctrim
1246+
- build_ruby_debian_12-3_3_3-normal
1247+
- build_ruby_debian_12-3_3_3-jemalloc
1248+
- build_ruby_debian_12-3_3_3-malloctrim
12491249

12501250
- build_ruby_debian_12-3_2_4-normal
12511251
- build_ruby_debian_12-3_2_4-jemalloc
@@ -1282,7 +1282,7 @@ jobs:
12821282
- name: Download Ruby package artifacts from Google Cloud
12831283
run: ./internal-scripts/ci-cd/download-artifacts.sh
12841284
env:
1285-
ARTIFACT_NAMES: '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.3.2_debian-12_normal ruby-pkg_3.3.2_debian-12_jemalloc ruby-pkg_3.3.2_debian-12_malloctrim ruby-pkg_3.2.4_debian-12_normal ruby-pkg_3.2.4_debian-12_jemalloc ruby-pkg_3.2.4_debian-12_malloctrim'
1285+
ARTIFACT_NAMES: '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.3.3_debian-12_normal ruby-pkg_3.3.3_debian-12_jemalloc ruby-pkg_3.3.3_debian-12_malloctrim ruby-pkg_3.2.4_debian-12_normal ruby-pkg_3.2.4_debian-12_jemalloc ruby-pkg_3.2.4_debian-12_malloctrim'
12861286
ARTIFACT_PATH: artifacts
12871287
CLEAR: true
12881288
- name: Archive Ruby package artifact [ruby-pkg_3.3_debian-12_normal] to Github
@@ -1315,21 +1315,21 @@ jobs:
13151315
with:
13161316
name: ruby-pkg_3.2_debian-12_malloctrim
13171317
path: artifacts/ruby-pkg_3.2_debian-12_malloctrim
1318-
- name: Archive Ruby package artifact [ruby-pkg_3.3.2_debian-12_normal] to Github
1318+
- name: Archive Ruby package artifact [ruby-pkg_3.3.3_debian-12_normal] to Github
13191319
uses: actions/upload-artifact@v3
13201320
with:
1321-
name: ruby-pkg_3.3.2_debian-12_normal
1322-
path: artifacts/ruby-pkg_3.3.2_debian-12_normal
1323-
- name: Archive Ruby package artifact [ruby-pkg_3.3.2_debian-12_jemalloc] to Github
1321+
name: ruby-pkg_3.3.3_debian-12_normal
1322+
path: artifacts/ruby-pkg_3.3.3_debian-12_normal
1323+
- name: Archive Ruby package artifact [ruby-pkg_3.3.3_debian-12_jemalloc] to Github
13241324
uses: actions/upload-artifact@v3
13251325
with:
1326-
name: ruby-pkg_3.3.2_debian-12_jemalloc
1327-
path: artifacts/ruby-pkg_3.3.2_debian-12_jemalloc
1328-
- name: Archive Ruby package artifact [ruby-pkg_3.3.2_debian-12_malloctrim] to Github
1326+
name: ruby-pkg_3.3.3_debian-12_jemalloc
1327+
path: artifacts/ruby-pkg_3.3.3_debian-12_jemalloc
1328+
- name: Archive Ruby package artifact [ruby-pkg_3.3.3_debian-12_malloctrim] to Github
13291329
uses: actions/upload-artifact@v3
13301330
with:
1331-
name: ruby-pkg_3.3.2_debian-12_malloctrim
1332-
path: artifacts/ruby-pkg_3.3.2_debian-12_malloctrim
1331+
name: ruby-pkg_3.3.3_debian-12_malloctrim
1332+
path: artifacts/ruby-pkg_3.3.3_debian-12_malloctrim
13331333
- name: Archive Ruby package artifact [ruby-pkg_3.2.4_debian-12_normal] to Github
13341334
uses: actions/upload-artifact@v3
13351335
with:
@@ -1382,15 +1382,15 @@ jobs:
13821382
|| (needs.build_ruby_debian_12-3_2-malloctrim.result != 'success'
13831383
&& (needs.build_ruby_debian_12-3_2-malloctrim.result != 'skipped'
13841384
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.2/malloctrim];')))
1385-
|| (needs.build_ruby_debian_12-3_3_2-normal.result != 'success'
1386-
&& (needs.build_ruby_debian_12-3_3_2-normal.result != 'skipped'
1387-
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.2/normal];')))
1388-
|| (needs.build_ruby_debian_12-3_3_2-jemalloc.result != 'success'
1389-
&& (needs.build_ruby_debian_12-3_3_2-jemalloc.result != 'skipped'
1390-
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.2/jemalloc];')))
1391-
|| (needs.build_ruby_debian_12-3_3_2-malloctrim.result != 'success'
1392-
&& (needs.build_ruby_debian_12-3_3_2-malloctrim.result != 'skipped'
1393-
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.2/malloctrim];')))
1385+
|| (needs.build_ruby_debian_12-3_3_3-normal.result != 'success'
1386+
&& (needs.build_ruby_debian_12-3_3_3-normal.result != 'skipped'
1387+
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.3/normal];')))
1388+
|| (needs.build_ruby_debian_12-3_3_3-jemalloc.result != 'success'
1389+
&& (needs.build_ruby_debian_12-3_3_3-jemalloc.result != 'skipped'
1390+
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.3/jemalloc];')))
1391+
|| (needs.build_ruby_debian_12-3_3_3-malloctrim.result != 'success'
1392+
&& (needs.build_ruby_debian_12-3_3_3-malloctrim.result != 'skipped'
1393+
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.3.3/malloctrim];')))
13941394
|| (needs.build_ruby_debian_12-3_2_4-normal.result != 'success'
13951395
&& (needs.build_ruby_debian_12-3_2_4-normal.result != 'skipped'
13961396
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Build Ruby [debian-12/3.2.4/normal];')))

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,12 @@ jobs:
418418
### Sources ###
419419

420420

421-
download_ruby_source_3_3_2:
422-
name: Download Ruby source [3.3.2]
421+
download_ruby_source_3_3_3:
422+
name: Download Ruby source [3.3.3]
423423
needs:
424424
- determine_necessary_jobs
425425
runs-on: ubuntu-22.04
426-
if: contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Download Ruby source 3.3.2;')
426+
if: contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Download Ruby source 3.3.3;')
427427
steps:
428428
- uses: actions/checkout@v3
429429
- name: Login to Google Cloud
@@ -434,12 +434,12 @@ jobs:
434434
- name: Download
435435
run: ./internal-scripts/ci-cd/download-ruby-sources/download.sh
436436
env:
437-
RUBY_VERSION: 3.3.2
437+
RUBY_VERSION: 3.3.3
438438

439439
- name: Archive artifact
440440
run: ./internal-scripts/ci-cd/upload-artifact.sh
441441
env:
442-
ARTIFACT_NAME: ruby-src-3.3.2
442+
ARTIFACT_NAME: ruby-src-3.3.3
443443
ARTIFACT_PATH: output
444444
download_ruby_source_3_2_4:
445445
name: Download Ruby source [3.2.4]
@@ -809,7 +809,7 @@ jobs:
809809
- build_docker_image_ubuntu_20_04
810810
- build_docker_image_ubuntu_22_04
811811
- build_docker_image_utility
812-
- download_ruby_source_3_3_2
812+
- download_ruby_source_3_3_3
813813
- download_ruby_source_3_2_4
814814
- download_ruby_source_3_1_6
815815
- download_ruby_source_3_0_7
@@ -965,16 +965,16 @@ jobs:
965965
path: artifacts
966966

967967

968-
- name: Download Ruby source artifact [3.3.2] from Google Cloud
968+
- name: Download Ruby source artifact [3.3.3] from Google Cloud
969969
run: ./internal-scripts/ci-cd/download-artifact.sh
970970
env:
971-
ARTIFACT_NAME: ruby-src-3.3.2
971+
ARTIFACT_NAME: ruby-src-3.3.3
972972
ARTIFACT_PATH: artifacts
973973
CLEAR: true
974-
- name: Archive Ruby source artifact [3.3.2] to Github
974+
- name: Archive Ruby source artifact [3.3.3] to Github
975975
uses: actions/upload-artifact@v3
976976
with:
977-
name: ruby-src-3.3.2
977+
name: ruby-src-3.3.3
978978
path: artifacts
979979
- name: Download Ruby source artifact [3.2.4] from Google Cloud
980980
run: ./internal-scripts/ci-cd/download-artifact.sh
@@ -1115,9 +1115,9 @@ jobs:
11151115
run: 'false'
11161116
if: |
11171117
false
1118-
|| (needs.download_ruby_source_3_3_2.result != 'success'
1119-
&& (needs.download_ruby_source_3_3_2.result != 'skipped'
1120-
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Download Ruby source 3.3.2;')))
1118+
|| (needs.download_ruby_source_3_3_3.result != 'success'
1119+
&& (needs.download_ruby_source_3_3_3.result != 'skipped'
1120+
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Download Ruby source 3.3.3;')))
11211121
|| (needs.download_ruby_source_3_2_4.result != 'success'
11221122
&& (needs.download_ruby_source_3_2_4.result != 'skipped'
11231123
|| contains(needs.determine_necessary_jobs.outputs.necessary_jobs, ';Download Ruby source 3.2.4;')))

0 commit comments

Comments
 (0)