Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab_templates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
gitlab_templates
Commits
9a6b7817
Commit
9a6b7817
authored
2 weeks ago
by
Jonathan Smith
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/include.drupalci.main.yml
+5
-0
5 additions, 0 deletions
includes/include.drupalci.main.yml
with
5 additions
and
0 deletions
includes/include.drupalci.main.yml
+
5
−
0
View file @
9a6b7817
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment