Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

T lo/build dev packages #1491

Merged
merged 3 commits into from
Dec 18, 2023
Merged

T lo/build dev packages #1491

merged 3 commits into from
Dec 18, 2023

Conversation

t-lo
Copy link
Member

@t-lo t-lo commented Dec 15, 2023

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.

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 on build_dev_binpkgs and is likely to be similarly useful for other package build related development.

Fixes flatcar/Flatcar#1292.

How to use

./run_sdk_container -t
./build_packages
./build_dev_binpkgs

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.

@t-lo t-lo requested a review from a team December 15, 2023 16:38
@pothos
Copy link
Member

pothos commented Dec 15, 2023

Started a Jenkins build: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3111/cldsv/

Copy link

github-actions bot commented Dec 15, 2023

t-lo added 2 commits December 18, 2023 10:46
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>
@t-lo
Copy link
Member Author

t-lo commented Dec 18, 2023

Restarted the Jenkins CI after fixing an unbound variable issue: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/3126/cldsv/

@t-lo
Copy link
Member Author

t-lo commented Dec 18, 2023

@t-lo
Copy link
Member Author

t-lo commented Dec 18, 2023

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>
@t-lo t-lo merged commit 2e2070c into main Dec 18, 2023
@t-lo t-lo deleted the t-lo/build-dev-packages branch December 18, 2023 16:33
@t-lo t-lo restored the t-lo/build-dev-packages branch December 18, 2023 17:57
@t-lo t-lo deleted the t-lo/build-dev-packages branch December 18, 2023 18:07
t-lo added a commit that referenced this pull request Dec 18, 2023
@t-lo
Copy link
Member Author

t-lo commented Dec 18, 2023

Merged and cherry-picked for flatcar-3815.

3033, 3510, 3602 and 3760 required backports so these are dealt with in separate PRs.

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

Successfully merging this pull request may close these issues.

libtool is missing from the images.
2 participants