Skip to content
Snippets Groups Projects
Commit 506c2002 authored by jurgenhaas's avatar jurgenhaas
Browse files

#75 Run audits only once

parent dcaa0cd8
No related branches found
No related tags found
No related merge requests found
......@@ -747,7 +747,7 @@ Debug:
- EC=0
- grep "composer.lock" /tmp/test.log || EC=$?
- if [[ $EC -ne 0 ]]; then exit 0; fi
- COMMITFLAGS="[SKIP_CONFIG_IMPORT]"
- COMMITFLAGS="[SKIP_CONFIG_IMPORT] [SKIP_check4security] [SKIP_check4outdated]"
- if [[ "${SKIPRELEASE}" != "yes" ]]; then COMMITFLAGS="${COMMITFLAGS} [CREATE_RELEASE]"; fi
- if [[ "${USELIVEDB}" == "yes" ]]; then COMMITFLAGS="${COMMITFLAGS} [PULL_DB]"; fi
- git remote rm origin
......@@ -787,6 +787,8 @@ Debug:
script:
- composer audit --no-dev --locked --format=table
rules:
- if: $CI_COMMIT_MESSAGE =~ /SKIP_check4security/
when: never
- if: $IGNORE_COMPOSER_AUDIT == "0"
when: always
- when: never
......@@ -817,6 +819,8 @@ Debug:
- composer outdated --minor-only --strict --no-interaction $OUTDATED_EXTRAS
- composer outdated --patch-only --strict --no-interaction $OUTDATED_EXTRAS
rules:
- if: $CI_COMMIT_MESSAGE =~ /SKIP_check4outdated/
when: never
- if: $IGNORE_COMPOSER_EXTENDED_AUDIT == "0"
when: always
- when: never
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