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

Fail out if cc was specified but contents are empty #66

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Oct 2, 2024

If we have marked a cloud config file but after parsing and templating,
the contents are empty, error out as it points out to a user error on
choosing the file.

If no cc is set, the check wont fail out.

This also brings some small improvements to dockerfile to not have to fully rebuild the dockerfile each time something is changed on aurora for testing

Probably fixes kairos-io/kairos#2876 as it looks like a wrong naming issue can lead to confusion like this. With this patch, the error will be immediately evident

Signed-off-by: Itxaka itxaka@kairos.io

Itxaka added 3 commits October 2, 2024 11:07
So we can cache most of the stuff fi its being rebuilt

Signed-off-by: Itxaka <itxaka@kairos.io>
If we have marked a cloud config file but after parsing and templating,
the contents are empty, error out as it points out to a user error on
choosing the file.

If no cc is set, the check wont fail out.

Signed-off-by: Itxaka <itxaka@kairos.io>
Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team October 2, 2024 09:22
Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka force-pushed the copy_file_debug branch 2 times, most recently from c9bd215 to d6dd93b Compare October 2, 2024 13:52
@Itxaka Itxaka merged commit 5e963f9 into master Oct 2, 2024
5 checks passed
@Itxaka Itxaka deleted the copy_file_debug branch October 2, 2024 14:35
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.

AuroraBoot doesn't copy cloud config file
3 participants