-
Notifications
You must be signed in to change notification settings - Fork 7
UAT - MAGE for running #141
Copy link
Copy link
Open
Description
scripting
https://github.com/goplus/gop Or mage
Let use mage to be safe !
- add it to booty, so devs and server gets it.
- then make it do what is below...
- magefile per project at https://github.com/amplify-edge/main/tree/master/deploy/projects
- because the template BUILD fine, but at project level we need some scripting to RUN.
2 scenarios:
suggest we try to use ENV variable so that the same mage script can run locally or on the server.
- lots of comments please so dummies because we and other will be using it.
- run locally
- makefile so that org-y ( machine generated can be run locally ).
- tag and deploy org-y
- preconditions:
- ssh keys to server
- transfer booty
- from server, run booty
- booty pulls the tagged binaries ( yeah )
- locally, get config ( encrypted ). Presumes you encrypted it locally beforehand and pushed to github.
- ssh config across to server
- caddy, add virtual host ? for example. v2.5.domain.com. manually configure that. Caddy gets the Certs, so main does not ( hence why it a config setting ? ).
- email and DNS changes ?
- systemd ( or any supervisor ) is managed by booty. For now do it manually.
- then bootstrap it with data.
- from laptop, use CLI to bootstrap server.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels