addons
addons copied to clipboard
[Task]: Migrate docker image push to github action
Description
Currently we still use circleCI to build and publish our docker image. We have an action to build and publish the image from github actions but currently our deployment pipeline is listening for circleCI events to trigger deployments.
We will need to modify our deployment pipeline to listen for appropriate github events or manually trigger deployment from addons-server actions. There are pros and cons to both approaches and we should discuss them and decide on a strategy.
We could also consider in the scope of this task, or another task to push directly to GCP registry.
Plan
We have a CI
workflow in addons-server that is currently triggered by:
-
release:publish
- maps to a tag release to staging -
push:branch.main
- maps to alatest
release to dev
We have enabled the workflow_run
event to be sent to event-router
With these events we can trigger dev/staging deployments using the image pushed via github actions. The next steps are defined in the AC below.
Acceptance Criteria
### Acceptance Criteria
- [ ] https://github.com/mozilla/addons/issues/14865
- [ ] https://github.com/mozilla/addons/issues/14866
- [ ] https://github.com/mozilla/addons/issues/14867
- [ ] https://github.com/mozilla/addons/issues/14868
- [ ] https://github.com/mozilla/addons/issues/14908
- [ ] https://github.com/mozilla/addons/issues/14909
Checks
- [X] If the issue is ready to work on, I have removed the "needs:info" label.
┆Issue is synchronized with this Jira Task