Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Deployment jobs
deploy-api
Triggers two separate workflows using workflow_dispatch that deploys the
staging environment of the API service and the thumbnails-specific API
deployment to AWS ECS. That workflows are given two inputs.
- the tag of the image that was published by the
publish-imagesjob, which is the output of theget-image-tagjob - the actor of the CI + CD workflow, for tagging them in Slack messages
The deployments are only triggered if all the following conditions are met.
- the API codebase has changed
- the
publish-imagesjob has passed, publishing the latest frontend image to GHCR- The fact that
publish-imagesran impliestest-apipassed.
- The fact that
deploy-frontend
Triggers a separate workflow using workflow_dispatch that deploys the staging
environment of the frontend service to AWS ECS. That workflow is given two
inputs.
- the tag of the image that was published by the
publish-imagesjob, which is the output of theget-image-tagjob - the actor of the CI + CD workflow, for tagging them in Slack messages
This deployment is only triggered if all the following conditions are met.
- the frontend codebase has changed
- the
playwrightjob has passed, implying no visual regressions have occurred - the
publish-imagesjob has passed, publishing the latest frontend image to GHCR- The fact that
publish-imagesran impliesnuxt-buildpassed.
- The fact that