forked from cerc-io/snowballtools-base
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: cerc-io/snowballtools-base#1 |
||
|---|---|---|
| .. | ||
| records | ||
| README.md | ||
| test-webapp-deployment-undeployment.sh | ||
deployer test
Check if the live web app deployer is in a working state
- Web app repo used: https://github.com/snowball-tools/test-progressive-web-app (main branch)
- Config used: ../config.yml
- The script test-webapp-deployment-undeployment.sh performs the following:
- Create / update
ApplicationRecordandApplicationDeploymentRequestrecords with latest meta data from the repo - Fetch the latest version of
deployment-test-appfrom registry and incrementApplicationRecordversion - Publish the resulting
ApplicationRecordrecord - Set names to the record and check name resolution
- Publish the
ApplicationDeploymentRequestrecord - Check that the deployment occurs
- Check that a
ApplicationDeploymentRecordis created - Check that the deployment record has correct
ApplicationRecordid - Check that the URL present in deployment record is active
- Check that a
- Create and publish a
ApplicationDeploymentRemovalRequestrecord - Check that the deployment is removed
- Check that a
ApplicationDeploymentRemovalRecordis created - Check that the deployment URL goes down
- Check that a
- Create / update
- The test script is run in a GitHub CI workflow that:
- Is scheduled to run everyday on the default (
main) branch or can be triggered manually - Sends Slack alerts to configured channels on failure
- Is scheduled to run everyday on the default (