Skip to content

Commit

Permalink
fix: update missing ruby 3.0 ref
Browse files Browse the repository at this point in the history
updated images.sh and persistent to reference 3.0 image streams

Signed-off-by: ehila <ehila@redhat.com>
  • Loading branch information
eggfoobar committed Dec 20, 2023
1 parent 30a1d82 commit 26ad2f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/quickstarts/rails-postgresql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
],
"from": {
"kind": "ImageStreamTag",
"name": "ruby:2.7-ubi8",
"name": "ruby:3.0-ubi8",
"namespace": "${NAMESPACE}"
}
},
Expand Down
6 changes: 3 additions & 3 deletions test/extended/testdata/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/extended/testdata/cmd/test/cmd/images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ os::test::junit::declare_suite_end
os::test::junit::declare_suite_start "cmd/images${IMAGES_TESTS_POSTFIX:-}/merge-tags-on-apply"
os::cmd::expect_success 'oc new-project merge-tags'
os::cmd::expect_success 'oc create -f ${TEST_DATA}/image-streams/image-streams-centos7.json'
os::cmd::expect_success_and_text 'oc get is ruby -o jsonpath={.spec.tags[*].name}' '2.7-ubi8 latest'
os::cmd::expect_success_and_text 'oc get is ruby -o jsonpath={.spec.tags[*].name}' '2.7-ubi8 3.0-ubi7 3.0-ubi8 3.0-ubi9 latest'
os::cmd::expect_success 'oc apply -f ${TEST_DATA}/modified-ruby-imagestream.json'
os::cmd::expect_success_and_text 'oc get is ruby -o jsonpath={.spec.tags[*].name}' '2.7-ubi8 latest newtag'
os::cmd::expect_success_and_text 'oc get is ruby -o jsonpath={.spec.tags[*].name}' '2.7-ubi8 3.0-ubi7 3.0-ubi8 3.0-ubi9 latest newtag'
os::cmd::expect_success_and_text 'oc get is ruby -o jsonpath={.spec.tags[0].annotations.version}' '2.7 patched'
os::cmd::expect_success 'oc delete project merge-tags'
echo "apply new imagestream tags: ok"
Expand Down

0 comments on commit 26ad2f5

Please sign in to comment.