54 Commits

Author SHA1 Message Date
c3ca5f0965
.gitkeep for scripts folder 2021-02-25 19:08:37 +01:00
eee25d136c
remove deploy scripts 2021-02-25 19:07:42 +01:00
737c5fc53a
updated docker files - removed todo
remove `docker_push.sh` script
2021-02-08 20:54:26 +01:00
5503216ad4
- first steps towards docker image deployment & github autotagging 2021-02-08 15:43:09 +01:00
289e62ddb4
corrected image & service names 2021-01-22 14:14:34 +01:00
Wolfgang Huß
fe6f052ded Replace deployment labels and selectors 2020-12-08 09:50:19 +01:00
Wolfgang Huß
cbdbe276cd Change namespace
- from '--namespace=human-connection' to '-n ocelot-social'.
2020-12-08 08:50:30 +01:00
Wolfgang Huß
d92c5c5356 Rename namespace: human-connection and name: human-connection 2020-12-03 13:11:18 +01:00
Wolfgang Huß
4d64dd144d Correct file docker_push.sh
- Name Docker repos like on Docker Hub.
- correct readme's.
2020-11-02 11:09:16 +01:00
Wolfgang Huß
da91be2136 Change docker repository to develop-maintenance
- maintenance  —>  develop-maintenance
2020-10-29 11:14:09 +01:00
Wolfgang Huß
a1e4a5bf5f Change docker repository to develop-neo4j
- neo4j  —>  develop-neo4j
2020-10-29 10:39:09 +01:00
Wolfgang Huß
13c70903e1 Change docker repository to develop-backend
- nitro-backend  —>  develop-backend
2020-10-28 10:59:36 +01:00
Wolfgang Huß
b6c8acab36 Change docker repository to develop-webapp
- nitro-web  —>  develop-webapp
2020-10-28 10:52:07 +01:00
Wolfgang Huß
360f545fb7 Change docker account
- humanconnection  —>  ocelotsocialnetwork
2020-10-28 10:36:14 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type (#3043)
* refactor(graphql): Introduce image type

* Undo changes to .travis.yml

* chore: Upgrade travis to node LTS

- URL is available since v10

* chore: use lts

Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
Raphael Beer
5f9b275e55
add colors to 'not sorted' messages and hint to --fix feature 2020-03-11 17:18:05 +01:00
Moriz Wahl
934c9906cc sorting keys, comparing de and en locales, yarn run locales 2020-02-18 18:07:57 +01:00
Moriz Wahl
3a33430298 path set correctly for subfolder of translation scripts 2020-02-18 18:07:57 +01:00
roschaefer
069e67f942 chore(ci): Check missing translations keys 2020-02-18 18:07:57 +01:00
Moriz Wahl
fa906efb1f locales sorted. 2020-02-18 18:07:57 +01:00
roschaefer
9011f922bb refactor(ci): Move translations to scripts/ folder
And refactor the script a little
2020-02-18 18:05:28 +01:00
mattwr18
39ea0a556b Remove github release script
- Looking at our releases, https://github.com/Human-Connection/Human-Connection/releases, the ones created from our build server, are not sufficient.

As part of the deploy process, I have been manually creating the Releases in Github, using our CHANGELOG.md.... I propose we remove this script from our build server, as it's now breaking our master build and it's not being used.
2020-02-03 18:22:21 +01:00
mattwr18
87b58bcf9c Fix deploy script with new naming convention 2020-01-30 13:40:30 +01:00
roschaefer
4631db0a1b feat(webapp): Display deployed version in footer
Remove VERSION file in favour of version entry in `package.json`. Parse
this version in our build server scripts.

This commit also introduces `standard-version` which we can use to
generate our `CHANGELOG.md` with `yarn run release`.

close #1831
2020-01-16 19:24:55 +01:00
roschaefer
28352675ea Fix docker manifest on Travis CI
So I had `DOCKER_CLI_EXPERIMENTAL=enabled` enabled by default and
couldn't reproduce the error on my machine. This time I'm pretty sure it
works as expected.
2019-12-10 23:57:05 +01:00
roschaefer
7457e677b2 Hope to fix our deployment with explicit bash
We should have been wary after seeing the version tags in the same loop as the
`latest` tag.
2019-12-10 16:10:54 +01:00
mattwr18
12e2682c50 Update deployment names in deploy script 2019-11-12 10:46:40 +01:00
mattwr18
a4386c17cf Update doctl to use default context
- access token is ignored if any other context is passed in
2019-11-11 22:45:05 +01:00
mattwr18
d105739c0b Update docs for deploying new server, env variables 2019-11-11 11:10:02 +01:00
roschaefer
41aee3af33 Exclude broken maintenance-worker docker image
The Dockerfile is still using `apk` instead of `apt-get` (Debian slim).
So that's why our build server was never successfully pushing the
`maintenance-worker` image.
2019-09-18 15:14:22 +02:00
Robert Schäfer
5466cf69b2
Merge pull request #1601 from Human-Connection/github_release_without_uploads
Relase without any artifacts
2019-09-17 13:52:54 +02:00
roschaefer
f5b7130542 Relase without any artifacts
I contributed to `ghr` here:
https://github.com/tcnksm/ghr/pull/118

Now after `ghr` does not need any artifacts to create a file, we can
stop uploading archives. (Use the default archives provided by Github)
2019-09-16 21:17:23 +02:00
roschaefer
0ccf7211b5 Fix docker image tags 2019-09-16 18:09:18 +02:00
roschaefer
2948772d19 Fix deployment script for docker images 2019-09-16 10:21:44 +02:00
Robert Schäfer
6a4a96f5d5
Merge pull request #1560 from Human-Connection/github_release
Use automatic Github releases as a CHANGELOG
2019-09-13 16:10:20 +02:00
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
7f2cd575cb Push all docker images at VERSION to dockerhub
Inspired by the tagging of e.g. `node` on dockerhub:
https://hub.docker.com/_/node/?tab=description

I would like to push the current version of all our images to dockerhub.
This is a first step to push to production later on.

If sb. increments the VERSION file, this is considered a release.
2019-09-12 23:41:58 +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