Update used version of Runner Helm Chart to 0.1.38
This commit is contained in:
parent
d993f4b1ec
commit
2d2d6cb546
|
@ -3,7 +3,7 @@
|
||||||
module Clusters
|
module Clusters
|
||||||
module Applications
|
module Applications
|
||||||
class Runner < ActiveRecord::Base
|
class Runner < ActiveRecord::Base
|
||||||
VERSION = '0.1.35'.freeze
|
VERSION = '0.1.38'.freeze
|
||||||
|
|
||||||
self.table_name = 'clusters_applications_runners'
|
self.table_name = 'clusters_applications_runners'
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,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.35')
|
expect(application.reload.version).to eq('0.1.38')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -46,7 +46,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.35')
|
expect(subject.version).to eq('0.1.38')
|
||||||
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)
|
||||||
|
@ -64,7 +64,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.35')
|
expect(subject.version).to eq('0.1.38')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue