Skip to content

Commit

Permalink
iox-#1176 Increse cache sequence number for Cirrus CI
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Oct 14, 2024
1 parent 5b7b477 commit 3ac6839
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .cirrus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ only_if: $CIRRUS_BRANCH == 'main'
|| $CIRRUS_BASE_BRANCH == 'iox-*'
)
)
#
# Global environment variables
#

env:
CACHE_SEQ_NR: 1

#
# Templates
Expand Down Expand Up @@ -126,7 +132,7 @@ ubuntu_22_04_aarch64_build_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: true
fingerprint_key: $CIRRUS_OS_ubuntu_22_04_aarch64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_ubuntu_22_04_aarch64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
build_script:
<<: *IOX_POSIX_CLEAN_BUILD_STRICT_WITH_ADDITIONAL_USER
populate_test_binary_folder_script:
Expand All @@ -141,7 +147,7 @@ ubuntu_22_04_aarch64_test_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: false
fingerprint_key: $CIRRUS_OS_ubuntu_22_04_aarch64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_ubuntu_22_04_aarch64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
test_script:
<<: *IOX_RUN_TESTS

Expand All @@ -158,7 +164,7 @@ arch_linux_x64_gcc_8_3_aka_qnx_canary_build_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: true
fingerprint_key: $CIRRUS_OS_archlinux_x64_gcc_8_3_aka_qnx_canary_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_archlinux_x64_gcc_8_3_aka_qnx_canary_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
env:
# use GCC 8.3 which corresponds to QCC 8.3 on QNX 7.1
CC: gcc-8
Expand All @@ -177,7 +183,7 @@ arch_linux_x64_gcc_8_3_aka_qnx_canary_test_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: false
fingerprint_key: $CIRRUS_OS_archlinux_x64_gcc_8_3_aka_qnx_canary_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_archlinux_x64_gcc_8_3_aka_qnx_canary_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
test_script:
<<: *IOX_RUN_TESTS

Expand All @@ -195,7 +201,7 @@ arch_linux_x64_build_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: true
fingerprint_key: $CIRRUS_OS_archlinux_x64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_archlinux_x64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
build_script:
<<: *IOX_POSIX_CLEAN_BUILD_STRICT_WITH_ADDITIONAL_USER
populate_test_binary_folder_script:
Expand All @@ -211,7 +217,7 @@ arch_linux_x64_test_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: false
fingerprint_key: $CIRRUS_OS_archlinux_x64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_archlinux_x64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
test_script:
<<: *IOX_RUN_TESTS

Expand All @@ -229,7 +235,7 @@ freebsd_x64_build_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: true
fingerprint_key: $CIRRUS_OS_freebsd_x64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_freebsd_x64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
setup_script:
- pkg install -y cmake git ncurses bash wget
- ln -s /usr/local/bin/bash /bin/bash
Expand All @@ -248,7 +254,7 @@ freebsd_x64_test_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: false
fingerprint_key: $CIRRUS_OS_freebsd_x64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_freebsd_x64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
test_script:
<<: *IOX_RUN_TESTS

Expand All @@ -266,7 +272,7 @@ macos_aarch64_build_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: true
fingerprint_key: $CIRRUS_OS_macOS_aarch64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_macOS_aarch64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
setup_script:
- brew install ncurses
build_script:
Expand All @@ -284,7 +290,7 @@ macos_aarch64_test_task:
test_binaries_cache:
folder: iox-tests-bin
reupload_on_changes: false
fingerprint_key: $CIRRUS_OS_macOS_aarch64_test_binaries_cache_$CIRRUS_BRANCH
fingerprint_key: $CIRRUS_OS_macOS_aarch64_test_binaries_cache_${CACHE_SEQ_NR}_${CIRRUS_BRANCH}
env:
# No timing tests on macOS
GTEST_FILTER: "-*TimingTest*"
Expand Down

0 comments on commit 3ac6839

Please sign in to comment.