snowballtools-base/packages/deployer/test
nabarun 42bdd21089
All checks were successful
Lint / lint (20.x) (push) Successful in 4m12s
Upgrade from laconic-sdk to registry-sdk (#1)
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: #1
2024-10-16 08:43:51 +00:00
..
records fix(staging): github client id on frontend staging deployment script (#214) 2024-06-22 17:24:40 -04:00
README.md fix(staging): github client id on frontend staging deployment script (#214) 2024-06-22 17:24:40 -04:00
test-webapp-deployment-undeployment.sh Upgrade from laconic-sdk to registry-sdk (#1) 2024-10-16 08:43:51 +00:00

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 ApplicationRecord and ApplicationDeploymentRequest records with latest meta data from the repo
    • Fetch the latest version of deployment-test-app from registry and increment ApplicationRecord version
    • Publish the resulting ApplicationRecord record
    • Set names to the record and check name resolution
    • Publish the ApplicationDeploymentRequest record
    • Check that the deployment occurs
      • Check that a ApplicationDeploymentRecord is created
      • Check that the deployment record has correct ApplicationRecord id
      • Check that the URL present in deployment record is active
    • Create and publish a ApplicationDeploymentRemovalRequest record
    • Check that the deployment is removed
      • Check that a ApplicationDeploymentRemovalRecord is created
      • Check that the deployment URL goes down
  • 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