Commit graph

117 commits

Author SHA1 Message Date
Thomas Citharel c43aeb8a3e
Update CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-11 15:44:48 +01:00
Thomas Citharel 2f25fa0ca6
Introduce basic js unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-02 12:08:32 +01:00
Thomas Citharel 74fa9dca8c
Build docker from CI and move docker-compose config in another repo
https://framagit.org/framasoft/joinmobilizon/docker

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-09 10:04:55 +01:00
Thomas Citharel d965997c78
Move docs to separate repo
See https://framagit.org/framasoft/joinmobilizon/documentation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 12:12:17 +02:00
Thomas Citharel d0529a503d Fix Gitlab CI for Docs 2020-10-21 09:54:16 +02:00
Thomas Citharel f3566430a3
Introduce multi-lingual docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 09:04:42 +02:00
Thomas Citharel 764d695190 Make prettier ignore i18n JSON files. 2020-06-26 15:23:24 +02:00
Thomas Citharel 652a3d6bb5
Add prettier to CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 12:30:31 +02:00
Thomas Citharel f8ca9d96b1
Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-04 11:44:27 +02:00
Thomas Citharel 42f07c17e5
Disable mix docs for now
Because of https://github.com/elixir-lang/ex_doc/issues/1172

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-04 10:58:27 +02:00
Thomas Citharel 1b2f107ada
Disable cypress tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 19:04:22 +02:00
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Thomas Citharel 9e3df495dc
Move configuration to traditional way
️ This is the way.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-06 16:12:13 +01:00
Thomas Citharel 5a18ec2ed3
disable styleguide build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-01-30 12:18:10 +01:00
Thomas Citharel 0750f06484
Remove mkdocs-git-revision-date-localized-plugin hack in CI
And rebuild docker image with new version

See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/3

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 16:49:39 +01:00
Thomas Citharel 9655dd1720
Patch mkdocs-git-revision-date-localized-plugin to work with Python 3.5
So that CI may build the docs. See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/3

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 09:51:53 +01:00
Thomas Citharel 4fab4e1d25
Move docs to mkdocs and improve them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-17 20:00:09 +01:00
Thomas Citharel 64ef8e04e2
Disable Cypress in CI for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-17 19:33:24 +01:00
Thomas Citharel f6036c8461
Fix Cypress run on CI
Had written the condition the wrong way

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 13:43:41 +02:00
Thomas Citharel ef7dc3f020
Make cypress run even when no key (merge requests from forks)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 11:30:57 +02:00
Thomas Citharel 5e75daa732
Add e2e seed and test event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 19:34:16 +02:00
Thomas Citharel 51e88d9522
Put back Cypress recording
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:45:42 +02:00
Thomas Citharel 039afdd479
stop recording for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 17:42:40 +02:00
Thomas Citharel fea6a1f7dc
make sure cypress binary is installed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 14:11:32 +02:00
Thomas Citharel 39a45ca59e
fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 11:27:06 +02:00
Thomas Citharel b362fcc59e
fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 11:15:19 +02:00
Thomas Citharel d2035202e3
fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:59:21 +02:00
Thomas Citharel c7cf89c473
fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:26:34 +02:00
Thomas Citharel a736965e91
Add basic styleguide
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:25:21 +02:00
Thomas Citharel 77d286ebb6
Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel 166979a297
Move to yarn
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:27 +02:00
Thomas Citharel 7a4197a444
Refactor CI
Closes #98

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-22 11:37:58 +01:00
Thomas Citharel 1309fdd3da
Add npm run lint to CI and to docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-22 11:04:57 +01:00
Thomas Citharel 08a8938a6f
Rename job to pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-18 12:47:21 +01:00
Thomas Citharel 43cc2309aa
Fix CI deploy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-18 12:37:04 +01:00
Thomas Citharel bba6629046
Better docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Nicer docs

No 3rd stage

Add mix.deps get before docs

Add :ex_doc on test env so that it runs into CI
2019-03-18 12:10:29 +01:00
Thomas Citharel add39a9cd1
Add CI jobs (with allow_failure) for dependencies updates
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 13:42:34 +01:00
Thomas Citharel 7dd7e8fc36
Fix mix format and format migrations too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix credo warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Show elixir version

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Also lint migrations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Reset allow failure to false

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 14:53:09 +01:00
Thomas Citharel 2f2c538cc9
Add Credo checks and refactor code
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Make Logger.debug calls lazy

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add missing @moduledocs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Refactor according to credo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Final fixes and add credo to CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Closes #52
2019-01-03 15:52:48 +01:00
Thomas Citharel 6885c73aa8
Change configuration and docker compose
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:33:52 +01:00
Thomas Citharel 932837f7bb Introduce CI stages (front / back), mix format runs in parallel 2018-12-18 12:26:10 +01:00
Thomas Citharel 3ba4fb351e
Embed GeoIP database into Docker Image instead of downloading it each
time

Closes #42

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-18 11:24:22 +01:00
Thomas Citharel 1e86797e07 Cache more things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:45:15 +01:00
Thomas Citharel bdc16bad6b Better CI cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:32:59 +01:00
Thomas Citharel b54dae7e15 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel 559c889f1b Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel 3b48ac957f Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel eb0c0002be Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel 979aad5acb Remove credo and use mix format, and lint everything
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-27 10:45:35 +02:00
Thomas Citharel 28987fc689 Download GeoIP files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug geoip fils

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Damn it, forgot you

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Finalize

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 17:17:13 +02:00
Thomas Citharel 02a4155e87 Move to Elixir 1.6
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-26 10:24:45 +01:00
Thomas Citharel bc80320098 Remove dogma
Closes #3

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-21 19:29:41 +01:00
Thomas Citharel 1217361b6c fix some code style and add checks to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 17:57:25 +01:00
Thomas Citharel 67b8890f77 add coveralls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:56:26 +01:00
Thomas Citharel ffeeb29e7f use an alias for pg CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:47:03 +01:00
Thomas Citharel 7d8c234cbd debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:44:40 +01:00
Thomas Citharel 0fe8841ac9 debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:42:37 +01:00
Thomas Citharel 8b2a76502f debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:39:48 +01:00
Thomas Citharel bebea216b4 debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:34:48 +01:00
Thomas Citharel 16c180d512 debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:21:20 +01:00
Thomas Citharel d16d6d07d8 add pg client
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:10:42 +01:00
Thomas Citharel bdb95d3a9e added ecto migrate before script (with not much hope)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:08:40 +01:00
Thomas Citharel a9fe91fc23 use own pg config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:03:04 +01:00
Thomas Citharel 8fbf8563f3 make credo not a failure for ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:53:19 +01:00
Thomas Citharel 960ef0c276 add cache, credo and postgis to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:49:37 +01:00
Thomas Citharel 97c1c4e2a3 fix ci env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:40:06 +01:00
Thomas Citharel b763014ad3 Add .gitlab-ci.yml 2018-01-13 23:35:11 +01:00