72
72
# push-wait-for-ci cycle time a bit when debugging operating system specific
73
73
# failures. Uses skip instead of only_if, as cirrus otherwise warns about
74
74
# only_if conditions not matching.
75
- skip : $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:.*'
75
+ skip : $CI_SANITYCHECK_ENABLED == false
76
76
77
77
env :
78
78
CPUS : 4
@@ -167,7 +167,7 @@ task:
167
167
<< : *freebsd_task_template
168
168
169
169
depends_on : SanityCheck
170
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*freebsd.*'
170
+ only_if : $CI_FREEBSD_ENABLED
171
171
172
172
sysinfo_script : |
173
173
id
@@ -258,7 +258,7 @@ task:
258
258
- name : NetBSD - Meson
259
259
# See REPO_CI_AUTOMATIC_TRIGGER_TASKS in .cirrus.star
260
260
trigger_type : $CI_TRIGGER_TYPE_NETBSD
261
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*netbsd.*'
261
+ only_if : $CI_NETBSD_ENABLED
262
262
env :
263
263
OS_NAME : netbsd
264
264
IMAGE_FAMILY : pg-ci-netbsd-postgres
@@ -277,7 +277,7 @@ task:
277
277
- name : OpenBSD - Meson
278
278
# See REPO_CI_AUTOMATIC_TRIGGER_TASKS in .cirrus.star
279
279
trigger_type : $CI_TRIGGER_TYPE_OPENBSD
280
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*openbsd.*'
280
+ only_if : $CI_OPENBSD_ENABLED
281
281
env :
282
282
OS_NAME : openbsd
283
283
IMAGE_FAMILY : pg-ci-openbsd-postgres
@@ -417,7 +417,7 @@ task:
417
417
<< : *linux_task_template
418
418
419
419
depends_on : SanityCheck
420
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*linux.*'
420
+ only_if : $CI_LINUX_ENABLED
421
421
422
422
ccache_cache :
423
423
folder : ${CCACHE_DIR}
@@ -616,7 +616,7 @@ task:
616
616
<< : *macos_task_template
617
617
618
618
depends_on : SanityCheck
619
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*(macos|darwin|osx).*'
619
+ only_if : $CI_MACOS_ENABLED
620
620
621
621
sysinfo_script : |
622
622
id
@@ -722,7 +722,7 @@ task:
722
722
<< : *windows_task_template
723
723
724
724
depends_on : SanityCheck
725
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
725
+ only_if : $CI_WINDOWS_ENABLED
726
726
727
727
setup_additional_packages_script : |
728
728
REM choco install -y --no-progress ...
@@ -761,7 +761,7 @@ task:
761
761
trigger_type : $CI_TRIGGER_TYPE_MINGW
762
762
763
763
depends_on : SanityCheck
764
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*mingw.*'
764
+ only_if : $CI_MINGW_ENABLED
765
765
766
766
env :
767
767
TEST_JOBS : 4 # higher concurrency causes occasional failures
@@ -815,10 +815,9 @@ task:
815
815
816
816
# To limit unnecessary work only run this once the SanityCheck
817
817
# succeeds. This is particularly important for this task as we intentionally
818
- # use always: to continue after failures. Task that did not run count as a
819
- # success, so we need to recheck SanityChecks's condition here ...
818
+ # use always: to continue after failures.
820
819
depends_on : SanityCheck
821
- only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*'
820
+ only_if : $CI_COMPILERWARNINGS_ENABLED
822
821
823
822
env :
824
823
CPUS : 4
0 commit comments