From c70cdd3dde45e4ddb11a4e0b4f3d907c52dd96c6 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Sun, 18 Feb 2024 10:34:12 +0100 Subject: [PATCH] gitlab-ci-cd/general#14 Add option to ignore abandoned packages --- lakedrops.yml | 1 + test-and-deploy.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lakedrops.yml b/lakedrops.yml index 67ef903..84e4149 100644 --- a/lakedrops.yml +++ b/lakedrops.yml @@ -22,6 +22,7 @@ variables: DISABLE_NODE_ACCESS_REBUILD: 0 ENVIRONMENT_NAME: ${PROJECT_NAME}/$CI_COMMIT_REF_NAME ENVIRONMENT_URL: https://www.example.com/$SITE_NAME + IGNORE_COMPOSER_ABANDONED_AUDIT: 0 IGNORE_COMPOSER_AUDIT: 0 IGNORE_COMPOSER_EXTENDED_AUDIT: 1 INITIAL_SETUP_COMMAND: 'echo "Nothing to do for initial setup"' diff --git a/test-and-deploy.yml b/test-and-deploy.yml index 08ea7b2..7184f69 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -718,7 +718,6 @@ Debug: - git remote rm origin - git remote add origin git@${CI_SERVER_HOST}:$CI_PROJECT_PATH.git - composer update --no-interaction --no-progress --no-dev - - composer config --no-plugins --no-interaction audit.abandoned fail - if [[ "$IGNORE_COMPOSER_AUDIT" == "0" ]]; then composer audit --no-dev --locked --format=table; fi - git status >/tmp/test.log 2>&1 - EC=0 @@ -759,7 +758,6 @@ Debug: - !reference [.prepareaccess, before_script] - !reference [.preparecomposerplugins, before_script] script: - - composer config --no-plugins --no-interaction audit.abandoned fail - composer audit --no-dev --locked --format=table rules: - if: $IGNORE_COMPOSER_AUDIT == "0" -- GitLab