Commit bda3b9d0 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by Douglas Barbosa Alexandre

Update auto-build-image to v1.5.0

This was a feature-flagged change, see rollout issue
https://gitlab.com/gitlab-org/gitlab/-/issues/337990

We delete the feature flag here to prevent confusion in production if
the latest template falls behind stable.

The latest template must, however, remain, as removing it is a breaking
change.

Changelog: changed
parent 6cfa36b0
---
name: redirect_to_latest_template_jobs_build
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67782
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/337990
milestone: '14.2'
type: development
group: group::configure
default_enabled: false
variables: variables:
AUTO_BUILD_IMAGE_VERSION: 'v1.0.0' AUTO_BUILD_IMAGE_VERSION: 'v1.5.0'
build: build:
stage: build stage: build
...@@ -19,6 +19,9 @@ build: ...@@ -19,6 +19,9 @@ build:
export CI_APPLICATION_TAG=${CI_APPLICATION_TAG:-$CI_COMMIT_TAG} export CI_APPLICATION_TAG=${CI_APPLICATION_TAG:-$CI_COMMIT_TAG}
fi fi
- /build/build.sh - /build/build.sh
artifacts:
reports:
dotenv: gl-auto-build-variables.env
rules: rules:
- if: '$BUILD_DISABLED' - if: '$BUILD_DISABLED'
when: never when: never
......
# WARNING: This latest template is for internal FEATURE-FLAG TESTING ONLY.
# It is not meant to be used with `include:`.
# This template is scheduled for removal when testing is complete: https://gitlab.com/gitlab-org/gitlab/-/issues/337987
variables: variables:
AUTO_BUILD_IMAGE_VERSION: 'v1.5.0' AUTO_BUILD_IMAGE_VERSION: 'v1.5.0'
......
...@@ -5,9 +5,7 @@ module Gitlab ...@@ -5,9 +5,7 @@ module Gitlab
class GitlabCiYmlTemplate < BaseTemplate class GitlabCiYmlTemplate < BaseTemplate
BASE_EXCLUDED_PATTERNS = [%r{\.latest\.}].freeze BASE_EXCLUDED_PATTERNS = [%r{\.latest\.}].freeze
TEMPLATES_WITH_LATEST_VERSION = { TEMPLATES_WITH_LATEST_VERSION = {}.freeze
'Jobs/Build' => true
}.freeze
def description def description
"# This file is a template, and might need editing before it works on your project." "# This file is a template, and might need editing before it works on your project."
......
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