use composer docker image instead of docker script, also set specific version for deployer image

parent 94ece55d
Pipeline #941 passed with stages
in 2 minutes and 42 seconds
......@@ -13,13 +13,14 @@ stages:
build:
stage: build
image: composer
variables:
GIT_STRATEGY: "clone"
GIT_SUBMODULE_STRATEGY: "recursive"
script:
- ./.gitlab-ci/scripts/composer.sh config store-auths false
- ./.gitlab-ci/scripts/composer.sh config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN}
- ./.gitlab-ci/scripts/composer.sh install
- composer config store-auths false
- composer config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN}
- composer install
artifacts:
paths:
- ./
......@@ -39,7 +40,6 @@ layout:
paths:
- ./
expire_in: '7d'
environment: ${CI_BUILD_REF_NAME}
dependencies:
- build
except:
......@@ -52,7 +52,7 @@ layout:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -
script:
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
- VERSION=4.0.0-alpine ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME}
when: manual
dependencies:
- layout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment