Commit graph

134 commits

Author SHA1 Message Date
stwf
a8c6933ca0 remove federated testing 2020-03-19 12:27:09 -04:00
jp
1e17ad2275 Update docker release / stable jobs 2020-01-15 17:25:33 -05:00
jp
ffab411327 Update docker jobs for release branches and stable branches 2020-01-15 16:54:53 -05:00
jp
0c9499bf25 Fix only: on docker develop/latest job 2020-01-15 16:41:41 -05:00
jp
4d19f38753 update only: for release/ branch regex matching. and to avoid running image builds on unnecessary forks 2020-01-15 16:23:43 -05:00
jp
cc4c3255fe Fix odd spacing 2020-01-15 16:16:29 -05:00
jp
a58a0a7b1b Remove forked test branch matching 2020-01-14 13:47:36 -05:00
jp
ff15d6ef13 Remove artifacts passing by setting dependencies: [] 2020-01-14 13:45:47 -05:00
jp
964d188a96 Add allow_failure to docker jobs 2020-01-14 12:43:28 -05:00
jp
fe57e5139f Remove cache from docker jobs. Split devlop and stable branches into their own jobs 2020-01-14 12:32:36 -05:00
jp
2ef8f0be6c Update Dockerfile with labels. Update gitlab-ci for registry usage 2020-01-10 14:09:14 -05:00
rinpatch
407449158f CI: Add a cache policy for test jobs and fix rum tests recompiling
everything
2019-12-17 18:24:16 +03:00
rinpatch
ca1acfa314 Merge branch 'chore/manual-benchmark' into 'develop'
CI: Make benchmarks manually triggered.

See merge request pleroma/pleroma!2020
2019-11-28 17:46:23 +00:00
Egor Kislitsyn
798aa0c335
Use PosgreSQL v12 in the federated tests 2019-11-28 23:08:13 +07:00
lain
9a2d38107c CI: Make benchmarks manually triggered. 2019-11-28 15:14:11 +01:00
lain
bbec9bb727 Tests: Run the daemon 2019-11-26 15:03:17 -05:00
lain
74aa42998f CI: Add testing stage for federated tests. 2019-11-26 15:03:16 -05:00
rinpatch
2861f97e46 ci: disable --trace for unit tests
it is mostly useless, but makes failures harder to find
2019-11-14 16:06:08 +03:00
lain
55ac38c1d2 Merge branch 'fix-dokku-2' into 'develop'
Dokku deploys: Keep the git dir so version number generation works.

See merge request pleroma/pleroma!1967
2019-11-11 15:01:31 +00:00
Egor Kislitsyn
7ba30cf8b6
Use PG12 in CI for the RUM pipeline 2019-11-11 19:47:33 +07:00
lain
86d821a96e Dokku deploys: Keep the git dir so version number generation works. 2019-11-11 13:37:56 +01:00
rinpatch
d5dc0c4a7e CI: Remove the docs-build job
The artifacts it produces were no longer used since we switched to
mkdocs.
2019-11-05 23:45:07 +03:00
lain
6977cddff9 Merge branch 'benchmark-finishing' into 'develop'
Benchmark finishing

Closes #755

