Update used version of Runner Helm Chart to 0.1.34
This commit is contained in:
parent
284100a8e3
commit
8288e91b9a
3 changed files with 9 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
module Clusters
|
module Clusters
|
||||||
module Applications
|
module Applications
|
||||||
class Runner < ActiveRecord::Base
|
class Runner < ActiveRecord::Base
|
||||||
VERSION = '0.1.31'.freeze
|
VERSION = '0.1.34'.freeze
|
||||||
|
|
||||||
self.table_name = 'clusters_applications_runners'
|
self.table_name = 'clusters_applications_runners'
|
||||||
|
|
||||||
|
|
5
changelogs/unreleased/update-runner-chart-to-0-1-34.yml
Normal file
5
changelogs/unreleased/update-runner-chart-to-0-1-34.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Update used version of Runner Helm Chart to 0.1.34
|
||||||
|
merge_request: 22274
|
||||||
|
author:
|
||||||
|
type: other
|
|
@ -17,7 +17,7 @@ describe Clusters::Applications::Runner do
|
||||||
let(:application) { create(:clusters_applications_runner, :scheduled, version: '0.1.30') }
|
let(:application) { create(:clusters_applications_runner, :scheduled, version: '0.1.30') }
|
||||||
|
|
||||||
it 'updates the application version' do
|
it 'updates the application version' do
|
||||||
expect(application.reload.version).to eq('0.1.31')
|
expect(application.reload.version).to eq('0.1.34')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -45,7 +45,7 @@ describe Clusters::Applications::Runner do
|
||||||
it 'should be initialized with 4 arguments' do
|
it 'should be initialized with 4 arguments' do
|
||||||
expect(subject.name).to eq('runner')
|
expect(subject.name).to eq('runner')
|
||||||
expect(subject.chart).to eq('runner/gitlab-runner')
|
expect(subject.chart).to eq('runner/gitlab-runner')
|
||||||
expect(subject.version).to eq('0.1.31')
|
expect(subject.version).to eq('0.1.34')
|
||||||
expect(subject).not_to be_rbac
|
expect(subject).not_to be_rbac
|
||||||
expect(subject.repository).to eq('https://charts.gitlab.io')
|
expect(subject.repository).to eq('https://charts.gitlab.io')
|
||||||
expect(subject.files).to eq(gitlab_runner.files)
|
expect(subject.files).to eq(gitlab_runner.files)
|
||||||
|
@ -63,7 +63,7 @@ describe Clusters::Applications::Runner do
|
||||||
let(:gitlab_runner) { create(:clusters_applications_runner, :errored, runner: ci_runner, version: '0.1.13') }
|
let(:gitlab_runner) { create(:clusters_applications_runner, :errored, runner: ci_runner, version: '0.1.13') }
|
||||||
|
|
||||||
it 'should be initialized with the locked version' do
|
it 'should be initialized with the locked version' do
|
||||||
expect(subject.version).to eq('0.1.31')
|
expect(subject.version).to eq('0.1.34')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue