diff --git a/build/composer-bedrock-8.3.yml b/build/composer-bedrock-8.3.yml new file mode 100644 index 0000000..e19deb0 --- /dev/null +++ b/build/composer-bedrock-8.3.yml @@ -0,0 +1,28 @@ +composer-build: + stage: build + image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/ldcweb-qa-8.3:latest + before_script: + - composer config gitlab-token.lab.s-web.fr $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD + - composer config http-basic.connect.advancedcustomfields.com $APP_ACF_USER $APP_ACF_PWD + cache: + paths: + - vendor/ + - public/ + + + script: + - composer install --no-dev --optimize-autoloader --classmap-authoritative + artifacts: + expose_as: 'composer-build' + paths: + - vendor + - public + allow_failure: false + dependencies: + - composer-security + needs: + - job: composer-security + optional: true + rules: + - if: $CI_COMMIT_BRANCH == "trunk" || $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main" + - if: $CI_COMMIT_TAG != null \ No newline at end of file