Skip to content

Disable license scanning job from Auto-DevOps

What does this MR do and why?

Disables the license scanning job in an Auto-DevOps. It does this by setting LICENSE_MANAGEMENT_DISABLED to "true". We neglected to remove this in %16.3 and this merge request corrects this.

Related Issue(s)

AutoDevOps stills triggers the License Scanning Job even after License Scanning was deprecated

Screenshots or screen recordings

You can see that the license_scanning job is no longer present.

Before After
image image

Note

For transparency purposes: the build job fails on my local development environment because I have been unable to configure autodevops in my local development environment (internal link). Though, I see the license_scanning job is skipped as expected and I do not see the build failure as being related to the change being made here. I will of course QA this change once it is deployed to gitlab.com, where I know autodevops is configured correctly, as part of the verification process for this change.

How to set up and validate locally

  1. Visit the review app or your local GDK

  2. Create a new project from this git repo (https://gitlab.com/philipcunningham/manual-qa-disable-license-scanning-job-from-auto-devops). Unfortunately you will have to add these files by hand in the review app because there does not appear to be a mirror/import option when creating new projects in review apps.

  3. Enable autodevops

  4. Navigate to the project's pipelines

  5. Click on the running pipeline

  6. Observe that the license scanning is not present (i.e. it does not look like this)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #422791 (closed)

Edited by Philip Cunningham

Merge request reports

Loading