Skip to content

Commit 59f115c

Browse files
committed
Updated CI cache and CI runner.
1 parent 542ea03 commit 59f115c

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ aliases:
4141
# This container has all the necessary tools to run a dockerized environment.
4242
# https://github.com/drevops/ci-runner
4343
# https://hub.docker.com/repository/docker/drevops/ci-runner/tags
44-
- image: drevops/ci-runner:25.11.0@sha256:7854272ea39ee91af90f35d6339c081098d29a41ea4fe802e0cf710e152c8044
44+
- image: drevops/ci-runner:25.12.0@sha256:b6e416998c03da657006e7c1c2b0f5532f6117990049351a89789227b4941093
4545
auth:
4646
username: ${VORTEX_CONTAINER_REGISTRY_USER}
4747
password: ${VORTEX_CONTAINER_REGISTRY_PASS}
@@ -154,10 +154,10 @@ jobs:
154154
# Change 'v1' to 'v2', 'v3' etc., commit and push to force cache reset.
155155
# Lookup cache based on the default branch and a timestamp. Allows
156156
# to use cache from the very first build on the day (sanitized database dump, for example).
157-
- v25.11.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-{{ checksum "/tmp/db_cache_timestamp" }}
157+
- v26.1.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-{{ checksum "/tmp/db_cache_timestamp" }}
158158
# Fallback to caching by default branch name only. Allows to use
159159
# cache from the branch build on the previous day.
160-
- v25.11.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-
160+
- v26.1.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-
161161

162162
- run:
163163
name: Download DB
@@ -187,7 +187,7 @@ jobs:
187187
# The cache will not be saved if it already exists.
188188
# Note that the cache fallback flag is enabled for this case in order
189189
# to save cache even if the fallback is not used when restoring it.
190-
key: v25.11.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
190+
key: v26.1.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
191191
paths:
192192
- /root/project/.data
193193

@@ -236,8 +236,8 @@ jobs:
236236
keys:
237237
# Use cached artifacts from previous builds of this branch.
238238
# https://circleci.com/docs/2.0/caching/#restoring-cache
239-
- v25.11.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
240-
- v25.11.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-
239+
- v26.1.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
240+
- v26.1.0-db11-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-
241241
#;> !PROVISION_TYPE_PROFILE
242242

243243
- *step_setup_remote_docker

.github/workflows/build-test-deploy.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
container:
6262
# https://hub.docker.com/r/drevops/ci-runner
63-
image: drevops/ci-runner:25.11.0@sha256:634a9ccdc4889dd7f0f571ac3ba1ada7a1289bd6d4c88199d252092a9db6c1cc
63+
image: drevops/ci-runner:25.12.0@sha256:b6e416998c03da657006e7c1c2b0f5532f6117990049351a89789227b4941093
6464
env:
6565
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
6666
VORTEX_CONTAINER_REGISTRY_USER: ${{ secrets.VORTEX_CONTAINER_REGISTRY_USER }}
@@ -122,11 +122,11 @@ jobs:
122122
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5
123123
with:
124124
path: .data
125-
key: v25.11.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback') }}-${{ hashFiles('db_cache_timestamp') }}
125+
key: v26.1.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback') }}-${{ hashFiles('db_cache_timestamp') }}
126126
# Fallback to caching by default branch name only. Allows to use
127127
# cache from the branch build on the previous day.
128128
restore-keys: |
129-
v25.11.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback') }}-
129+
v26.1.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback') }}-
130130
131131
- name: Download DB
132132
run: |
@@ -158,7 +158,7 @@ jobs:
158158
if: env.db_hash != hashFiles('.data')
159159
with:
160160
path: .data
161-
key: v25.11.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}
161+
key: v26.1.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}
162162
#;> !PROVISION_TYPE_PROFILE
163163

164164
build:
@@ -176,7 +176,7 @@ jobs:
176176

177177
container:
178178
# https://hub.docker.com/r/drevops/ci-runner
179-
image: drevops/ci-runner:25.11.0@sha256:634a9ccdc4889dd7f0f571ac3ba1ada7a1289bd6d4c88199d252092a9db6c1cc
179+
image: drevops/ci-runner:25.12.0@sha256:b6e416998c03da657006e7c1c2b0f5532f6117990049351a89789227b4941093
180180
env:
181181
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
182182
VORTEX_CONTAINER_REGISTRY_USER: ${{ secrets.VORTEX_CONTAINER_REGISTRY_USER }}
@@ -223,7 +223,7 @@ jobs:
223223
date "${VORTEX_CI_DB_CACHE_TIMESTAMP}" | tee db_cache_timestamp
224224
225225
- name: Show cache key for database caching
226-
run: echo 'v25.11.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}'
226+
run: echo 'v26.1.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}'
227227

228228
# Restore DB cache based on the cache strategy set by the cache keys below.
229229
# Change 'v1' to 'v2', 'v3' etc., commit and push to force cache reset.
@@ -235,9 +235,9 @@ jobs:
235235
path: .data
236236
fail-on-cache-miss: true
237237
# Use cached database from previous builds of this branch.
238-
key: v25.11.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}
238+
key: v26.1.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}
239239
restore-keys: |
240-
v25.11.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-
240+
v26.1.0-db11-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-
241241
#;> !PROVISION_TYPE_PROFILE
242242

243243
- name: Login to container registry
@@ -444,7 +444,7 @@ jobs:
444444

445445
container:
446446
# https://hub.docker.com/r/drevops/ci-runner
447-
image: drevops/ci-runner:25.11.0@sha256:634a9ccdc4889dd7f0f571ac3ba1ada7a1289bd6d4c88199d252092a9db6c1cc
447+
image: drevops/ci-runner:25.12.0@sha256:b6e416998c03da657006e7c1c2b0f5532f6117990049351a89789227b4941093
448448
env:
449449
TZ: ${{ vars.TZ || 'UTC' }}
450450
TERM: xterm-256color

.github/workflows/vortex-test-common.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
container:
27-
image: drevops/ci-runner:25.11.0@sha256:634a9ccdc4889dd7f0f571ac3ba1ada7a1289bd6d4c88199d252092a9db6c1cc
27+
image: drevops/ci-runner:25.12.0@sha256:b6e416998c03da657006e7c1c2b0f5532f6117990049351a89789227b4941093
2828
env:
2929
# Prevent GitHub overriding the Docker config.
3030
DOCKER_CONFIG: /root/.docker
@@ -123,7 +123,7 @@ jobs:
123123
batch: [0, 1, 2, 3, 4]
124124

125125
container:
126-
image: drevops/ci-runner:25.11.0@sha256:634a9ccdc4889dd7f0f571ac3ba1ada7a1289bd6d4c88199d252092a9db6c1cc
126+
image: drevops/ci-runner:25.12.0@sha256:b6e416998c03da657006e7c1c2b0f5532f6117990049351a89789227b4941093
127127
env:
128128
# Prevent GitHub overriding the Docker config.
129129
DOCKER_CONFIG: /root/.docker

0 commit comments

Comments
 (0)