Skip to content

Conversation

@nikolaszimmermann
Copy link
Member

Replace wkdev-sdk-bakery script with direct podman commands for building and deploying container images, matching the pattern from webkit-container-sdk-bots.

Main changes:

  • Build jobs now use direct podman build/push instead of bakery script
  • Remove artifact upload/download steps for faster workflow execution
  • Push arch-specific images directly to registry after build
  • Deploy job validates images exist before creating manifest
  • Add rollback cleanup if validation fails
  • Clean up intermediate arch-specific tags after successful deployment
  • Fix WKDEV_SDK_TAG to use GITHUB_REF_NAME instead of GITHUB_BASE_REF
  • Add debug output for troubleshooting tag variables

Should lead to much faster builds + deployments.

run: |
source ./register-sdk-on-host.sh
wkdev-sdk-bakery --mode=build --verbose --arch amd64
podman build -t ${REPO}:${WKDEV_SDK_TAG}_amd64 --arch=amd64 images/wkdev_sdk
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up, one thing we're missing compared to wkdev-sdk-bakery is the --jobs argument. Presumably doesn't make a big difference for the image build anyway.

Copy link
Collaborator

@aoikonomopoulos aoikonomopoulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with the usual caveat about the duplication between amd64/arm64.

@nikolaszimmermann nikolaszimmermann force-pushed the nzimmermann/optimize_build_time branch from 4136129 to b8e738e Compare November 17, 2025 20:40
Replace wkdev-sdk-bakery script with direct podman commands for
building and deploying container images, matching the pattern from
webkit-container-sdk-bots.

Main changes:
- Build jobs now use direct podman build/push instead of bakery script
- Remove artifact upload/download steps for faster workflow execution
- Push arch-specific images directly to registry after build
- Deploy job validates images exist before creating manifest
- Add rollback cleanup if validation fails
- Clean up intermediate arch-specific tags after successful deployment
- Fix WKDEV_SDK_TAG to use GITHUB_REF_NAME instead of GITHUB_BASE_REF
- Add debug output for troubleshooting tag variables

Should lead to much faster builds + deployments.
@nikolaszimmermann nikolaszimmermann force-pushed the nzimmermann/optimize_build_time branch from b8e738e to 81a4318 Compare November 17, 2025 23:16
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.

4 participants