-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Use CI images, and improve getting snapshot from Quay (#1452)
* Tests: Improve getting snapshots from Quay - Get the version from `COMPONENT_VERSION` instead of hardcoding it in two places - Improve the regex so it explicitly sets the z version number to 1-2 digits avoiding mistakes in matches (i.e 2.10.* could match 2.2.10) - Don't differentiate between how we get snapshot between release and other branches (just always get the latest snapshot we can find for the release we want) - Since Quay returns multiple pages of tags, we might get unlikly and not get any tags for the release we actually want. Therefore we add quay side filtering as well to ensure we only get snapshots for a specific release, and also ensure we get the most number of results we can (100 is the max) Signed-off-by: Jacob Baungard Hansen <[email protected]> * Tests: Always use CI generated images Prior to this commit, we would try to determine which components have changed, and only if a component changed, we would use the CI generated image. Otherwise we would try to get the latest snapshot from Quay. However, the way we get the latest snapshot from Quay is not guranteed to give us the very latest version (it will give us probably a resonably recent one), so to make sure we always test the latest change, just use all the images built using CI. Signed-off-by: Jacob Baungard Hansen <[email protected]> --------- Signed-off-by: Jacob Baungard Hansen <[email protected]>
- Loading branch information
1 parent
0c92c63
commit 375b31f
Showing
2 changed files
with
37 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters