Robert Schäfer
693e7da95b
Merge branch 'master' into refactoring_db_migration_worker
2019-02-04 19:51:18 +01:00
Robert Schäfer
084f610ec8
Turnaround: *use* volumes for sharing data
...
... but use it in the same pod. It seems to be possible to have shared
volumes in the same pod:
https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/
2019-02-04 19:44:39 +01:00
Robert Schäfer
955383f169
Separate docker-compose.yml to test db migration
...
I think it's not that relevant to our new contributors to install the
db-migration-worker.
2019-02-04 19:19:31 +01:00
Robert Schäfer
01a145be29
Container db-migration-worker need no volumes
...
You can simply run `docker-compose exec db-migration-worker migrate` and
that's it. Of course you have to provide all the environment variables.
2019-02-04 17:49:48 +01:00
Robert Schäfer
cdf92cc6ea
Remove obsolete kubernetes folder
2019-02-04 15:36:39 +01:00
Robert Schäfer
5492b282bc
Refactoring: No uploads/ vol,access neo4j directly
...
Digital Ocean does not support shared directories. So we have to uploads
the images in `/uploads` via `kubectl cp` or something similar.
Likewise, it is not possible to share the exported mongodb .json files
with neo4j container. Therefore let's install `cypher-shell`, included
in `neo4j` package, to directly open a neo4j connection and bulk import
the data.
2019-02-04 14:31:40 +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
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
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
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
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
Robert Schäfer
5bdc728028
Don't copy private SSH key into docker image
...
We can mount the .ssh at runtime. This will allow us to push the docker
image to dockerhub without exposing any secrects.
2019-01-28 17:28:52 +01:00
Robert Schäfer
e70d9c959d
Merge pull request #127 from Human-Connection/100_2_download_uploads_and_more
...
Follow up on data import
2019-01-28 16:58:29 +01:00
Robert Schäfer
65d1443a51
Merge branch 'master' into 100_2_download_uploads_and_more
2019-01-28 15:12:11 +01:00
Grzegorz Leoniec
3ce814a96f
Merge pull request #131 from Mastercuber/master
...
Move troubleshoots to end; add install links for docker and minikube
2019-01-27 23:16:01 +01:00
Armin
de6e2feea1
Move troubleshoots to end; add install links for docker and minikube
2019-01-27 22:27:14 +01:00
Grzegorz Leoniec
fa6e5b69ed
Merge branch 'master' into 100_2_download_uploads_and_more
2019-01-26 09:39:31 +01:00
dependabot[bot]
0efe94aae3
Merge pull request #129 from Human-Connection/dependabot/npm_and_yarn/eslint-plugin-import-2.15.0
2019-01-23 13:00:35 +00:00
dependabot[bot]
13f8e57467
Bump eslint-plugin-import from 2.14.0 to 2.15.0
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.14.0...v2.15.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-23 12:46:30 +00:00
dependabot[bot]
58e9899509
Merge pull request #128 from Human-Connection/dependabot/npm_and_yarn/supertest-3.4.2
2019-01-23 12:43:20 +00:00
dependabot[bot]
3f0bdb792c
Bump supertest from 3.4.1 to 3.4.2
...
Bumps [supertest](https://github.com/visionmedia/supertest ) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/visionmedia/supertest/releases )
- [Changelog](https://github.com/visionmedia/supertest/blob/master/History.md )
- [Commits](https://github.com/visionmedia/supertest/compare/v3.4.1...v3.4.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-23 04:25:03 +00:00
dependabot[bot]
fba851bc52
Merge pull request #122 from Human-Connection/dependabot/npm_and_yarn/eslint-5.12.1
2019-01-22 14:42:36 +00:00
dependabot[bot]
73c8bb282b
Bump eslint from 5.12.0 to 5.12.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.12.0 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.12.0...v5.12.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-22 13:57:28 +00:00
Grzegorz Leoniec
5ef3427374
Merge pull request #99 from Human-Connection/report-content
...
Report content
2019-01-22 14:52:31 +01:00
Robert Schäfer
f273240fd8
Merge branch 'master' into report-content
2019-01-22 13:33:57 +01:00
Robert Schäfer
494748c4c4
Import shouts
2019-01-22 12:48:06 +01:00
Robert Schäfer
932a593cfa
Import follows
2019-01-22 12:48:06 +01:00
Robert Schäfer
ce7ce40272
Import badges
2019-01-22 12:48:06 +01:00
Robert Schäfer
f69a0daeef
Import categories, manually assign correct icon
...
Big fun 👍
2019-01-22 12:48:06 +01:00
Robert Schäfer
2cab6fe9cf
Replace scp with rsync
...
`rsync` is faster on multiple runs. The `--update` flag will only
download newer images and does not overwrite existing files. Thus, it will
only download missing images.
2019-01-22 12:48:06 +01:00
Robert Schäfer
c9b8b23915
Keep public folder empty
2019-01-22 12:48:06 +01:00
Robert Schäfer
509e4feeb9
Add workflow to download remote uploads
...
* remote uploads directory
* download content of uploads directory with `scp`
* share uploads volume with backend container
2019-01-22 12:48:06 +01:00
Robert Schäfer
e46c8d18e5
Implement public folder
2019-01-22 12:48:06 +01:00
Grzegorz Leoniec
c0dc7e3e5d
Merge pull request #115 from Human-Connection/100_import_mongodb_to_neo4j
...
Import remote mongodb in neo4j
2019-01-22 11:53:47 +01:00
Robert Schäfer
f5611a6316
Merge branch 'master' into 100_import_mongodb_to_neo4j
2019-01-21 22:17:32 +01:00
Robert Schäfer
55b1541829
Merge remote-tracking branch 'origin/master' into report-content
2019-01-21 15:18:40 +01:00
Grzegorz Leoniec
df1706a1ae
Merge pull request #109 from Human-Connection/106_authorization
...
106 authorization
2019-01-21 13:22:39 +01:00
Grzegorz Leoniec
670292b3ec
Disabled report seeding to fix tests
2019-01-21 11:08:37 +01:00
Robert Schäfer
5ccfed2994
Fix CodeFactor
2019-01-20 23:32:56 +01:00
Robert Schäfer
3aef664c8c
Import collections in order
2019-01-20 23:18:42 +01:00
Robert Schäfer
d0fa8b7e21
Run yarn run lint --fix
2019-01-19 01:04:42 +01:00
Robert Schäfer
8591816dfa
Fix CodeFactor
2019-01-19 00:57:12 +01:00
Robert Schäfer
605e5e39b0
Merge branch 'master' of github.com:Human-Connection/Nitro-Backend into 100_import_mongodb_to_neo4j
2019-01-19 00:41:35 +01:00
Robert Schäfer
5701185d34
Fix urls for staging-alpha
2019-01-19 00:36:55 +01:00
Robert Schäfer
4a21e5b885
Implement test for image middleware
2019-01-19 00:34:45 +01:00
Robert Schäfer
b272024933
Import comments
2019-01-19 00:01:30 +01:00
Robert Schäfer
887a6d201f
Import contributions to neo4j
2019-01-18 23:53:00 +01:00
Robert Schäfer
97e6acf46b
Import of all users in one script:
...
```sh
docker-compose exec neo4j import/import.sh
```
2019-01-18 22:45:29 +01:00