Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-10-05 23:52:38 +0300
committerSarah German <sgerman@gitlab.com>2022-10-05 23:52:38 +0300
commitf1674c17d47f55544cb951788c71799631a6cb7f (patch)
treef79bce6707dd089c46943ce36d3cf4232f443f12 /lib
parentc4a9771acd9d332cbd6ae6749e8b10e9b1cc6e32 (diff)
Move step of single image test to the release MR
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/release.rake11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/tasks/release.rake b/lib/tasks/release.rake
index fb3fea4d..7e400000 100644
--- a/lib/tasks/release.rake
+++ b/lib/tasks/release.rake
@@ -47,17 +47,8 @@ namespace :release do
post.puts content
end
- # Update GitLab version variable in .gitlab/ci/docker-images.gitlab-ci.yml
- ci_yaml = ".gitlab/ci/docker-images.gitlab-ci.yml"
- ci_yaml_content = File.read(ci_yaml)
- ci_yaml_content.gsub!(/GITLAB_VERSION: \S+/, "GITLAB_VERSION: '#{version}'")
-
- File.open(ci_yaml, 'w') do |post|
- post.puts ci_yaml_content
- end
-
# Add and commit
- `git add .gitlab/ci/docker-images.gitlab-ci.yml #{version}.Dockerfile`
+ `git add #{version}.Dockerfile`
`git commit -m 'Release cut #{version}'`
puts "\n#{TaskHelpers::COLOR_CODE_GREEN}INFO: Created new Dockerfile:#{TaskHelpers::COLOR_CODE_RESET} #{dockerfile}."