Skip to content
Snippets Groups Projects
Commit 0fbca817 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix composer commands to add a package without updates

parent e89d3c50
No related branches found
No related tags found
No related merge requests found
......@@ -211,8 +211,7 @@ Debug:
# Add the Drupal Vendor Hardening Composer Plugin.
# see https://github.com/drupal/core-vendor-hardening
- composer config --no-interaction allow-plugins.drupal/core-vendor-hardening true
- composer require --no-update --no-interaction --no-progress drupal/core-vendor-hardening
- composer install --no-interaction --no-progress --no-dev
- composer require --update-no-dev --no-interaction --no-progress drupal/core-vendor-hardening
artifacts:
name: build-prod
when: always
......@@ -233,8 +232,7 @@ Debug:
LAKEDROPS_BUILD_NG: 'yes'
script:
- if [[ -n $DOWNGRADE_COMPOSER ]]; then composer self-update --$DOWNGRADE_COMPOSER; fi
- composer require --no-update --no-interaction --no-progress lakedrops/docker4drupal
- composer install --no-interaction --no-progress --no-dev
- composer require --update-no-dev --no-interaction --no-progress lakedrops/docker4drupal
- composer lakedrops:docker4drupal
artifacts:
name: build-prod-ng
......
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