-
Notifications
You must be signed in to change notification settings - Fork 394
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
Add Ubuntu 24.04 LTS for Azure #1454
Conversation
The two targets % PACKER_LOG=1 noproxy=* make -C images/capi build-azure-sig-ubuntu-2404-gen2
hack/ensure-python.sh
Checking if python is available
Python 3.12.3
...
2024/04/26 10:07:34 On error:
A build command cannot run without at least one build to process. If the only or
except flags have been specified at run time check that at least one build is
selected for execution.
Error: No builds to run
A build command cannot run without at least one build to process. If the only or
2024/04/26 10:07:34 [INFO] (telemetry) Finalizing.
except flags have been specified at run time check that at least one build is
selected for execution.
2024/04/26 10:07:34 waiting for all plugin processes to complete...
make: *** [build-azure-sig-ubuntu-2404-gen2] Error 1 I'm having trouble figuring out where this is going wrong. The other new targets all work. Any help would be appreciated! Edit: fixed, see below |
e3c575d
to
79aada0
Compare
b9a9681
to
210a1d4
Compare
Still getting Edit: never mind, I finally realized the |
210a1d4
to
1c82b4b
Compare
/retitle Add Ubuntu 24.04 LTS for Azure |
SIG_CVM_TARGETS="ubuntu-2004 ubuntu-2204 windows-2019-containerd windows-2022-containerd" | ||
SIG_CVM_CI_TARGETS="ubuntu-2204 windows-2022-containerd" | ||
VHD_TARGETS="ubuntu-2004 ubuntu-2204 ubuntu-2404 centos-7 mariner-2 rhel-8 windows-2019-containerd windows-2022-containerd" | ||
VHD_CI_TARGETS="ubuntu-2204 ubuntu-2404 mariner-2 windows-2019-containerd windows-2022-containerd" |
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 traded Ubuntu 20.04 for 24.04 in CI, not wanting to expand our costs per PR run. But please let me know if this doesn't seem like a worthwhile tradeoff.
@@ -488,7 +488,7 @@ $(AZURE_BUILD_SIG_GEN2_TARGETS): deps-azure | |||
|
|||
.PHONY: $(AZURE_BUILD_SIG_CVM_TARGETS) | |||
$(AZURE_BUILD_SIG_CVM_TARGETS): deps-azure | |||
. $(abspath packer/azure/scripts/init-sig.sh) $(subst build-azure-sig-,,$@) && packer build $(if $(findstring windows,$@),$(PACKER_WINDOWS_NODE_FLAGS),$(PACKER_NODE_FLAGS)) -var-file="$(abspath packer/azure/azure-config.json)" -var-file="$(abspath packer/azure/azure-sig-cvm.json)" -var-file="$(abspath packer/azure/$(subst build-azure-sig-,,$@).json)" -only="$(subst build-azure-,,$@)" $(ABSOLUTE_PACKER_VAR_FILES) packer/azure/packer$(findstring -windows,$@).json | |||
. $(abspath packer/azure/scripts/init-sig.sh) $(subst build-azure-sig-,,$@) && $(PACKER) build $(if $(findstring windows,$@),$(PACKER_WINDOWS_NODE_FLAGS),$(PACKER_NODE_FLAGS)) -var-file="$(abspath packer/azure/azure-config.json)" -var-file="$(abspath packer/azure/azure-sig-cvm.json)" -var-file="$(abspath packer/azure/$(subst build-azure-sig-,,$@).json)" -only="$(subst build-azure-,,$@)" $(ABSOLUTE_PACKER_VAR_FILES) packer/azure/packer$(findstring -windows,$@).json |
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.
Nice catch! 👍
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AverageMarcus 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 |
Change description
Adds support for Ubuntu 24.04-based builds on Azure.
Related issues
Additional context