0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
James Greenhill
4d75323ac3
chore: tune up the hobby deploy testing (#21142)
* chore: tune up the hobby deploy testing

* quick fix

* put everything in the class

* include release tag in name

* split this out into stages for GA

* test throwing ci off

* fix

* test destroy

* check env

* exit if things don't work out

* debug

* somewhat important to create the dns record here hah

* record name as well

* maybe?

* update user_data

* set dns ttl to 30 sec

* silly dns mistake

* correct DNS error
2024-03-26 09:54:22 -07:00
Michael Matloka
4a9ee98d40
fix(bin): Format hobby-ci.py and run black in CI for bin/*.py (#13090) 2022-12-02 14:52:12 +01:00
James Greenhill
9b45f3c5bc
fix: Hobby ci fixes so that the branch is actually tested (#13085)
* chore: test hobby ci

* tweak how hobby is tested

* fix was caddy related

* Fix up passing the branch

* send GITHUB_SHA

* ok ok use
2022-12-01 20:45:00 -08:00
James Greenhill
6c5503cef9
feat: Have a local docker-compose stack for developing 100% in docker (#13025)
* feat: Have a local docker-compose stack for developing 100% in docker

* lol found a docker-compose bug where you can't have volumes created in root dir

* scale -> deploy.replicas

* don't forget to add image for asyncmigrationscheck

* env vars to each component

* Rename local to dev-full
2022-11-30 09:49:17 -08:00
James Greenhill
295603563f
fix(settings): test account default hostname filter (#11592) (#13024)
* fix(test-account-filter): use 'event' type for filter

* fix(test-account-filter): sanitize filter for old bad data

* nope

* fix type

* fix test

Co-authored-by: Michael Matloka <dev@twixes.com>

Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2022-11-29 23:12:58 +00:00
Karl-Aksel Puulmann
441e1e376b
chore(ci): Fix master branch tests (#12399)
* fix test_usage_report tests

buggy tests shipped in https://github.com/PostHog/posthog/pull/12383

* Ignore problematic lines
2022-10-24 14:33:33 +03:00
Michael Matloka
1b18e58019
style: Format hobby-ci.py (#12397) 2022-10-24 12:29:14 +02:00
James Greenhill
ddc7d44a1e
feat: hobby ci script to e2e test hobby deploy on DO (#12153)
* 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
2022-10-22 02:47:13 +00:00