diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2022-10-05 23:52:38 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-10-05 23:52:38 +0300 |
commit | f1674c17d47f55544cb951788c71799631a6cb7f (patch) | |
tree | f79bce6707dd089c46943ce36d3cf4232f443f12 /lib | |
parent | c4a9771acd9d332cbd6ae6749e8b10e9b1cc6e32 (diff) |
Move step of single image test to the release MR
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/release.rake | 11 |
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}." |