5888 Commits

Author SHA1 Message Date
Robert Schäfer
81ae557be1 Create a persistent volume claim for uploads 2019-02-04 13:00:00 +01:00
Robert Schäfer
20908cd062 Docker and .gitignore entire .ssh folder
On kubernetes, the ssh keys are added as a volume from a secret
2019-02-04 12:41:03 +01:00
Robert Schäfer
064e98943d Remove sub-directories in /mongo-export
On Digital Ocean a persistent volume has a folder `lost+found` by
default. This script stops throws error messages because it can't remove
that folder if we don't add `-r` flag.
2019-02-04 12:37:03 +01:00
dependabot[bot]
9ba22002b7
Merge pull request #161 from Human-Connection/dependabot/npm_and_yarn/eslint-5.13.0 2019-02-04 10:46:35 +00:00
dependabot[bot]
d404353e31
Bump eslint from 5.12.1 to 5.13.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.12.1 to 5.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.12.1...v5.13.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 10:12:42 +00:00
dependabot[bot]
245c3e48bf
Merge pull request #160 from Human-Connection/dependabot/npm_and_yarn/@vue/server-test-utils-1.0.0-beta.29 2019-02-04 10:09:02 +00:00
Grzegorz Leoniec
3583259aa6
Merge branch 'master' into editor 2019-02-04 10:56:32 +01:00
Grzegorz Leoniec
1f9e95864a
Merge branch 'master' into editor 2019-02-04 10:56:20 +01:00
dependabot[bot]
12d82f23ce
Bump @vue/server-test-utils from 1.0.0-beta.28 to 1.0.0-beta.29
Bumps [@vue/server-test-utils](https://github.com/vuejs/vue-test-utils) from 1.0.0-beta.28 to 1.0.0-beta.29.
- [Release notes](https://github.com/vuejs/vue-test-utils/releases)
- [Changelog](https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.28...v1.0.0-beta.29)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 04:58:24 +00:00
Robert Schäfer
fb929da2cd Refactor db-migration-worker deployment
Instead of creating a deployment with a replica set, we just create the
pod once. Also the pod should have everything in the future to run the
database migration. Ie. have `cypher-shell` to write directly to the
database in the current network. All required configuration is passed
manually to the `db-migration-worker`-pod directly. SSH-keys are copied
through a secrets file. This altogether made many configuration files
obsolete.
2019-02-04 01:37:35 +01:00
Grzegorz Leoniec
bca18d097d
Merge pull request #139 from Human-Connection/tansaku-patch-1
Create CODE_OF_CONDUCT.md
2019-02-03 23:40:43 +01:00
Robert Schäfer
246a46c2e8 Remove obsolete volume in deployment 2019-02-03 14:01:19 +01:00
Robert Schäfer
3bc272c8bc
Merge pull request #17 from Tirokk/Tirokk-Docker-Neo4j-1-1
Add instructions to get Neo4j Desktop to work
2019-02-03 13:42:48 +01:00
Robert Schäfer
9ab049bbf1
Merge branch 'master' into Tirokk-Docker-Neo4j-1-1 2019-02-03 13:41:35 +01:00
Robert Schäfer
672770ad18
Merge pull request #5 from Human-Connection/digital_ocean
Fix certain configuration for Digital Ocean
2019-02-02 21:22:47 +01:00
Matt Rider
f09d3ed685 Write steps, start implemenation of search input component 2019-02-02 17:22:40 -02:00
Robert Schäfer
abf623bd51 Rename .yml to .yaml files for consistency
See:
https://stackoverflow.com/a/21059164

@appinteractive
2019-02-02 18:47:17 +01:00
Robert Schäfer
0b075830bc Put many configuration files in one folder 2019-02-02 13:38:43 +01:00
Robert Schäfer
15f3915394 Adding dashboard deployment for digital ocean 2019-02-02 13:17:23 +01:00
Robert Schäfer
671826e060 Bundle all configuration in one folder staging/ 2019-02-02 12:40:29 +01:00
Robert Schäfer
af15ec6393 Fix certain configuration for Digital Ocean 2019-02-02 00:00:29 +01:00
Robert Schäfer
d8c23c3452 Reproduced the whole setup locally with success 2019-02-01 19:53:09 +01:00
Robert Schäfer
6fed4797ed Add commits to configuration to deploy :latest tag
The recommended way to update a kubernetes deployment to a new image is
to change the image tag. However, our build server is configured to push
every commit of the `master` branch to docker hub to the respective
repository and tag `:latest`. So adding some configuration that can be
changed seems to be a trick to re-deploy the `:latest` image.

See here:
https://stackoverflow.com/a/51835397
2019-02-01 19:23:00 +01:00
Wolfgang Huß
637ee0ff0c
Minor change
„$“ added
2019-02-01 08:53:19 +01:00
Wolfgang Huß
75d3536c9a
Moved the command to add upstream
Command "Add the original Human Connection repository as upstream“ is moved behind „Change into the new folder.“.
I added a clarifying text.
2019-02-01 08:48:55 +01:00
Robert Schäfer
ad3a974076 Base64 encode default secrets in template
The JWT_SECRET is taken from the current default secret in
`Nitro-Backend`, the MONGODB_PASSWORD is just the label encoded.
2019-02-01 01:56:12 +01:00
Robert Schäfer
9b5f88d7ac Kubernetes best practices:
* put many configurations in one file
* expose services before you start pods

See: https://kubernetes.io/docs/concepts/configuration/overview/
2019-02-01 01:25:05 +01:00
Robert Schäfer
e8b212f5cc Backend is accessible only from internal network
I think this is better. For development it might be interesting to have
access to the backend but I think one should do development with
docker-compose not minikube and such.
2019-02-01 01:09:41 +01:00
Robert Schäfer
7b981c06d0 Point web service to backend of internal network 2019-02-01 00:23:53 +01:00
Robert Schäfer
c6661def31 Improve README 2019-01-31 23:52:24 +01:00
Robert Schäfer
bbfe39e076 Use folders for groups of YAML files
This keeps our configuration DRY and helps us to save keystrokes.
2019-01-31 23:27:23 +01:00
Robert Schäfer
5cd0485117 Point the backend to the local neo4j service 2019-01-31 18:19:19 +01:00
Wolfgang Huß
0988ce4929
Add original repository as upstream
Add the original Human Connection repository as upstream
2019-01-31 15:09:30 +01:00
Robert Schäfer
fb2944d4cd
Update backend/installation/README.md
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2019-01-31 14:01:42 +01:00
Robert Schäfer
330fd9a8e9 Enable apoc to run neo4j import 2019-01-30 20:15:40 +01:00
Robert Schäfer
8a74f452a9 Create persistent volumes for minikube
Running the import works in minikube!
2019-01-30 19:34:45 +01:00
Matt Rider
049fa2893b Write first cucumber scenario 2019-01-30 11:37:58 -02:00
dependabot[bot]
2c0110b63f
Merge pull request #134 from Human-Connection/dependabot/npm_and_yarn/graphql-yoga-1.17.1 2019-01-29 04:21:01 +00:00
Grzegorz Leoniec
20470c4511
Merge pull request #145 from Human-Connection/bg-fix-mobile-friendliness-122
fix mobile friendliness for post
2019-01-29 04:58:00 +01:00
Grzegorz Leoniec
cc3556a106
Merge branch 'master' into bg-fix-mobile-friendliness-122 2019-01-29 04:57:20 +01:00
dependabot[bot]
17d87c6a9d
Bump graphql-yoga from 1.17.0 to 1.17.1
Bumps [graphql-yoga](https://github.com/prisma/graphql-yoga) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/prisma/graphql-yoga/releases)
- [Commits](https://github.com/prisma/graphql-yoga/compare/v1.17.0...v1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-29 03:34:22 +00:00
dependabot[bot]
24365a577f
Merge pull request #144 from Human-Connection/dependabot/npm_and_yarn/eslint-5.12.1 2019-01-29 03:31:03 +00:00
dependabot[bot]
b901097cd5
Bump eslint from 5.11.1 to 5.12.1
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.12.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.11.1...v5.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-29 03:01:21 +00:00
dependabot[bot]
f9eed87874
Merge pull request #136 from Human-Connection/dependabot/npm_and_yarn/graphql-14.1.1 2019-01-29 02:58:37 +00:00
Grzegorz Leoniec
a36e2a3e5a
Merge branch 'master' into dependabot/npm_and_yarn/graphql-14.1.1 2019-01-29 03:41:16 +01:00
Robert Schäfer
ad55cc03e5 Remove obsolete deployment files 2019-01-28 18:46:52 +01:00
Robert Schäfer
7d7e34b132 Add deployment for db-migation-worker 2019-01-28 18:33:21 +01:00
Sam Joseph
0bffad734a
Create CODE_OF_CONDUCT.md 2019-01-28 17:29:48 +00:00
Sam Joseph
3dcbbafcd6
Create CODE_OF_CONDUCT.md 2019-01-28 17:29:21 +00:00
Grzegorz Leoniec
3e570a90dd
Merge pull request #138 from Human-Connection/remove_private_ssh_key_from_docker_image
Don't copy private SSH key into docker image
2019-01-28 17:52:54 +01:00