Skip to content
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

feat: add support of windows container images (2019 and 2022) #819

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Sep 24, 2023

This PR superseds the initial experiment to build our custom Windows container images with packer (instead of https://github.com/jenkins-infra/docker-inbound-agents/) to continue the "All in One" project for easier maintenance.

@dduportal dduportal changed the title Feat/add windows containers feat: add support of windows container images (2019 and 2022) Sep 24, 2023
Signed-off-by: Damien Duportal <[email protected]>
Signed-off-by: Damien Duportal <[email protected]>
Signed-off-by: Damien Duportal <[email protected]>
Signed-off-by: Damien Duportal <[email protected]>
Signed-off-by: Damien Duportal <[email protected]>
Signed-off-by: Damien Duportal <[email protected]>
if (compute_type == 'docker') {
String agentLabel = compute_type + '-' + packer_template
if (packer_template ==~ /ubuntu.*/) {
agentLabel = 'linux-amd64-docker'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review with @smerle33: missing arm64 case for Linux!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
agentLabel = 'linux-amd64-docker'
agentLabel = "linux-${cpu_architecture}-docker"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant