Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated CI runner to 24.10.0. #1417

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ aliases:
# This container has all the necessary tools to run a dockerized environment.
# @see https://github.com/drevops/ci-runner
# @see https://hub.docker.com/repository/docker/drevops/ci-runner/tags
- image: drevops/ci-runner:24.9.0
- image: drevops/ci-runner:24.10.0
auth:
username: ${VORTEX_CONTAINER_REGISTRY_USER}
password: ${VORTEX_CONTAINER_REGISTRY_PASS}
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
echo "${VORTEX_CI_DB_CACHE_FALLBACK/no/${CIRCLE_BUILD_NUM}}" | tee /tmp/db_cache_fallback
echo "$(date ${VORTEX_CI_DB_CACHE_TIMESTAMP})" | tee /tmp/db_cache_timestamp
echo "yes" | tee /tmp/db_cache_fallback_yes
echo 'v24.8.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-{{ checksum "/tmp/db_cache_timestamp" }}'
echo 'v24.10.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-{{ checksum "/tmp/db_cache_timestamp" }}'

- restore_cache:
keys:
Expand All @@ -155,10 +155,10 @@ jobs:
# Change 'v1' to 'v2', 'v3' etc., commit and push to force cache reset.
# Lookup cache based on the default branch and a timestamp. Allows
# to use cache from the very first build on the day (sanitized database dump, for example).
- v24.8.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-{{ checksum "/tmp/db_cache_timestamp" }}
- v24.10.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-{{ checksum "/tmp/db_cache_timestamp" }}
# Fallback to caching by default branch name only. Allows to use
# cache from the branch build on the previous day.
- v24.8.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-
- v24.10.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback" }}-

- run:
name: Download DB
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
# The cache will not be saved if it already exists.
# Note that the cache fallback flag is enabled for this case in order
# to save cache even if the fallback is not used when restoring it.
key: v24.8.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
key: v24.10.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
paths:
- /root/project/.data

Expand Down Expand Up @@ -231,8 +231,8 @@ jobs:
keys:
# Use cached artifacts from previous builds of this branch.
# @see https://circleci.com/docs/2.0/caching/#restoring-cache
- v24.8.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
- v24.8.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-
- v24.10.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-{{ checksum "/tmp/db_cache_timestamp" }}
- v24.10.0-db10-{{ checksum "/tmp/db_cache_branch" }}-{{ checksum "/tmp/db_cache_fallback_yes" }}-
#;> !PROVISION_USE_PROFILE

- run:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# This configuration file uses a custom "container" executor to run the
# Docker stack to speed up the build process.
#;

Check warning on line 5 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

5:2 [comments] missing starting space in comment
#; Comments starting with '#;<' and '#;>' are internal Vortex comments

Check warning on line 6 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

6:2 [comments] missing starting space in comment
#; and will be removed during installation or update of Vortex.

Check warning on line 7 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

7:2 [comments] missing starting space in comment
name: Database, Build, Test and Deploy

on:
Expand Down Expand Up @@ -41,22 +41,22 @@
description: 'Enable terminal session.'
required: false
default: false
#;< !PROVISION_USE_PROFILE

Check warning on line 44 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

44:4 [comments] missing starting space in comment
schedule:
- cron: '0 18 * * *'
#;> !PROVISION_USE_PROFILE

Check warning on line 47 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

47:4 [comments] missing starting space in comment

Check warning on line 47 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

47:3 [comments-indentation] comment not indented like content

defaults:
run:
shell: bash

jobs:
#;< !PROVISION_USE_PROFILE

Check warning on line 54 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

54:4 [comments] missing starting space in comment
database:
runs-on: ubuntu-latest

container:
image: drevops/ci-runner:24.9.0
image: drevops/ci-runner:24.10.0

env:
TZ: Australia/Melbourne
Expand Down Expand Up @@ -132,14 +132,14 @@
with:
path: .data
key: v24.9.0-db10-${{ hashFiles('db_cache_branch') }}-${{ hashFiles('db_cache_fallback_yes') }}-${{ hashFiles('db_cache_timestamp') }}
#;> !PROVISION_USE_PROFILE

Check warning on line 135 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

135:4 [comments] missing starting space in comment

build:
runs-on: ubuntu-latest
needs: database
#;< !PROVISION_USE_PROFILE

Check warning on line 140 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

140:6 [comments] missing starting space in comment
if: github.event_name != 'schedule'
#;> !PROVISION_USE_PROFILE

Check warning on line 142 in .github/workflows/build-test-deploy.yml

View workflow job for this annotation

GitHub Actions / vortex-test-actions

142:6 [comments] missing starting space in comment

strategy:
matrix:
Expand All @@ -147,7 +147,7 @@
fail-fast: false

container:
image: drevops/ci-runner:24.9.0
image: drevops/ci-runner:24.10.0

env:
TZ: Australia/Melbourne
Expand Down Expand Up @@ -338,7 +338,7 @@
#;> !PROVISION_USE_PROFILE

container:
image: drevops/ci-runner:24.9.0
image: drevops/ci-runner:24.10.0
env:
TZ: Australia/Melbourne
TERM: xterm-256color
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vortex-test-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest

container:
image: drevops/ci-runner:24.9.0
image: drevops/ci-runner:24.10.0
env:
# Prevent GitHub overriding the Docker config.
DOCKER_CONFIG: /root/.docker
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
batch: [0, 1, 2]

container:
image: drevops/ci-runner:24.9.0
image: drevops/ci-runner:24.10.0
env:
# Prevent GitHub overriding the Docker config.
DOCKER_CONFIG: /root/.docker
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
batch: [0, 1]

container:
image: drevops/ci-runner:24.9.0
image: drevops/ci-runner:24.10.0
env:
# Prevent GitHub overriding the Docker config.
DOCKER_CONFIG: /root/.docker
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
"discard-changes": true,
"platform": {
"php": "8.3.10"
"php": "8.3.12"
},
"sort-packages": true
},
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parameters:

level: 7

phpVersion: 80310
phpVersion: 80312

paths:
- web/modules/custom
Expand Down
Loading