Skip to content
Snippets Groups Projects
Commit 9a6b7817 authored by Jonathan Smith's avatar Jonathan Smith
Browse files

show composer.json and git status

parent ccdc0787
No related branches found
No related tags found
1 merge request!335#3510904 modified composer.json not used
......@@ -447,6 +447,8 @@ stages:
dotenv: build.env
script:
- cd $CI_PROJECT_DIR && pwd
- ls -l composer.json && cat composer.json || true
- git status -v
- *create-environment-variables
- *calculate-gitlab-ref
- *show-ci-variables
......@@ -465,10 +467,13 @@ stages:
else
echo "{}" > composer.json && echo "Project has no composer.json so creating an empty one"
fi
- pwd && ls -l composer.json && cat composer.json || true
- git status && git diff
- php expand_composer_json.php || EXPAND_COMPOSER_EXIT_CODE=$?
- if [[ "$EXPAND_COMPOSER_EXIT_CODE" != "" ]]; then echo "EXPAND_COMPOSER_EXIT_CODE=$EXPAND_COMPOSER_EXIT_CODE"; exit $EXPAND_COMPOSER_EXIT_CODE; fi
- composer install $COMPOSER_EXTRA
- rm expand_composer_json.php
- pwd && ls -l composer.json && cat composer.json || true
- *require-drush
# Symlink module files to a module folder so we can do a full Drupal install.
- echo -e "\e[0Ksection_start:`date +%s`:symlink_output[collapsed=true]\r\e[0KSymlink project files and folders"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment