Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add tips for debugging failed deployments (#2458)
sarayourfriend3e982b5acb2e
diff --git a/documentation/_static/ecs_events_tab.png b/documentation/_static/ecs_events_tab.pngnew file mode 100644index 000000000..fe0b991d0Binary files /dev/null and b/documentation/_static/ecs_events_tab.png differdiff --git a/documentation/_static/rerun_failed_deployment.png b/documentation/_static/rerun_failed_deployment.pngnew file mode 100644index 000000000..afd7ca568Binary files /dev/null and b/documentation/_static/rerun_failed_deployment.png differdiff --git a/documentation/general/deployment.md b/documentation/general/deployment.mdindex ff15c5f67..6a85aefeb 100644--- a/documentation/general/deployment.md+++ b/documentation/general/deployment.md@@ -95,6 +95,35 @@ of our CI. Nonetheless, given certain semantic merge conflicts, it is possiblethat a PR could pass CI and still cause a build failure when merged, so it istechnically possible for a failure to occur during the first step.+#### Debugging Failures++```{tip}+Please refer to the [general ECS logging documentation](/meta/monitoring/cloudwatch_logs/index.md)+for details about how to find logs for individual tasks.++An additional resource that is often helpful other than logs is the events list for a+service. You can find that under the "Events" tab of the ECS service's page:++++This tab shows a chronological list of the 100 most recent "events". Please+[refer to the AWS ECS documentation for information on what each of these events mean](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html).+```++#### Re-running Failed Deployments++```{tip}+To re-run a failed deployment with the same tag, simply re-run the failed deployment+workflow in the WordPress/openverse-infrastructure repository. **Do not re-run the+release workflow in the monorepo or this will create duplicate tags**. This approach+is useful if you think the deployment failed due to a temporary fluke.++++To re-run this failed production API deployment, re-run the failed jobs via the GitHub+UI.+```+## StagingStaging is automatically deployed any time code is merged to the `main` branch