Commit Graph

65 Commits

Author SHA1 Message Date
Thomas Citharel
0c8b022f68 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
8e5f6b89ff 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
10ece93331 Fix Gitlab CI for Docs 2020-10-21 09:54:16 +02:00
Thomas Citharel
9d2f86e561 Introduce multi-lingual docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 09:04:42 +02:00
Thomas Citharel
ae94ed83c5 Make prettier ignore i18n JSON files. 2020-06-26 15:23:24 +02:00
Thomas Citharel
0b7275ee7c Add prettier to CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 12:30:31 +02:00
Thomas Citharel
193f9bee1a Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-04 11:44:27 +02:00
Thomas Citharel
dbcc1c3633 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
1b6a4d9ad2 Disable cypress tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 19:04:22 +02:00
Thomas Citharel
b36a9f1322 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
d93e941a17 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
d4b1ff5699 disable styleguide build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-01-30 12:18:10 +01:00
Thomas Citharel
1beb847f13 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
e770904a8d 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
3403ff4ff1 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
c53efaaf57 Disable Cypress in CI for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-17 19:33:24 +01:00
Thomas Citharel
dec144396e 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
55762e7cf2 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
88eee78123 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
3d40023b24 Put back Cypress recording
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:45:42 +02:00
Thomas Citharel
e13010dd67 stop recording for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 17:42:40 +02:00
Thomas Citharel
a58be9c835 make sure cypress binary is installed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 14:11:32 +02:00
Thomas Citharel
7ac463e5a9 fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 11:27:06 +02:00
Thomas Citharel
acc7c7d0c8 fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 11:15:19 +02:00
Thomas Citharel
23df8835ad fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:59:21 +02:00
Thomas Citharel
a58fe2cc24 fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:26:34 +02:00
Thomas Citharel
663995c5ee Add basic styleguide
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:25:21 +02:00
Thomas Citharel
7f65428b38 Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel
19fea308cb Move to yarn
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:27 +02:00
Thomas Citharel
b41abbe9ac Refactor CI
Closes #98

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-22 11:37:58 +01:00
Thomas Citharel
d81171bdad 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
15531530a2 Rename job to pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-18 12:47:21 +01:00
Thomas Citharel
7618c50a2b Fix CI deploy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-18 12:37:04 +01:00
Thomas Citharel
ecb6d20d60 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
83dadecffc 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
73df4b70a8 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
165e0ea866 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
eef4b8403c Change configuration and docker compose
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:33:52 +01:00
Thomas Citharel
fe8b1a39f0 Introduce CI stages (front / back), mix format runs in parallel 2018-12-18 12:26:10 +01:00
Thomas Citharel
51a0de706f 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
92c20f1580 Cache more things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:45:15 +01:00
Thomas Citharel
9c510117f8 Better CI cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:32:59 +01:00
Thomas Citharel
4441521994 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel
6c6f93038e Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel
a4dc6cff4d Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel
b3a5106a0a Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel
163f190142 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
3806b14ca1 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