Skip to content

Conversation

blacha
Copy link
Member

@blacha blacha commented Feb 19, 2025

Motivation

There is a bug building arm64 containers under amd64 which is causing segfaults, we currently use QEMU to cross compile the containers which can be reasonably slow.

There is also another bug where external contributors cannot trigger builds on pull requests to basemaps which leaves pull requests unable to be merged. eg: #3396

The build process for containers was also split across two workflows this merges the workflows into a single container building workflow.

Modifications

Disable build pipelines for external pull requests as they do not have access to our secrets, which causes them to fail.

Split container builds into a matrix build using arm64 runners for arm containers and amd64 runners for x86 containers.

Verification

Created a number of containers with container tag on pull requests and pushed commits to the master branch on blacha/basemaps

@blacha blacha added container build pull request container for testing and removed container build pull request container for testing labels Feb 19, 2025
@blacha
Copy link
Member Author

blacha commented Feb 19, 2025

containers are unable to be pushed as this is from a basemaps fork 😭 I wonder if there is a better way of handling building containers when building off a public fork.

@blacha blacha marked this pull request as ready for review February 19, 2025 03:04
@blacha blacha requested a review from a team as a code owner February 19, 2025 03:04
@blacha blacha enabled auto-merge February 19, 2025 21:21
tawera-manaena
tawera-manaena previously approved these changes Feb 19, 2025
@blacha blacha added this pull request to the merge queue Feb 19, 2025
auto-merge was automatically disabled February 19, 2025 21:33

Pull Request is not mergeable

@blacha blacha removed this pull request from the merge queue due to a manual request Feb 19, 2025
@blacha blacha enabled auto-merge February 19, 2025 21:35
@blacha blacha added this pull request to the merge queue Feb 19, 2025
Merged via the queue into linz:master with commit 724d580 Feb 19, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants