File tree Expand file tree Collapse file tree 5 files changed +36
-16
lines changed Expand file tree Collapse file tree 5 files changed +36
-16
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,37 @@ Raspberry-Pi-2-Bookworm-branch:
433
433
image : " ${BUILDER_IMAGE_REGISTRY}/rpi_12:${BUILDER_IMAGE_REVISION}"
434
434
extends : .rpi_branch_template
435
435
436
+ # This job runs only on nightly EE builds
437
+ RAT-Nightly :
438
+ stage : slow_jobs
439
+ image : " ${BUILDER_IMAGE_REGISTRY}/ubuntu_22.04:${BUILDER_IMAGE_REVISION}"
440
+ script :
441
+ - bundle exec rake qa:rat:nightly
442
+ cache : !reference [.branch-cache]
443
+ needs :
444
+ - Ubuntu-22.04-branch
445
+ allow_failure : true
446
+ rules :
447
+ - !reference [.default_rules, rules]
448
+ - if : ' $PIPELINE_TYPE == "EE_NIGHTLY_BUILD_PIPELINE"'
449
+
450
+ # This job runs only on nightly EE builds
451
+ RAT-Nightly-FIPS :
452
+ stage : slow_jobs
453
+ image : " ${BUILDER_IMAGE_REGISTRY}/almalinux_8_fips:${BUILDER_IMAGE_REVISION}"
454
+ variables :
455
+ USE_SYSTEM_SSL : " true"
456
+ RAT_REFERENCE_ARCHITECTURE : " omnibus-gitlab-mrs-fips"
457
+ script :
458
+ - bundle exec rake qa:rat:nightly
459
+ cache : !reference [.branch-cache]
460
+ needs :
461
+ - AlmaLinux-8-fips-branch
462
+ allow_failure : true
463
+ rules :
464
+ - !reference [.default_rules, rules]
465
+ - if : ' $PIPELINE_TYPE == "EE_NIGHTLY_BUILD_PIPELINE"'
466
+
436
467
# ###########################
437
468
# Release pipeline #
438
469
# ###########################
Original file line number Diff line number Diff line change 666
666
- if : ' $PIPELINE_TYPE == "TRIGGERED_EE_PIPELINE"'
667
667
when : manual
668
668
allow_failure : true
669
- - if : ' $PIPELINE_TYPE == "EE_NIGHTLY_BUILD_PIPELINE"'
670
- allow_failure : true
671
669
needs :
672
670
- job : Trigger:package
673
671
artifacts : false
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ workflow:
43
43
- if : ' $PIPELINE_TYPE == null && $CI_PROJECT_PATH == $CANONICAL_PROJECT_PATH && $CI_PIPELINE_SOURCE == "merge_request_event"'
44
44
variables :
45
45
PIPELINE_TYPE : GITLAB_MR_PIPELINE
46
+ - if : ' $PIPELINE_TYPE == null && $CI_PROJECT_PATH == $CANONICAL_PROJECT_PATH && $CI_COMMIT_REF_PROTECTED == "true"'
47
+ variables :
48
+ PIPELINE_TYPE : PROTECTED_TEST_PIPELINE
46
49
- if : ' $PIPELINE_TYPE == null && $NIGHTLY && $CI_COMMIT_BRANCH && ($ee == "true" || $GITLAB_VERSION =~ /-ee$/)'
47
50
variables :
48
51
PIPELINE_TYPE : EE_NIGHTLY_BUILD_PIPELINE
@@ -91,9 +94,6 @@ workflow:
91
94
PIPELINE_TYPE : EE_TAG_BUILD_PIPELINE
92
95
CACHE_EDITION : " EE"
93
96
GITLAB_EDITION : " Enterprise Edition"
94
- - if : ' $PIPELINE_TYPE == null && $CI_PROJECT_PATH == $CANONICAL_PROJECT_PATH && $CI_COMMIT_REF_PROTECTED == "true"'
95
- variables :
96
- PIPELINE_TYPE : PROTECTED_TEST_PIPELINE
97
97
- if : ' $PIPELINE_TYPE == null && $CI_PROJECT_PATH == $SECURITY_PROJECT_PATH && $CI_PIPELINE_SOURCE == "merge_request_event"'
98
98
variables :
99
99
PIPELINE_TYPE : GITLAB_MR_PIPELINE
Original file line number Diff line number Diff line change @@ -30,17 +30,9 @@ def get_component_shas(version_manifest_file = 'version-manifest.json')
30
30
softwares = version_manifest [ 'software' ]
31
31
results = { }
32
32
Gitlab ::Version ::COMPONENTS_ENV_VARS . keys . map do |component |
33
- # For both `gitlab-rails` and `gitlab-rails-ee`, the key in
34
- # version-manifest.json is `gitlab-rails`
35
- version_manifest_key = if component == 'gitlab-rails' || component == 'gitlab-rails-ee'
36
- 'gitlab-rails'
37
- else
38
- component
39
- end
33
+ next unless softwares . key? ( component )
40
34
41
- next unless softwares . key? ( version_manifest_key )
42
-
43
- results [ component ] = softwares [ version_manifest_key ] [ 'locked_version' ]
35
+ results [ component ] = softwares [ component ] [ 'locked_version' ]
44
36
end
45
37
46
38
results
Original file line number Diff line number Diff line change 69
69
let ( :component_shas ) do
70
70
{
71
71
'gitlab-rails' => '6f286d7717f419489a08a9918621f438256e397b' ,
72
- 'gitlab-rails-ee' => '6f286d7717f419489a08a9918621f438256e397b' ,
73
72
'gitaly' => 'b55578ec476e8bc8ecd9775ee7e9960b52e0f6e0' ,
74
73
'gitlab-shell' => '264d63e81cbf08e3ae75e84433b8d09af15f351f' ,
75
74
'gitlab-pages' => 'b0cb1f0c0783db2f5176301e6528fe41e1b42abf' ,
You can’t perform that action at this time.
0 commit comments