60 Commits

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