debian-mirror-gitlab/lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml

30 lines
950 B
YAML
Raw Normal View History

2020-03-09 13:42:32 +05:30
# Deprecated: https://gitlab.com/gitlab-org/gitlab/issues/14624
# Please, use License-Scanning.gitlab-ci.yml template instead
2019-07-07 11:18:12 +05:30
variables:
2019-09-04 21:01:54 +05:30
LICENSE_MANAGEMENT_SETUP_CMD: '' # If needed, specify a command to setup your environment with a custom package manager.
2019-07-07 11:18:12 +05:30
license_management:
stage: test
image:
name: "registry.gitlab.com/gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
entrypoint: [""]
variables:
SETUP_CMD: $LICENSE_MANAGEMENT_SETUP_CMD
allow_failure: true
script:
2020-03-09 13:42:32 +05:30
- echo "This template is deprecated, please use License-Scanning.gitlab-ci.yml template instead."
2019-07-07 11:18:12 +05:30
- /run.sh analyze .
artifacts:
reports:
license_management: gl-license-management-report.json
dependencies: []
only:
refs:
- branches
variables:
- $GITLAB_FEATURES =~ /\blicense_management\b/
except:
variables:
- $LICENSE_MANAGEMENT_DISABLED