Commit Graph

156 Commits

Author SHA1 Message Date
Thomas Citharel 647efad982
Add Codeclimate report from Credo to CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-22 10:19:26 +01:00
Thomas Citharel 5a30bc2f15
Fix creating release and upload artefacts in CI on final releases
Closes #1189

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-21 12:00:08 +01:00
Thomas Citharel 77415ed413
Fix asset links in created releases
Closes #1191

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-21 11:57:44 +01:00
Thomas Citharel 55777033cf
Allow failures on all non amd64 release builds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 20:21:26 +01:00
Thomas Citharel 44863096c1
Upgrade Docker dind
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 20:16:45 +01:00
Thomas Citharel ad9d9d33bc
Send sourcemaps to our sentry instance
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 18:17:14 +01:00
Thomas Citharel 4eb15b5ebf
Fix E2E tests for login
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 19:10:38 +02:00
Thomas Citharel a2289c4d03
Run phx.digest before mix release
Closes #1167

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-17 08:37:22 +02:00
Thomas Citharel fb0238d1b7
Fix: Run build multiarch release on tags too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 19:19:21 +02:00
Thomas Citharel b46ff4d458
Fix rules conditions for CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 17:08:34 +02:00
Thomas Citharel 156490af62
Fix pushing to latest docker tag only if needed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 16:57:12 +02:00
Thomas Citharel 07a1118fab
Allow arm64 release packaging to fail
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 14:51:33 +02:00
Thomas Citharel f91e728b91
Only push Docker tag to latest when tag doesn't contain alpha, beta or rc
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 14:51:18 +02:00
Thomas Citharel 91e7bd8b68
Revert rebasing Docker image build on debian
This reverts commits ad4a9d4dff, 34715d5f45, 06caab9d56, 36932f601d and 8c36173027

The segfault issues still happen on arm64 in any case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 14:31:07 +02:00
Thomas Citharel ad4a9d4dff
Allow failure on Docker builds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 12:10:32 +02:00
Thomas Citharel 36932f601d
Use individual parallel jobs to build multiarch docker images
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 11:25:09 +02:00
Thomas Citharel 19a17494ae
Allow docker build on main branch to be triggered
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 10:27:06 +02:00
Thomas Citharel 34715d5f45
Remove qemu before installing it
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 21:24:48 +02:00
Thomas Citharel 3928c2fb2a
Update build ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 13:57:04 +02:00
Thomas Citharel 1975ca7739
Make sure yarn install is run for E2E tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-28 08:59:00 +02:00
Thomas Citharel 1087e19ee5
Enable E2E tests in CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-27 13:43:09 +02:00
Thomas Citharel c2c938c865
Revert "Fix path to junit.xml coverage report"
This reverts commit c35a066368.
2022-09-21 10:48:30 +02:00
Thomas Citharel 280b255529
Fix vitest junit coverage runs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-21 10:33:50 +02:00
Thomas Citharel c35a066368
Fix path to junit.xml coverage report
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-21 10:17:27 +02:00
Thomas Citharel 6a9fba7db8
Fix tests for CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-21 08:32:42 +02:00
Thomas Citharel 8549a16ade
Only build on Debian Buster
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-06 12:41:34 +02:00
Thomas Citharel 4ee1efd4b9
Avoid assuming we're on Debian-based in release build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 09:03:14 +02:00
Thomas Citharel a731a96b58
Remove HEX_MIRROR uses
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-18 15:01:32 +02:00
Thomas Citharel cc8a115974
[CI] Fix docker buildpack image name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-09 22:03:30 +02:00
Thomas Citharel 2917eea50f
Add fedora and alpine release builds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-09 17:46:48 +02:00
Thomas Citharel e8c4382901
Test multi-os building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-08 12:37:36 +02:00
Thomas Citharel de8231858a
Use JSDeliver mirror
Until https://github.com/hexpm/hexpm/issues/1130 is solved or understood

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-07 11:20:52 +02:00
Thomas Citharel 822a16fc53
Update Postgis image used in tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-06 19:56:10 +02:00
Thomas Citharel 1109ca1bc5
Use a specific version of dind
Follow-up to 7a82fed92a

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-31 11:24:23 +02:00
Thomas Citharel 7a82fed92a
Use specific version of Docker dind
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-28 10:43:06 +02:00
Thomas Citharel e50f3b1967
Follow-up to 969cfc78be
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 16:43:36 +01:00
Thomas Citharel 969cfc78be
Upgrade buildx version in CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-23 14:51:26 +01:00
Thomas Citharel b70ed5a76e
Show credo diff in CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-18 14:17:48 +01:00
Thomas Citharel 79901e85ee
Update upload package image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-16 16:49:37 +01:00
Thomas Citharel 9e3b6ec419
Reduce package expiration to two days
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-13 17:59:54 +01:00
Thomas Citharel 822a5604e0
Fix docker build scheduled job
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-29 11:07:44 +01:00
Thomas Citharel 22550a60e9
Put latest docker tag directly from CI
Also only do amd64 architecture for tags, not main

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-26 09:45:55 +01:00
Thomas Citharel 200adf272c
Move release package at correct path for CI upload
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-15 13:37:00 +01:00
Thomas Citharel d653b038c5
Also send ARM links in releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:20:27 +01:00
Thomas Citharel ccce64d6cb
Update arm/arm64 packages as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel 89bbafb44c
Don't digest release files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel 73a7ef988f
Rename master branch to main
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:12:04 +01:00
Thomas Citharel c806beddcd
Add a specific timeout for the Docker multiarch build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-06 10:06:48 +01:00
Thomas Citharel ef1e4124de
Allow release and Docker multiarch building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-22 16:29:58 +02:00
Thomas Citharel 0792bf5445
Update tzworld at runtime
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-19 12:18:03 +02:00