From 0fbca817eeef7bd24a2aac8ad1c822af6c3ced54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Haas?= <juergen.haas@lakedrops.com> Date: Sun, 24 Apr 2022 16:25:25 +0200 Subject: [PATCH] Fix composer commands to add a package without updates --- test-and-deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test-and-deploy.yml b/test-and-deploy.yml index f50f69c..9ba5e33 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -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 -- GitLab