enable compression for reverse_proxy responses
compression is disabled in caddy by default, rendering frontend PAINFULLY slow (as if Django is not slow enough already)
* feat: remove version from docker compose to support new spec
* feat: simplify the docker-compose setup so we do less version coordinations
* update hobby bin
* bump docker-compose version for hobby for extends compat
* move ci to ubuntu-latest
* Revert "move ci to ubuntu-latest"
This reverts commit a0462adfec.
* use docker compose for github ci
* correct comments on base
* feat: hobby ci script to e2e test hobby deploy on DO
* checkpoint
* script in a decent spot
* fixes
* more fixes for script
* github action to run python
* Update env var for DO token
* hobby test name
* run on pull requests
* action fixes
* actions fixes
* actions fixes
* actions fixes
* support release testing as well
* actions fixes
* retry tweaks. GHA are a pain
* exit 0 for success and 1 for failure
* handle signals better
* fixes
* retry deletion
* Don't import packages that don't exist
* kwargs the args
* break out of retries
* done
* don't run on master pushes
* Use staging for lets encrypt
* feedback
* feedback timeout context
* feedbacks
* fix issue where response could be referenced before initialization
We are running yarn install and starting the frontend dev server for
hobby. This isn't necessary or desired as the image is prebuilt.
Note we also need to update the /compose/start as well, in the upgrade.
It could probably do with a refactor but I'm not going to do that now.
* chore(hobby deployments): various fixes
* default do not check versions for current hobby release
Co-authored-by: James Greenhill <fuziontech@gmail.com>
* More secure secret generation
Use a random source designed for secrets/crypto and apply a stronger hash function as MD5 is broken. This shouldn't have too much of an impact in this context, but better safe than sorry.
* Tune `head` params
Co-authored-by: Michael Matloka <dev@twixes.com>
* Fix docs for hobby and add upgrade instructions
* swallow errors from stop command (should error normally)
* persist env vars in docker-compose for hobby
* remove .hobby from docker-compose
* make file easier to test
* make env vars easier to template
* use docker-compose from git instead of curl
* test envsubst params
* default for sentry because exceptions
* tweaks to default logic