You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This wasn't a problem in the past because server startup included: change YML, change config var. The goal is not to require changes to the YML every week. But YML will still change from time to time.
Step 1: check if the destination exists and tell Slack if not.
Step 2: check everything else.
Or, a post-commit hook on the YML that auto-updates DO_USER_DATA_URL? Over-engineering at its finest.
The text was updated successfully, but these errors were encountered:
slothbear
changed the title
Check if DO_USER_DATA_URL destination exists, emit error if not.
Check if DO_USER_DATA_URL destination exists.
Nov 6, 2020
The Raw URL/token will change when the underlying file changes, but it also goes away very quickly. I saw different durations, but never over 1 minute. The current method works because the previous startup instructions changed the URL then immediately booted the server. No way the token will be valid the following week.
Most of the file is not sensitive. There is a private key for logging into the server. And some public keys for admin users.
A private gist can be ready by anyone with the URL. Perhaps we can store the sensitive information somewhere else, then use a private gist, or even a public repository (wither?) for the bulk of the file.
(one of?) The downside of automating the heck out of server boot is if anything goes wrong, it can be hard to diagnose.
For instance, if you change the boot YML and don't change the DO_USER_DATA_URL on Heroku, the droplet won't find the file.
This wasn't a problem in the past because server startup included: change YML, change config var. The goal is not to require changes to the YML every week. But YML will still change from time to time.
Step 1: check if the destination exists and tell Slack if not.
Step 2: check everything else.
Or, a post-commit hook on the YML that auto-updates DO_USER_DATA_URL? Over-engineering at its finest.
The text was updated successfully, but these errors were encountered: