aws-observability / aws-rum-web

Amazon CloudWatch RUM Web Client
Apache License 2.0
119 stars 65 forks source link

chore: Run smoke tests in pre-prod before publishing #416

Closed qhanam closed 1 year ago

qhanam commented 1 year ago

The release workflow does not currently test the release in a pre-prod environment before executing the release. This means that (1) the release technician must manually test the release in a pre-prod environment before executing a release, and (2) there is an increased risk of a regression.

This change adds steps to the release workflow to test the release in a pre-prod environment before running the release.

This change adds the following three secrets secrets to the release environment.

  1. ROLE_GAMMA
  2. BUCKET_GAMMA
  3. CDN_GAMMA

I've verified the new release workflow succeeds in pre-prod up to the NPM publishing step, which is unchanged. See https://github.com/qhanam/aws-rum-web/actions/runs/5226500122/jobs/9437220189


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.