Alexis Pentori
f9df853e4a
nix: Updating Nix Shell and Makefile to use nix-shell
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-04-09 12:49:06 +03:00
Anton Iakimov
c3240b296c
ci: cleanup more build artifacts
...
Should be cleaning artifacts for more than 1+1 build for each branch.
2024-02-28 15:47:23 +01:00
Jakub Sokołowski
568371e836
chore(ci): update Nix Jenkins label to 2.14 version
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-29 15:15:51 +01:00
Anton Iakimov
d1a9ad599c
feat: detect flaky tests
...
This reverts commit f12803ec95
.
2023-11-21 17:03:37 +01:00
Anton Iakimov
f12803ec95
Revert "feat: detect flaky tests"
...
There are signs that test runs became unstable.
Might be related to this commit.
This reverts commit 9f168eacea
.
2023-11-21 16:34:43 +01:00
Anton Iakimov
9f168eacea
feat: detect flaky tests
2023-11-20 15:08:51 +01:00
Ivan Belyakov
cb3a88f93a
fix(build): avoid removing untracked git changes by `make clean`
...
Use `make deep-clean` for deep cleaning
2023-11-03 07:37:48 +01:00
Jakub Sokołowski
c0c74010e7
ci: set GOCACHE to ws tmp to avoid cache poisoning
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-18 18:01:19 +02:00
Jakub Sokołowski
589cc965e3
ci: add timeouts to all Jenkinsfiles
...
This is especially important for tests.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-29 12:40:08 +02:00
Jakub Sokołowski
22bc76c39f
ci: use Nix shell for Linux library builds
...
Just noticed that was the only one not using it.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-06 01:12:14 +02:00
Jakub Sokołowski
34f7354e6c
ci: upgrade Jenkins library to fix getting version
...
Fixed in:
https://github.com/status-im/status-jenkins-lib/pull/56
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-22 13:29:28 +01:00
Jakub Sokołowski
0048b70466
ci: use WORKSPACE_TMP for TMPDIR to not abuse /run
...
Because a lot of tests use `MkdirTemp` and do not clean up.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-03 16:54:22 +01:00
Jakub Sokołowski
9dd80e7f1e
ci: use Nix shell to provide Android SDK for builds
...
Installing the SDK via Ansible is prone to error and not exactly
reproduceable. This way we can also track the exact tooling version as
used in Status Mobile app:
https://github.com/status-im/status-mobile/blob/develop/nix/pkgs.nix
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-12-05 15:48:27 +01:00
Andrea Maria Piana
4d15ae8a85
Upgrade to go 1.18
2022-05-11 12:39:54 +01:00
Jakub Sokołowski
57e5fd66fa
ci: pin builds to hosts with specific Go version
...
Otherwise Go version upgrades are a pain due to randomly hitting a host
with newer version of Go compiler.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-11 12:25:35 +02:00
Jakub Sokołowski
bbafc704b1
ci: fix release process broken by missing suffix
...
This fixes a type of CI failure:
https://ci.status.im/job/status-go/job/manual/1010
Which results in:
```
java.lang.NoSuchMethodError: No such DSL method 'suffix' found among steps ...
```
Also use release functions provided by `status-jenkins-lib`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-29 08:51:32 +02:00
Jakub Sokołowski
91620b9982
ci: refactor to use status-jenkins-lib
...
This should fix issues with re-running builds while skipping some initial stages.
Also removes two libraries we made use of before.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-10 14:04:55 +02:00
Jakub Sokołowski
aab93a6abb
ci: lower number of remembered jobs to 5
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-05 09:11:23 +01:00
Jakub Sokołowski
7ba89867ac
ci: keep only last 10 builds to reduce size
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-08 19:49:24 +02:00
Andrea Maria Piana
cbaf523b0e
Address feedback
2020-06-03 11:07:04 +02:00
Jakub Sokołowski
652d8a67b6
use out for output, use CGO_ENABLED=1 and GO111MODULE=off for Android and iOS ( #1574 )
2019-08-20 09:05:15 +02:00
Jakub Sokołowski
5f763439cb
add a check for already existing release tag
...
also run cleanup in post-always Jenkinsfile block
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 09:26:34 -04:00
Jakub Sokołowski
012a1b54bc
add /usr/local/go/bin as proper Go path
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-12 13:12:00 +02:00
Jakub Sokołowski
2af27dc6b3
build regular linux binary with xgo for uploading to GitHub
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-14 18:14:02 +02:00
Jakub Sokołowski
cbe50f557c
move running tests to a separate jenkins job
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-05 08:11:32 +01:00
Jakub
0238d84924
declare all parameters, fix names of files on release ( #1392 )
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-25 15:59:12 +01:00
Jakub Sokołowski
51ff6395b8
fix env variables pointing at android ndk for gomobile
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-25 12:45:06 +01:00
Jakub Sokołowski
de269e5830
add build status notifications like in status-react
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-11 17:16:21 +01:00
Ivan Daniluk
4f3f5ee574
Gomobile support ( #1164 )
2019-02-01 18:02:52 +01:00