See merge request pleroma/pleroma!1848
2019-10-16 11:54:49 +00:00
rinpatch
0e9243e8a2 Preparations for renaming master to stable 2019-10-14 18:38:51 +03:00
lain
b9b00e6e96 Gitlab CI: Run correct benchmark task. 2019-10-10 15:31:32 +02:00
lain
c54ae662dc Merge remote-tracking branch 'origin/develop' into benchmark-finishing 2019-10-10 14:40:59 +02:00
lain
02f8e2a8ab Gitlab: Run benchmark in CI. 2019-10-10 14:24:54 +02:00
rinpatch
b2f2012a4f Remove a test branch from CI 2019-10-03 18:42:02 +03:00
rinpatch
b5a43e301e Change docs build/deploy to just trigger a pipeline in the docs repo 2019-10-03 15:02:21 +03:00
rinpatch
7131580058 CI: Enable OTP release building for maint/* branches 2019-09-30 18:23:29 +03:00
rinpatch
bdc1592377 Add PLEROMA_BUILD_ENV to override env for the version generator and use it in the CI for building docs
This is needed because if we run with MIX_ENV=dev we will get a "+dev"
suffix to the version in the docs, but if we run with MIX_ENV=prod the
docs build will fail because ex_doc is dev-only dependency.
2019-06-29 14:28:26 +03:00
rinpatch
0f6e333d8b Revert "Build releases only on tags or develop"
This reverts commit 54d2873770.
2019-06-29 13:29:11 +03:00
rinpatch
ee79c67081 Build releases only on tags or develop
Needed so we could push documentation updates to master without
triggering a rebuild
2019-06-29 12:29:12 +03:00
rinpatch
4974988f03 Export PLEROMA_BUILD_BRANCH 2019-06-20 11:02:05 +03:00
rinpatch
a6e3169cfc Make possible to override the branch name via a env variable
This is useful for the CI builds because they have a detached HEAD or
for emulating a feature that is availible only on a particular branch
(e.g pleroma_ctl downloads CI artifacts only for develop and master)
2019-06-19 14:40:39 +03:00
rinpatch
8fbe1a3b92 remove the feature branch from only 2019-06-13 22:31:15 +03:00
rinpatch
fc4a8026d8 Remove a TODO 2019-06-13 21:23:37 +03:00
rinpatch
6426aefb16 Expire artifacts in 42 years 2019-06-13 18:24:39 +03:00
rinpatch
8dff4c7194 CI: Add automatic release builds 2019-06-13 13:53:59 +03:00
lain
9ded9443a3 CI: Actually push to correct repo. 2019-06-03 12:00:33 +02:00
rinpatch
c3bcc4f6a2 CI: Replace mix test and mix coveralls with just mix coveralls
`mix coveralls` runs the tests by itself, exits with failure if one of them
fails and accepts the same args, so there is no reason to run two of
them at the same time.
2019-06-03 11:24:03 +03:00
lain
4e45f7bc87 CI: Add auto-deployment via dokku. 2019-05-31 10:55:35 +02:00
lain
ef63cf7088 CI: Use the correct image with the correct hostname. 2019-05-17 15:30:50 +02:00
lain
a3fc7294da CI: Add rum variant testing. 2019-05-17 14:26:07 +02:00
f831acf912 Excoveralls for code coverage 2019-05-15 15:19:20 +00:00
AkiraFukushima
dff6afc7c8 fix: Add mix deps.get before unit-testing 2019-05-02 21:04:09 +09:00
rinpatch
e5df8cadea Revert "Merge branch 'test-coverage' into 'develop'"
This reverts merge request !1027
2019-04-05 19:59:03 +00:00
optikfluffel
fb1be1d798 Use --cover option when running CI tests 2019-04-05 20:12:44 +02:00
rinpatch
8c71ea5a1a remove reduntant services in docs deploy and change job names to kebab case 2019-04-02 09:13:34 +03:00
rinpatch
5ee54d8183 what the fuck 2019-04-02 09:07:58 +03:00
rinpatch
7827b929fc huh 2019-04-02 09:02:21 +03:00
rinpatch
4861558b93 Separate CI jobs to 3 stages to allow them to be executed in parallel 2019-04-02 08:58:09 +03:00
rinpatch
a5326bb783 Remove useless echo 2019-03-23 10:19:13 +03:00
rinpatch
4bf327b664 Remove postgres from documentation related jobs 2019-03-23 01:01:01 +03:00
rinpatch
55cf85376f Add automatic doc build and deploy 2019-03-22 23:31:04 +03:00
Haelwenn (lanodan) Monnier
f62867dde6
.gitlab-ci.yml: Use --strict instead of list
This makes the output to be more compact while not loosing readability
--format=flycheck // --format=json could also be used but they are
not very human readable
2019-03-13 04:26:56 +01:00
Haelwenn (lanodan) Monnier
4b73ca638e
[Credo][CI] Add readability as it’s fixed 2019-03-13 04:26:56 +01:00
Haelwenn (lanodan) Monnier
4c440f12c3
[Credo] Fix the consistency 2019-03-13 04:17:30 +01:00
Haelwenn (lanodan) Monnier
ddcd0910d3
[Credo][CI] Do not make TODO/FIXME fail 2019-03-13 04:17:30 +01:00
Haelwenn (lanodan) Monnier
6c8743d0c0
[Credo] Fix the warnings 2019-03-13 04:17:30 +01:00
Haelwenn (lanodan) Monnier
d93ab4817b
.gitlab-ci.yml: Adds credo to the chain
Not really sure about the order in which this is but it feels right
because credo is more about checking if a ~working code could need
some improvements.<M-1>
2019-03-13 04:17:30 +01:00
rinpatch
7b227d935d Switch the CI to Elixir 1.8.1 2019-03-11 22:36:02 +03:00
lain
71c8c60ded More speedup, test fixes. 2019-02-17 17:47:24 +01:00
lain
fa191a658b Speed up docker postgres. 2019-02-17 11:46:51 +01:00
Rin Toshaka
e31b4d05a8 [CI] Set MIX_ENV to test in variables section instead of specifying it before the command. Fix mix compile compiling in the dev env. 2018-12-26 18:50:52 +01:00
Rin Toshaka
facd30c9e8 Compile pleroma before ecto migrate 2018-12-18 21:20:49 +01:00
Rin Toshaka
f685351c1e Improve CI cache 2018-12-18 21:06:53 +01:00
lain
0f67c1d487 don't re-use build 2018-12-17 20:26:48 +01:00
rinpatch
72f038bdf2 Only jobs for one branch are allowed to use the same cache 2018-11-29 12:20:47 +03:00
rinpatch
36826b11a6 Cache _build 2018-11-29 12:09:32 +03:00
rinpatch
2a58f5dcaa Add dependency caching 2018-11-29 11:45:14 +03:00
lain
236fd28aca use more modern elixir 2018-11-06 16:12:09 +01:00
lambda
bbd549c018 Update .gitlab-ci.yml 2018-04-24 12:28:59 +00:00
lain
21510f6990 . 2018-04-21 09:30:15 +02:00
lain
44a7789732 . 2018-04-21 09:28:44 +02:00
lain
34aab9f877 .. 2018-04-21 09:27:35 +02:00
lain
b68c4bd271 Update CI. 2018-04-21 09:24:51 +02:00
lain
18c3ca7844 Add format checking to CI. 2018-04-20 13:09:41 +02:00
lain
26ccb768d3 Make test output easier to read. 2018-02-12 10:14:11 +01:00
Roger Braun
9554436d61 update gitlab ci 2017-11-02 17:52:53 +01:00
lambda
32e1e52bd8 Update .gitlab-ci.yml 2017-11-02 16:33:05 +00:00
lambda
520cc0c80f Update .gitlab-ci.yml 2017-11-02 16:31:03 +00:00
lambda
41425fd64a Update .gitlab-ci.yml 2017-11-02 16:28:38 +00:00
lambda
201fbd972e Add gitlab-ci.yml 2017-11-02 16:26:13 +00:00