Jakub Sokołowski
bcf919fcbb
nix: use android-sdk shell for fdroid-pr target
...
Also renamed `android-env` shell to `android-sdk` to be more descriptive.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-29 12:54:47 +02:00
Jakub Sokołowski
17bb87bb87
nix: upgrade from 2.8.0 to 2.11.1
...
This also includes the fix for too low `LimitNOFILE`:
https://github.com/NixOS/nix/pull/6553
https://github.com/NixOS/nix/releases/tag/2.11.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 19:03:10 +02:00
Jakub Sokołowski
38bbf84de4
ci: add wait for GitHub release to appear
...
Because somtimes upload is attempted so fast release doesn't exist yet:
```
+ github-release upload -u status-im -r status-mobile -t 1.20.0 -n StatusIm-Mobile-v1.20.0-cbe19b-arm64-v8a.apk -f pkg/StatusIm-Mobile-v1.20.0-cbe19b-arm64-v8a.apk
error: could not find the release corresponding to tag 1.20.0
```
https://ci.infra.status.im/job/status-mobile/job/release/job/release%252F1.20.x/
Depends on: https://github.com/status-im/status-jenkins-lib/pull/49
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-15 09:49:06 +02:00
Jakub Sokołowski
74743630b7
ci: drop commonPrep function, call individual ones
...
This function did too many things, some of them unnecessary.
Requires: https://github.com/status-im/status-jenkins-lib/pull/48
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-14 16:43:59 +02:00
Jakub Sokołowski
3f47fb6bf6
ci: use pipefail to actually catch test errors
...
Because otherwise when piping optput to `tee` the exit code that
affects the result of the whole `sh` call is the last command in the pipe.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-05 10:24:26 +02:00
Jakub Sokołowski
70bf8452f7
ci: save and show both stdout and stderr
...
By using the `|&` operator we send both to `tee`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-31 18:46:03 +02:00
Jakub Sokołowski
0a4d181477
ci: extrac Lint and Tests to separate job
...
This way we can make PRs depend only on successful tests, and not whole
builds for all platforms, which take 10 minutes or more.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 15:47:32 +02:00