Skip to content
Snippets Groups Projects
Commit cb9f12ef authored by danielspeicher's avatar danielspeicher
Browse files

Use optional downgrade variable for composer version

parent 96a3ad1e
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ stages: ...@@ -62,6 +62,7 @@ stages:
- ssh-keyscan gitlab.lakedrops.com >> ~/.ssh/known_hosts - ssh-keyscan gitlab.lakedrops.com >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- ssh git@gitlab.lakedrops.com - ssh git@gitlab.lakedrops.com
- if [ -n $DOWNGRADE_COMPOSER ]; then composer self-update --1; fi
- if [ -n $GITLAB_ACCESS_TOKEN ]; then composer config -g gitlab-token.gitlab.lakedrops.com $GITLAB_ACCESS_TOKEN; fi - if [ -n $GITLAB_ACCESS_TOKEN ]; then composer config -g gitlab-token.gitlab.lakedrops.com $GITLAB_ACCESS_TOKEN; fi
- composer install --no-interaction --no-progress - composer install --no-interaction --no-progress
- composer lakedrops:scaffold --no-interaction - composer lakedrops:scaffold --no-interaction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment