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

19 Commits

Author SHA1 Message Date
Karl-Aksel Puulmann
4ad6a28e60
Auto log in for e2e tests and review apps (#3377)
* Add AUTO_LOG_IN environment variable

This will be used when running tests on CI, setting up demo instances
and with cypress vcr

* Auto log in in review apps, e2e tests

This will speed up tests/reviewing significantly

* Rename AUTO_LOG_IN to AUTO_LOGIN

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-02-18 13:59:09 +01:00
Marius Andra
606525644e
Add deployment environment variables (#2874)
* add deployment env to track instances

* Rename Production ECS

Co-authored-by: Karl-Aksel Puulmann <oxymaccy@gmail.com>
2021-01-11 13:25:40 +01:00
Marius Andra
88ad205a3a
Separate Plugins dyno for Heroku (#2213)
* separate plugin worker for heroku

* plugin server for dev with less concurrency

* add back plugins script

* move beat log to beat

* move starting the beat into the celery worker

* add optional process types for plugins and celery

* premium redis for heroku review apps

* fix broken script

* proc/dyno names are alphanumeric

* singularize

* premium-0 redis for all heroku apps, not just review apps

* premium-0 redis also for review apps

* remove heroku redis modifications

* remove out of scope code

* run beat in bg
2020-11-20 10:42:59 +01:00
Yakko Majuri
308520d174
Release 1.17.0 (#2417)
* Add actions to sidebar (#2402)

* Fix cohorts not being calculated (#2404)

* Fix heroku image (#2414)

* Fix cohorts (#2415)

* Bump version 1.17.0

Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>
Co-authored-by: Tim Glaser <tim@glsr.nl>
2020-11-17 18:00:27 +00:00
Ed Morley
d8f9d491eb
Switch to the official Heroku Python buildpack (#2151)
* Switch to the official Heroku Python buildpack

Previously `app.json` was configured to use a custom fork of the Heroku Python buildpack, rather than the official buildpack.

The changes between the two are:
https://github.com/heroku/heroku-buildpack-python/compare/main...timgl:master

This was presumably to pick up this fix:
693fcc85b9

...which was since fixed upstream in:
a98a87e1bc

* Run Prettier
2020-10-31 12:53:41 +01:00
Tim Glaser
37883c6600
Fix review apps (#1977) 2020-10-22 16:04:17 +02:00
Michael Matloka
a31b7adaa6
Self-capture events in review instances (#1857)
* Self-capture events in review instances

* Make SELF_CAPTURE smarter

* Update head.html

* Rename variables back
2020-10-20 17:25:26 +02:00
Michael Matloka
632b2195f7
Try running review apps in production mode (#1847) 2020-10-13 12:40:17 +02:00
Michael Matloka
f81c6c3134
Improve Django commands for development (#1720)
* Rename setup_review to setup_dev

* Add a command for retrieving API keys through CLI
2020-09-28 21:25:50 +02:00
Tim Glaser
1acdf79294
Automatically set up user account (#1496)
* Automatically set up user account

* skip onboarding flow

* Add defaults
2020-08-27 14:58:51 +02:00
Michael Matloka
49a15e9f53
Enhance and optimize PR GitHub workflows (#1365)
* Enhance and optimize GitHub workflows

* Prettier app.json

* Update YAML list

* Prettier workflows

* Include YAML in prettier runs

* Improve job naming

* Update E2E workflow name

* Prettier docker-compose YAML

* Update workflows

* Put freezegun into prod requirements

* Update workflow names

* Update workflow names again

* Update ci-backend.yml

* Update Lint with flake8

* Remove redundant eslint:ci script

* Revert "Put freezegun into prod requirements"

This reverts commit 460e3942d10194e9f46c8a2196ebd9ecc1f23c6f.

* Install freezegun in workflow and update dev.txt

* Prettier auto-image.yml

* Add "CI" to ci-* names

* Fix prettier:check

* Add missing SECRET_KEY

* Prettier 2 last files
2020-08-18 11:08:40 +02:00
Tim Glaser
51d98db499
update logo heroku (#1210) 2020-07-14 16:27:45 +02:00
Tim Glaser
dc27b6d884
Set redis key policy to allkeys-lur (#825)
* Set redis key policy to allkeys-lur

* Correct key

* Try underscore
2020-05-25 15:29:54 +01:00
Marius Andra
643db5d505 add formation to review apps to trigger worker deployments 2020-04-07 14:24:36 +02:00
Marius Andra
edc3dc3632 require (at least) one worker in app.json 2020-04-07 14:01:33 +02:00
Marius Andra
306a57244d add celery 2020-04-07 14:01:33 +02:00
Tim Glaser
50807d063b Closes #111 Search through user properties 2020-02-17 17:02:50 -08:00
Tim Glaser
7bd0f9bee3 Extend app.json 2020-02-08 22:46:52 -08:00
Tim Glaser
7f911cddcc Events frontend 2020-01-24 15:57:57 -08:00