- 
                Notifications
    You must be signed in to change notification settings 
- Fork 9
Add VM Tests for Fedora 42 #461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b1f9eae    to
    4eee2ab      
    Compare
  
    4eee2ab    to
    7d99721      
    Compare
  
    | # Download the test RPM and tools file for azurelinux | ||
| ./repo/toolkit/tools/internal/testutils/testrpms/download-test-utils.sh -d azurelinux -t 3.0 -s true | ||
| # Download the test RPM and tools file for fedora | ||
| ./repo/toolkit/tools/internal/testutils/testrpms/download-test-utils.sh -d fedora -t 42 -s true | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Fedora container image is currently being pulled from registry.fedoraproject.org. Pulling from an external registry is bad for a number of reasons including:
- The reliability of our builds becomes dependent on the uptime on the external resource,
- We are consuming someone else's resources (e.g. egress costs),
- We may end up being subject to pull limits.
We should setup an ACR artifact cache for registry.fedoraproject.org.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a blocking issue.
7d99721    to
    a4b5d74      
    Compare
  
    a4b5d74    to
    fc9c1a6      
    Compare
  
    b6441ef    to
    a08147c      
    Compare
  
    | # Download the test RPM and tools file for azurelinux | ||
| ./repo/toolkit/tools/internal/testutils/testrpms/download-test-utils.sh -d azurelinux -t 3.0 -s true | ||
| # Download the test RPM and tools file for fedora | ||
| ./repo/toolkit/tools/internal/testutils/testrpms/download-test-utils.sh -d fedora -t 42 -s true | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a blocking issue.
| if [ "${CI:-}" = "true" ]; then | ||
| FEDORA_42_CONTAINER_IMAGE="martimusexternal.azurecr.io/fedora/fedora:42" | ||
| else | ||
| FEDORA_42_CONTAINER_IMAGE="registry.fedoraproject.org/fedora:42" | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering that the cache ACR points to quay, we should probably use quay here as well for the sake of consistency.
Add Fedora 42 Support to VM Tests
This PR adds support for running VM tests with Fedora 42 images.
Changes
test-imagecreator-fedora: Runs only Fedora teststest-imagecreator-azurelinux: Runs only Azure Linux tests