Skip to content
Snippets Groups Projects
Commit 2cb8aa88 authored by jurgenhaas's avatar jurgenhaas
Browse files

Rearchitect for global variables

parent b649e718
Branches
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ stages: ...@@ -10,6 +10,9 @@ stages:
- finalize - finalize
- release - release
include:
- local: '/variables.yml'
.prepareaccess: .prepareaccess:
before_script: before_script:
- if [[ "x$(command -v ssh-agent)" != "x" && -n $SSH_PRIVATE_KEY ]]; then eval $(ssh-agent -s); fi - if [[ "x$(command -v ssh-agent)" != "x" && -n $SSH_PRIVATE_KEY ]]; then eval $(ssh-agent -s); fi
...@@ -82,7 +85,7 @@ stages: ...@@ -82,7 +85,7 @@ stages:
- default - default
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-8.2 image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
cache: {} cache: {}
before_script: !reference [.prepareaccess, before_script] before_script: !reference [.prepareaccess, before_script]
script: script:
......
variables:
PHP_MAJOR_VERSION: 8
PHP_MINOR_VERSION: 1
PHP_VERSION: '8.1'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment