0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
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