18 Commits

Author SHA1 Message Date
roschaefer
1273d5f2b5 Implement automatic Github releases
I hope this will create a git tag and upload a release for us.
2019-09-13 03:04:19 +02:00
roschaefer
5804b1352c Remove old docker files 2019-09-11 08:43:26 +02:00
roschaefer
175b187f69 Update the COMMIT env var on every deployment
This should do the trick: First update the configmap, then trigger a
rollout. The new pods should have the update environment variables.
2019-08-20 11:28:41 +02:00
Robert Schäfer
a87330ef9b Update maintenance docker image on master build 2019-07-10 10:50:39 +02:00
Robert Schäfer
908a89759e
Merge branch 'master' into 206_setup_neo4j_db_constraints_on_startup 2019-06-05 13:40:12 +02:00
Robert Schäfer
96b1b0b31e Fix deployment - wrong docker image name 2019-06-05 10:33:10 +02:00
Robert Schäfer
900b05c280 Automatically push neo4j docker image to dockerhub 2019-06-05 00:31:54 +02:00
Robert Schäfer
019fd04d44 Auto-push maintenance-worker image to dockerhub 2019-05-31 18:38:58 +02:00
Robert Schäfer
5f43fe77fc Fix kubeconfig filename 2019-04-05 00:25:59 +02:00
Robert Schäfer
262655a1d8 Another try to setup doctl with the right version 2019-04-04 15:11:36 +02:00
Robert Schäfer
335d2cf1d6 Install kubectl via snap 2019-04-03 21:34:07 +02:00
Robert Schäfer
2dc5252f38 Install everything on Travis CI through snap
This commit should setup kubectl in a way that it downloads a recent
`kubeconfig` from Digitial Ocean with `doctl`. Thus, deployments will
not fail after a kubeconfig has expired.

Since it seems to be the recommended way to install `doctl` through
[Snap](https://snapcraft.io/). I decided to install everything else
through snap too, including chrome and docker.
2019-04-03 18:28:50 +02:00
Robert Schäfer
09b6cbaba5 Trigger rollout with a change to spec.template
The documentation clearly says:
```
Note: A Deployment’s rollout is triggered if and only if the
Deployment’s pod template (that is, .spec.template) is changed, for
example if the labels or container images of the template are updated.
Other updates, such as scaling the Deployment, do not trigger a
rollout.
```

Read: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
2019-03-25 16:47:08 +01:00
Robert Schäfer
6cbdad096d One more path fix 2019-03-22 10:19:43 +01:00
Robert Schäfer
a8c3fae17b Specify path to patch-deployment.yaml 2019-03-22 09:24:48 +01:00
Robert Schäfer
58c3986e51 Setup kubectl once 2019-03-22 00:25:33 +01:00
Robert Schäfer
c6d9ea052f Rollout deployment
* Replace BACKEND_URL with GRAPHQL_URI environment (DRY)
* Trigger rollout deployments by a simple label update
* DRY configmap and secret configuration
2019-03-21 21:42:20 +01:00
Robert Schäfer
44d1265681 Restructure for monorepo 2019-03-21 02:11:35 +01:00