From 38490cc98e97023ec9583025b5214f6943fc7cd1 Mon Sep 17 00:00:00 2001 From: Olivier Gonzalez Date: Fri, 16 Aug 2019 19:58:41 -0400 Subject: Use Python 3 by default for License Management --- changelogs/unreleased/ce-LM-use-python-3.yml | 5 +++++ lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml | 1 + 2 files changed, 6 insertions(+) create mode 100644 changelogs/unreleased/ce-LM-use-python-3.yml diff --git a/changelogs/unreleased/ce-LM-use-python-3.yml b/changelogs/unreleased/ce-LM-use-python-3.yml new file mode 100644 index 00000000000..40450ecd08d --- /dev/null +++ b/changelogs/unreleased/ce-LM-use-python-3.yml @@ -0,0 +1,5 @@ +--- +title: Use Python 3 by default for License Management +merge_request: 31924 +author: +type: changed diff --git a/lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml b/lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml index b6555e627a1..2900f4230c3 100644 --- a/lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml @@ -10,6 +10,7 @@ license_management: entrypoint: [""] variables: SETUP_CMD: $LICENSE_MANAGEMENT_SETUP_CMD + LM_PYTHON_VERSION: 3 # Default to Python 3 starting with GitLab 12.2. https://about.gitlab.com/2019/07/19/python-3-defailt-for-license-compliance/ allow_failure: true script: - /run.sh analyze . -- cgit v1.2.1