Commit graph

149 commits

Author SHA1 Message Date
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