Skip to content

Commit

Permalink
Set channel of test operator based on version
Browse files Browse the repository at this point in the history
In many cases when running integration tests we faced a conflict of
version when adding bundle to index. This changes creates new channel
for each bundle.

Signed-off-by: Ales Raszka <[email protected]>
  • Loading branch information
Allda committed May 20, 2024
1 parent 6744c86 commit 037040f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/integration_tests/tasks/test_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
# Modify the test operator version
cp -avr $SRC_VERSION $DEST_VERSION
find $DEST_VERSION/ -type f -exec sed -i "s/${SRC_VERSION//\./\\.}/$DEST_VERSION/g" {} \;
find $DEST_VERSION/metadata/annotations.yaml -type f -exec sed -i "s/stable/$DEST_VERSION/g" {} \;
diff -bur $SRC_VERSION/ $DEST_VERSION/ || true
rm -rv ./$SRC_VERSION
Expand Down

0 comments on commit 037040f

Please sign in to comment.