Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

2.4 KB
Raw Blame

Frontend deployment runbook

For more information on how deployments work, please see the [general deployment guide](/meta/release_and_deployment/index.md).

Publish the release

Publish the drafted frontend release in the GitHub release page of the monorepo.

Deployment

Publishing the release will automatically trigger a deployment. You can monitor the deployment in the maintainers #openverse-notifications channel and in the infrastructure repository's workflow listing.

Post-deployment steps

  1. Check for any alarms in the maintainer's #openverse-alerts channel, and for errors in the service's CloudWatch logs.

  2. Visit https://openverse.org/version.json and verify the SHA is the same as the value you deployed.

  3. Review and Approve the automatically-generated changelog pull request in the repository.

  4. In the event of errors or problems, roll back the application.

  5. Add any new analytics events to Plausible:

    1. Visit the "Goals" configuration page and add any new events.
    2. If those events have new unique payload property names, those must also be added to the "Custom properties" configuration.
    **Do not click the "click to add all existing properties" button!** This button
    will cause all props to be added and therefore displayed on events, [even ones we've
    explicitly removed](https://github.com/WordPress/openverse/commit/53c2e70171e22593027b184b599c530a47429a03).
    Instead, manually add new custom properties one at a time by entering them into
    the input box on the page. If the event has already been sent once, the property
    names will auto-complete in the box, making it less tedious to add new ones.
    
    If you accidentally click this button, please manually delete the following
    deprecated properties from the configuration:
    
    - `timestamp`
    - `language`
    - `ua`
    - `os`
    - `platform`
    - `browser`
    - `version`
    - `origin`
    - `pathname`
    - `referrer`