Skip to content

Check if DO_USER_DATA_URL destination exists. #32

@slothbear

Description

@slothbear

(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.

user_data: open(ENV['DO_USER_DATA_URL']).read # ROFLMAO

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions