Skip to content

Commit

Permalink
We no longer need to install drupal-check on CircleCI, because we can…
Browse files Browse the repository at this point in the history
… add it as a composer dependency.
  • Loading branch information
becw committed Jan 7, 2022
1 parent 56d3efd commit 3299e4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
12 changes: 0 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,6 @@ jobs:
name: Configure URL in /etc/hosts
command: echo 127.0.0.1 example.ddev.site | sudo tee -a /etc/hosts

# Note: phing and drupal-check have mutually exclusive requirements.
# It'd be better to add drupal-check as a dependency of the drupal project
# rather than as part of the virtual environment, but this will have to do
# for now. Also note, drupal-check is added as part of the-vagrant so it
# is available to run within our VM.
# Note 2: drupal-check is pinned to a known stable version.
- run:
name: Install drupal-check
command: |
composer global require mglaman/drupal-check
ln -s ~/.config/composer/vendor/bin ~/bin
# Composer package cache
- restore_cache:
keys:
Expand Down
14 changes: 0 additions & 14 deletions defaults/install/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,6 @@ jobs:
name: Configure URL in /etc/hosts
command: echo 127.0.0.1 ${CIRCLE_PROJECT_REPONAME}.local | sudo tee -a /etc/hosts

# Note: phing and drupal-check have mutually exclusive requirements.
# It'd be better to add drupal-check as a dependency of the drupal project
# rather than as part of the virtual environment, but this will have to do
# for now. Also note, drupal-check is added as part of the-vagrant so it
# is available to run within our VM.
# Note 2: drupal-check is pinned to a known stable version.
- run:
name: Install drupal-check
command: |
curl -O -L https://github.com/mglaman/drupal-check/releases/download/1.0.9/drupal-check.phar
mkdir --parents ~/bin
mv drupal-check.phar ~/bin/drupal-check
chmod +x ~/bin/drupal-check
# Composer package cache
- restore_cache:
keys:
Expand Down

0 comments on commit 3299e4b

Please sign in to comment.