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: ...@@ -13,13 +13,14 @@ stages:
build: build:
stage: build stage: build
image: composer
variables: variables:
GIT_STRATEGY: "clone" GIT_STRATEGY: "clone"
GIT_SUBMODULE_STRATEGY: "recursive" GIT_SUBMODULE_STRATEGY: "recursive"
script: script:
- ./.gitlab-ci/scripts/composer.sh config store-auths false - composer config store-auths false
- ./.gitlab-ci/scripts/composer.sh config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN} - composer config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN}
- ./.gitlab-ci/scripts/composer.sh install - composer install
artifacts: artifacts:
paths: paths:
- ./ - ./
...@@ -39,7 +40,6 @@ layout: ...@@ -39,7 +40,6 @@ layout:
paths: paths:
- ./ - ./
expire_in: '7d' expire_in: '7d'
environment: ${CI_BUILD_REF_NAME}
dependencies: dependencies:
- build - build
except: except:
...@@ -52,7 +52,7 @@ layout: ...@@ -52,7 +52,7 @@ layout:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add - - echo "$SSH_PRIVATE_KEY" | ssh-add -
script: 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 when: manual
dependencies: dependencies:
- layout - 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