-
-
Notifications
You must be signed in to change notification settings - Fork 335
Utilise containers in Azure dynamic VMs for AQA runs #6553
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: master
Are you sure you want to change the base?
Changes from all commits
39ea32b
a02710f
76fe497
c300867
a83f285
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -551,9 +551,9 @@ def runTest() { | |
| } | ||
| jenkinsfile = load "${WORKSPACE}/aqa-tests/buildenv/jenkins/JenkinsfileBase" | ||
| if (LABEL.contains('ci.agent.dynamic') && CLOUD_PROVIDER.equals('azure')) { | ||
| //Set dockerimage for azure agent. Fyre has stencil to setup the right environment | ||
| docker.image('adoptopenjdk/centos7_build_image').pull() | ||
| docker.image('adoptopenjdk/centos7_build_image').inside { | ||
| // Set dockerimage for azure agent. Fyre has stencil to setup the right environment | ||
| docker.image('ghcr.io/adoptium/test-containers:ubi10').pull() | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we start from ubuntu2404, which is more popular and open?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably also point at the other named dir, adoptium_test_image, as discussed to avoid confusion around the test-containers product.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Why do you consider UBI10 to not be open? We have both images so either can work here, although for this initial prototype I chose the potentially more awkward one (UBI10 uses weston instead of Xvfb) to ensure we spot any errors.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yeah as discussed that's a good idea in the future, but this should be considered an initial pass to see how it works and so I wouldn't wish to block merging of this PR and it's testing on going back and republishing images at this stage.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, both this and container selection can be future revisions. |
||
| docker.image('ghcr.io/adoptium/test-containers:ubi10').inside { | ||
| jenkinsfile.testBuild() | ||
| } | ||
| } else if (dockerAgentLabel.equals('default') && LABEL.contains('&&sw.tool.docker') && SPEC.equals('linux_riscv64')) { | ||
|
|
||
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.
Will this change work for CLOUD_PROVIDER=fyre, EBC?
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.
I'll have to defer to someone who knows about how we integrate with those systems more than I do.
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.
Having said that, I doubt they'd be using
CLOUD_PROVIDER=azureso it shouldn't affect those scenarios.