Skip to content

Commit

Permalink
Merge pull request #39 from avalonmediasystem/upgrading
Browse files Browse the repository at this point in the history
Add notes about upgrading avalon
  • Loading branch information
cjcolvar authored Feb 22, 2023
2 parents 198d5b6 + a0a4a1d commit 2d14c3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ Turnkey comes bundled with [Persona](https://github.com/samvera-labs/samvera-per
# Maintenance
## Upgrading Avalon
Upgrading the version of Avalon running in the stack happens by running the CodeBuild build created by terraform and not through `terraform apply`. If you have customized your Avalon instance, first rebase your changes on top of the latest Avalon release, resolve conflicts, and push to your branch.
Then log into the AWS console and go to CodeBuild. Go into the details of the build created by terraform (e.g. "avalon-demo-build-project") and click "Start Build". This will rebuild the container image from the Avalon code branch used initially when bringing up the stack. The built image is pushed to the AWS container registry and an SSM message triggers pulling down the new image and restarting docker-compose on the EC2 instance.
## Update the stack
You can proceed with `terraform plan` and `terraform apply` as often as you want to see and apply changes to the
stack. Changes you make to the `*.tf` files will automatically be reflected in the resources under Terraform's
Expand Down

0 comments on commit 2d14c3c

Please sign in to comment.