-
Notifications
You must be signed in to change notification settings - Fork 29
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
[EPIC] Move build/release automation to GH Actions #375
Comments
I will add the rest of the images to the list, so that we can create related issues for them, also we would need to document the process here so that we have consistency between the repos |
Are we also doing the switch to either |
I don't think we should, I think these series of PRs can act as a template for any other project that we need to move to GH action, so I think its better if we separete the moving to bci-busybox to another series of PRs |
The idea right now, is that this effort will be complete by June sometime, though I know we're blocked on an EIO step right now. I will update here as I know more. Thank you all! |
This is a small guide that should be applied for any new image/repo that we want to migrate to GH Actions:Image repos (image-build-*)Step 1 - Remove Drone TracesAll traces of drone must be removed, that includes:
Step 2 - Remove manifestSince we are using buildx now to support multiarch builds, then there is no need for manifest.tmpl, this should be removed from:
Step 3 - Add log to the makefileThe idea of the migration is simple, basically includes adding a log section to the makefile which will print all important environment variables that are given by tags or PRs and will be used by the github actions:
And then it can be used in the github action as follows:
Step 4 - Add
|
@galal-hussein very good summary, that's exactly what we did in the PRs already merged |
great summary! Maybe warn users that the way to fetch dockerhub secrets changed. Now we use a EIO github action and read the username and password from an env variable |
This epic issue is to track the effort of moving the automation of build and release of the following repositories to Github action instead of Drone:
Use GH actions for build/release - image-build-skel #409Use GH actions for build/release - image-build-kube-proxy #411Use GH actions for build/release - image-build-helm-controller #412Use GH actions for build/release - image-build-coreos-flannel #415Use GH actions for build/release - image-build-cilium #417Use GH actions for build/release - image-build-cilium-image-tools #418The migration should involve migrating the PR drone and push drone as well, which will include:
Decisions taken so far (up for discussion, of course!):
--load
oroutputs: type=docker
are not compatible with multi-arch imagesMakefile
. Creating the tag: version-build$DATE is complicated in github actions and we already have that in the Makefileaquasecurity/trivy-action
+ dependabot as opposed to running the trivy binary inside the build-base image. This way it is easy to make sure that we are on the latest trivy codegithub/codeql-action/upload-sarif@v3
to keep track of themWe need EIO:
GOTCHAS:
The text was updated successfully, but these errors were encountered: