-
Notifications
You must be signed in to change notification settings - Fork 54
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
T lo/build dev packages #1491
T lo/build dev packages #1491
Conversation
Started a Jenkins build: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3111/cldsv/ |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/7252203328 |
This change introduces build_dev_binpkgs, a script to build binary packages for all dependencies of the devcontainer. This works around an issue with build_packages, which doesn't - leading to build issues with the devcontainer later on. This particularly happens for more complex builds with the devcontainer. Additionally, a call to build_dev_binpkgs has been added to the package publishing step in ci-automation before binary packages are published. Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
This change adds a command line option to build_packages to stop execution of the script after breaking circular dependencies (i.e. before board packages are built). Helpful for debugging package build issues. Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
29aea36
to
f68167d
Compare
Restarted the Jenkins CI after fixing an unbound variable issue: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3126/cldsv/ |
All tests are green on Jenkins CI, and updated packages now include libtool once again: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3126/cldsv/ |
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
Merged and cherry-picked for flatcar-3815. 3033, 3510, 3602 and 3760 required backports so these are dealt with in separate PRs. |
This change introduces
build_dev_binpkgs
, a script to build binary packages for all dependencies of the devcontainer. This works around an issue withbuild_packages
, which doesn't - leading to build issues with the devcontainer later on. This particularly happens for more complex builds with the devcontainer.Additionally, a call to
build_dev_binpkgs
has been added to the package publishing step in ci-automation before binary packages are published.Lastly, this change adds a command line option to
build_packages
to stop execution of the script after breaking circular dependencies (i.e. before board packages are built). This option was very helpful while working onbuild_dev_binpkgs
and is likely to be similarly useful for other package build related development.Fixes flatcar/Flatcar#1292.
How to use
Testing done
Successfully built devcontainer packages for amd64 and arm64.
Backporting and cherry-picking
Should be backported / cherry-picked to all maintenance branches: flatcar-3033, flatcar-3510, flatcar-3602, flatcar-3760, flatcar-3815.