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

Revert changes to CloudStack output glob #2567

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

abhay-krishna
Copy link
Member

The "fix" in #2565 actually failed Cloudstack builds because these builds, unlike OVA and Raw image builds, output their final build artifacts in the location output/build-name/build-name. OVA and Raw also generate similar files in a nested build-name directory but due to post processing (compression/archival), the final artifacts end up as output/build-name.ova and output/build-name.gz. No such post-processing occurs for cloudstack, so the output artifact is the QCOW2 image in output/build-name/build-name (without extension).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 17, 2023
switch b.Os {
case RedHat:
outputImageGlobPattern = "output/rhel-*"
outputImageGlobPattern = "output/rhel-*/rhel-*"
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the fix, rest is just a minor refactor.

@abhay-krishna
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhay-krishna

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Member

@pokearu pokearu left a comment

Choose a reason for hiding this comment

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

/lgtm

@eks-distro-bot eks-distro-bot merged commit 34704bd into aws:main Oct 17, 2023
1 check passed
@abhay-krishna abhay-krishna deleted the revert-cloudstack-fix branch March 6, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants