Haelwenn (lanodan) Monnier
65a5c713e9
CI: Remove cache on cycles
...
cycles uses a different system than the rest of the testing_cache, creating errors like libcrypto.so.1 being missing
2022-07-20 17:49:56 +02:00
Haelwenn (lanodan) Monnier
12d888e04e
CI: cycles: Use current stable elixir image
2022-07-12 13:13:24 +02:00
Haelwenn (lanodan) Monnier
6e158bba2c
CI: template for change policies based on build stage
2022-07-12 12:13:34 +02:00
Haelwenn (lanodan) Monnier
e574408b33
CI: Run stages when .gitlab-ci.yml changes
2022-07-11 10:15:18 +02:00
Haelwenn (lanodan) Monnier
702a41ce23
CI: Run lint and cycles in alpine
2022-07-11 10:12:18 +02:00
Haelwenn (lanodan) Monnier
08c8814ef0
CI: Run postgres services in alpine
2022-07-11 09:29:18 +02:00
Alex Gleason
ac434f83c3
unit-testing-erratic: allow failure
2022-01-15 13:35:22 -06:00
Lain Soykaf
ac3b503721
CI: Fix the broken tasks.
2021-12-26 18:54:54 +01:00
Lain Soykaf
c52390a7d9
CI: Use own package as base
...
So we can skip updating and installing the same packages a million
times. It will still grab the hex.pm stuff -- maybe we can find a way to
avoid this, too.
2021-12-26 18:05:42 +01:00
Lain Soykaf
e8e8d2262e
CI: Start testing erratic test again
...
Erratic tests are now ran in their own task, so we don't block
normal testing. The runtime is under a minute, so even if this one
has to be retried, it shouldn't take forever.
2021-12-26 16:17:48 +01:00
Alex Gleason
cac4ed5eb0
GitLab CI: don't retry failed jobs
2021-12-25 20:15:21 -06:00
Lain Soykaf
f78cb6ab9a
CI: Upload the image for all platforms
...
For some reason the other platforms started failing, too. This
fixes it. Why? Don't know.
2021-11-15 21:04:43 +01:00
Lain Soykaf
5c7aa4a1e9
CI: Conservatively update release images so they keep building.
2021-11-14 20:37:32 +01:00
Haelwenn (lanodan) Monnier
a17910a6c6
CI: Bump lint stage to elixir-1.12
...
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-10-06 08:11:05 +02:00
Mark Felder
36df37e056
Update to newer buildx as current one can't be downloaded due to some Github error
2021-09-20 16:58:25 -05:00
Alex Gleason
640e1cf09d
Cycles CI: skip unless Elixir code is modified
2021-06-11 08:45:19 -05:00
Alex Gleason
87cd04fe0c
Cycles CI: disable cache
2021-06-09 13:12:33 -05:00
Alex Gleason
cefb952dff
CI: echo $MIX_ENV
2021-06-09 13:08:24 -05:00
Alex Gleason
4bb578a1d7
Add cycles test to .gitlab-ci.yml
...
Thank you @jb55@bitcoinhackers.org for the awk syntax
2021-06-09 13:06:01 -05:00
Mark Felder
9f391da73d
Don't generate new specs unless they've changed.
2021-06-02 12:09:41 -05:00
Mark Felder
e06466a532
Skip build, test, analysis/lint when we don't make code changes
2021-06-02 12:03:34 -05:00
Alex Gleason
b5ae826898
CI: Purge pleroma build directory between runs
2021-04-29 13:15:48 -05:00
Alex Gleason
b9a99ac0d4
Cache gitlab-ci based on mix.lock
2021-04-27 11:54:28 -05:00
Mark Felder
884584772b
Execute mix deps.get earlier and avoid duplicate invocations if possible
2021-03-11 09:42:04 -06:00
Mark Felder
fa75f11ca1
Revert "See if switching to same image as releases fixes the build"
...
This reverts commit 502d166b7e
.
2021-03-10 16:37:24 -06:00
Mark Felder
502d166b7e
See if switching to same image as releases fixes the build
2021-03-10 16:19:18 -06:00
Mark Felder
8feeb672c8
Ensure we fetch deps during spec-build stage
2021-03-10 13:03:14 -06:00
Mark Felder
dc4baee6dd
Do not want these interfering with develop builds
2021-02-17 10:24:37 -06:00
Mark Felder
068740aa16
Make it possible to generate custom docker images by prefixing the branch name with "build-docker"
2021-02-17 10:08:12 -06:00
rinpatch
c47ca99592
CI: Forgot $ in spec-deploy
2021-02-03 18:00:04 +03:00
rinpatch
00268b4476
CI: Add job ref when calling api docs builder
...
Just grabbing the latest artifact for the branch does not work because
gitlab will only change the latest artifact when the whole pipeline
finishes
2021-02-03 17:02:06 +03:00
rinpatch
9fcff7851f
Improve OpenAPI spec and deploy it to api.pleroma.social
...
Too many changes in OpenAPI spec to describe each one, but
basically it is tag fixes, bringing consitency to operation summaries
and fixing some incorrect information.
2021-02-03 16:07:44 +03:00
lain
6db710c9ba
Gitlab-CI: Explicitly tag specified arm32 images.
...
So we don't accidentally run generic images on runners
that only can deal with specific images.
2020-11-27 13:27:35 +01:00
lain
b38c3de411
Gitlab CI: Update postgres
2020-11-19 17:15:05 +01:00
lain
ffc2bb70ff
Gitlab CI: Specify image architecture for arm64 images
2020-11-17 12:42:55 +01:00
lain
fcb1e7b750
Gitlab CI: Change tags bag to arm32
2020-11-13 16:19:09 +01:00
lain
27108acd0f
Gitlab CI: Alpine is alpine
2020-11-13 14:48:40 +01:00
lain
1d3f916991
Gitlab CI: Specify arm32v7 image for arm32 builds
2020-11-13 14:23:24 +01:00
Haelwenn (lanodan) Monnier
54d99cbb72
CI: Install libmagic-dev in debian release targets
2020-10-20 22:10:20 +02:00
Haelwenn (lanodan) Monnier
ccd1e75e35
CI: Install file-dev in alpine release targets
2020-10-20 02:37:08 +02:00
Mark Felder
04b514c567
Merge branch 'develop' into feature/gen-magic
2020-10-09 11:26:10 -05:00
lain
ec2f70cd23
CI: Add ffmpeg
2020-09-28 14:14:32 +02:00
Mark Felder
55562ca936
Merge branch 'develop' into feature/gen-magic
2020-09-10 16:05:22 -05:00
lain
fc42446755
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-2.1-rc0
2020-08-26 13:17:39 +02:00
Haelwenn
fd04137e18
Merge branch 'buildx-multiarch-arm32v7' into 'develop'
...
Add multiarch support to docker container, fixes pleroma/pleroma-docker-compose#2
Closes pleroma-docker-compose#2
See merge request pleroma/pleroma!2789
2020-08-25 22:27:19 +00:00
lain
ea2b5c07e3
Merge branch 'stable' of git.pleroma.social:pleroma/pleroma into pleroma-2.1-rc0
2020-08-25 15:38:12 +02:00
lain
d833d2c1fd
CI: Fix release builds once more.
2020-08-19 13:37:33 +02:00
lain
035c44dd7b
CI: Add cmake to build
2020-08-13 16:38:04 +02:00
lain
a47406d577
Build files: Add cmake
2020-08-13 14:12:45 +02:00
rinpatch
cb376c4c4c
CI: install cmake since fast_html now requires it
2020-08-07 18:06:54 +03:00
Guy Sheffer
0c4e855663
Add checksum to docker buildx, add aarch/arm64 to the list of platforms
2020-08-06 09:50:10 +03:00
Guy Sheffer
f9e8a94106
Add multiarch support to docker container, fixes https://git.pleroma.social/pleroma/pleroma-docker-compose/-/issues/2
2020-07-22 17:26:36 +03:00
Mark Felder
6167593881
Support Exiftool for stripping EXIF data
...
We really only want to strip location data anyway, and mogrify strips color profiles.
2020-07-10 16:46:26 -05:00
stwf
af9eb7a2b1
re-enable federation tests
2020-07-08 11:32:04 -04:00
rinpatch
55d8263c00
Update OTP releases to official images of 1.10.3
...
This is necessary since we bumped required version of elixir to 1.9.
The dlsym bug should be gone by now.
2020-06-17 02:27:28 +03:00
Steven Fuchs
aca6a7543a
Upgrade to Elixir 1.9
2020-06-16 13:18:29 +00:00
href
ec1452fd1c
Pleroma.MIME: use gen_magic
2020-06-16 15:15:50 +02:00
lain
2f2e5fea34
Give up for now and make gitlab retry failed jobs.
2020-05-12 15:02:37 +02:00
jp
bcaaba4660
remove testing `only:` in docker build
2020-03-31 22:16:36 -04:00
jp
c2715ed772
add imagemagick and update inherited container to alpine:3.11
2020-03-31 21:31:23 -04:00
Mark Felder
d3cd3b96bf
Remove problematic --cache-from argument
2020-03-31 17:28:41 -05:00
lain
e97b50d17a
Merge branch 'fix-testing' into 'develop'
...
Fix CI by temporarily removing federated testing
See merge request pleroma/pleroma!2314
2020-03-31 14:09:27 +03:00
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 54d287377054fa48c5a14cf6b056cd80e838b264.
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