Skip to content

Commit

Permalink
Override the version on the docker image to 'latest' for tests (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-milkey committed Jun 17, 2020
1 parent 9fa2ce4 commit 6d42474
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cli/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (s *TestSuite) SetupTestSuite() error {

err = helm.Chart("onos-topo").
Release("onos-topo").
Set("image.tag", "latest").
Set("store.controller", "onos-config-atomix-kubernetes-controller:5679").
Install(true)
if err != nil {
Expand All @@ -56,6 +57,7 @@ func (s *TestSuite) SetupTestSuite() error {

err = helm.Chart("onos-config").
Release("onos-config").
Set("image.tag", "latest").
Set("store.controller", "onos-config-atomix-kubernetes-controller:5679").
Install(true)
if err != nil {
Expand All @@ -64,6 +66,7 @@ func (s *TestSuite) SetupTestSuite() error {

err = helm.Chart("onos-cli").
Release("onos-cli").
Set("image.tag", "latest").
Install(true)
if err != nil {
return err
Expand Down
2 changes: 2 additions & 0 deletions test/gnmi/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (s *TestSuite) SetupTestSuite() error {

err = helm.Chart("onos-topo").
Release("onos-topo").
Set("image.tag", "latest").
Set("store.controller", "onos-config-atomix-kubernetes-controller:5679").
Install(true)
if err != nil {
Expand All @@ -56,6 +57,7 @@ func (s *TestSuite) SetupTestSuite() error {

err = helm.Chart("onos-config").
Release("onos-config").
Set("image.tag", "latest").
Set("store.controller", "onos-config-atomix-kubernetes-controller:5679").
Install(true)
if err != nil {
Expand Down

0 comments on commit 6d42474

Please sign in to comment.