Commit f9ac8102 authored by Philippe Lafoucrière's avatar Philippe Lafoucrière

Merge branch 'make-license-scanning-bw-comp' into 'master'

Make License-Scanning backward compatible

See merge request gitlab-org/gitlab!32002
parents ebe19bfd 50e8b13a
# Deprecated: https://gitlab.com/gitlab-org/gitlab/issues/14624 # Deprecated: https://gitlab.com/gitlab-org/gitlab/issues/14624
# Please, use License-Scanning.gitlab-ci.yml template instead # Please, use License-Scanning.gitlab-ci.yml template instead
license_management: include:
stage: test - template: License-Scanning.gitlab-ci.yml
image: alpine:latest
allow_failure: false license_scanning:
script: before_script:
- | - |
echo "Sorry for failing your pipeline! echo "As of GitLab 12.8, we deprecated the License-Management.gitlab.ci.yml template.
As of GitLab 13.0, we have removed the License-Management.gitlab.ci.yml template (deprecated since GitLab 12.8).
Please replace it with the License-Scanning.gitlab-ci.yml template instead. Please replace it with the License-Scanning.gitlab-ci.yml template instead.
For more details visit For more details visit
https://docs.gitlab.com/ee/user/compliance/license_compliance/#migration-from-license_management-to-license_scanning" https://docs.gitlab.com/ee/user/compliance/license_compliance/#migration-from-license_management-to-license_scanning"
- exit 1
only:
refs:
- branches
variables:
- $GITLAB_FEATURES =~ /\blicense_scanning\b/
except:
refs:
- master
variables:
- $LICENSE_MANAGEMENT_DISABLED
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment