Switch to isle-site-template and overhaul CI/CD pipeline#43
Draft
Switch to isle-site-template and overhaul CI/CD pipeline#43
Conversation
Replace the custom docker-compose project with a direct clone of
isle-site-template on first boot, making this repo a reference
deployment of Islandora on DigitalOcean via Fedora CoreOS.
Deployment pipeline:
- Deploy to test.islandora.ca on PR open/push; destroy on merge
- Deploy to sandbox.islandora.ca on merge to main
- Drop bake.yml — no custom images to build
Snapshot workflow:
- Auto-detect latest stable Fedora CoreOS DigitalOcean image
- Add monthly schedule; prune old coreos-tagged snapshots
Droplet provisioning:
- Install make via rpm-ostree --apply-live before setup
- Clone isle-site-template, copy .env and secrets, run make init build demo-objects
- Stage secrets (ACTIVEMQ_WEB_ADMIN_PASSWORD, DRUPAL_DEFAULT_ACCOUNT_PASSWORD)
via ignition before any service starts
- Fallback through ordered size list when preferred slug unavailable in region
- Health check polls /node/1?_format=json up to 15 minutes post-deploy
And use the latest snapshot
Contributor
Author
|
I tripped LetsEncrypt's rate limit creating too many droplets while testing this out. The rate limit will reset March 6 and that will fix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the custom docker-compose project with a direct clone of isle-site-template on first boot, making this repo a reference deployment of Islandora on DigitalOcean via Fedora CoreOS.
Deployment pipeline:
test.islandora.caon PR open/push. Runs a basic healthcheck on the service to ensure ISLE comes online with nodes, then delete the droplet to save costs. This is basically a smoke test before deploying to the live sandboxsandbox.islandora.caon merge to mainSnapshot workflow:
Droplet provisioning: