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

11 Commits

Author SHA1 Message Date
Paolo D'Amico
6b9f60fb2c
Notify Sentry of production releases (#3998)
* notify sentry when we do releases to production

* adjust action
2021-04-19 12:02:11 +02:00
Michael Matloka
941cfb386c
Revert "Use plugin-server container in containerized deploys" (#3516)
* Revert "Use plugin-server container in containerized deploys (#3515)"

This reverts commit 6fb295ed51.

* Update docker-compose.ch*.yml
2021-03-01 13:43:43 +01:00
Michael Matloka
6fb295ed51
Use plugin-server container in containerized deploys (#3515) 2021-03-01 12:56:33 +01:00
Paolo D'Amico
4e8ccbc2b6
Rename posthog-production to posthog-cloud (#3460) 2021-02-24 16:20:05 -06:00
Marius Andra
6efdb8efa6
revert plugins ECS definition to use plugin-server from ./plugins/package.json (#3177) 2021-02-03 12:21:49 +01:00
Michael Matloka
efe8870c85
Fix plugin server task definition rendering (#3053) 2021-01-22 15:01:25 +01:00
Marius Andra
098343cbee
Deploy Plugins to AWS (#2755)
* create plugins task

* add plugins to container

* remove env vars that are probably not needed

* bump size of node for plugins

* don't run plugin server on worker

Co-authored-by: James Greenhill <fuziontech@gmail.com>
2020-12-15 18:10:00 -08:00
James Greenhill
7929ee1cf5
Quick fix to migrations (#2695) 2020-12-07 17:45:20 -08:00
James Greenhill
ed6eb5e796
Setup ecs configs for web, worker, migration tasks and services (#2458)
* add worker to the ecs config and deploy

* for testing

* pull from this branch for testing

* chain config renders

* split out events pipe

* Set is_heroku true because of heroku kafka

* update /e/ service to run on port 8001

* add 8001 to the container definition as well

* simplify

* test migrating w/ ecs task using aws cli

* split services

* typo in task def

* remove networkConfiguration from task definition

* duplicate

* task-def-web specific

* update events service name

* Handle base64 encoded kafka certs

* if it's empty then try to set it for env vars

* fix b64 decode call

* cleanups

* enable base64 encoding of keys for kafka

* depend on kafka-helper for deps

* reformat

* sort imports

* type fixes

* it's late, I can't type. typos.

* use get_bool_from_env

* remove debug bits. Trigger on master/main

* prettier my yaml

* add notes about ref in GA

* up cpu and memory
2020-12-03 15:51:37 -08:00
James Greenhill
f6d2e18b2c
Create task definition for ECS (#2424)
* Create ECS Task definition for prod deploy

* change action for testing

* update action to deploy to ecs

* add id for build image

* try to get the file at deploy location

* change branch for testing

* update container name

* link up the container definition in the task definition

* remove duplicate key

* add IAM ARN for deploy user

* Replace role with role

* change roles for testing

* update roles for testing

* switch roles for testing

* update ports

* Swap roles

* update entrypoint for gunicorn

* use docker-server script to start service

* github bug?

* try to stop ssl redirect on container

* another test

* Clickhouse sync

* add new dns for stage testing

* remove unecessary step

* prep for merge

* slight rename
2020-11-19 21:11:00 -08:00
James Greenhill
2d882a0da6
create docker build action (#2419)
* create docker build action

* this is to test w/o keys

* fix

* back to pushing containers

* finalize for deploy
2020-11-17 15:42:44 -08:00