richΛrd
bb6d5f602b
chore_: fix `TestBasicWakuV2` ( #5718 )
2024-08-15 14:43:37 -04:00
Igor Sirotin
dd443b030d
fix(commit_check)_: use proper base branch ( #5700 )
2024-08-13 10:58:48 +01:00
Igor Sirotin
325429b218
chore_: add test-coverage.html report ( #5490 )
2024-07-10 13:37:50 +01:00
Jakub Sokołowski
0d82dbe240
feat(ci)_: add Jenkinsfile, Dockerfile for RPC tests
...
Also add curl to Docker image.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-04 16:14:02 +02:00
Jakub Sokołowski
5fd1c06bce
fix(ci)_: bump lib to 1.9.1 to make uploads public
...
Depends on:
https://github.com/status-im/status-jenkins-lib/commit/ab9aa93c
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-01 19:33:26 +02:00
Jakub Sokołowski
6e52565356
feat(ci)_: use s5cmd instead of s3cmd
...
It's actively maintained and has better concurrency support.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-01 09:49:10 +02:00
Jakub Sokołowski
769ea7799b
feat(ci)_: add ansiColor(xterm) for nice colors
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-01 09:47:53 +02:00
Jakub Sokołowski
b6d2b9eb53
fix(ci)_: fix Nix version label and bump library
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-26 17:55:26 +02:00
Igor Sirotin
d2f4cae18f
fix: merge coverage reports from each test rerun ( #5360 )
...
* fix_: fix test coverage when rerunning tests
* fix_: make lint-fix
* chore_: change test coverage report artifact name
* chore_: added codeclimate.json to artifacts
* chore_: bring in gocovmerge util
---------
Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-06-19 11:40:52 +01:00
Patryk Osmaczko
e9882e88d3
chore(ci)_: archive logs in case of test failure
2024-06-17 17:17:54 +02:00
Igor Sirotin
12dfe285d7
chore_: archive test coverage result as artifact ( #5280 )
2024-06-03 17:31:27 +01:00
Igor Sirotin
0dde5a3b17
chore_: enable nightly codeclimate reports ( #5127 )
...
* chore_: enable nightly codeclimate reports
* fix_: report codeclimate before exiting
2024-05-08 21:57:50 +01:00
Jakub Sokołowski
a97f1bb681
chore(ci)_: simplify Jenkinsfile for tests, fix params ( #5136 )
...
Because most of those functions just obscure what's happening.
Also formatting.
Also, it appears Jenkins sets `params` on first run, but not `env`
variables from those `params`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-08 21:04:15 +02:00
Igor Sirotin
068ae3b67c
chore_: setup ci codeclimate coverage reports ( #5101 )
...
* chore_: nix derivation with cc-test-reporter
2024-05-08 09:25:01 +01:00
Anton Iakimov
c57c8aabc4
ci: fix build
2024-04-11 10:59:37 +02:00
Patryk Osmaczko
853afccfae
revert_: "ci: temporarily disable migration check"
...
This reverts commit d4c0500200e2decd85668a02dbf6c12d92678322.
2024-04-10 16:40:57 +02:00
Patryk Osmaczko
448758e64a
ci_: temporarily disable migration check
...
Temporary, to cherry-pick migration from release branch.
2024-04-10 14:27:14 +02:00
Andrea Maria Piana
8c7a6aa54d
chore_: Add tag-version command
2024-04-10 11:43:13 +01:00
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
Patryk Osmaczko
c98acf76f9
fix: prevent migration check on nightly tests
...
mitigates: #4993
2024-03-28 14:41:18 +01:00
Patryk Osmaczko
30fe620ff0
chore: extend tests timeout
...
Due to an increased volume of tests, numerous test jobs have been timing
out. The timeout has been extended by 10 minutes.
2024-03-26 17:47:11 +01:00
Jakub Sokołowski
141cfadb93
feat(ci): add release tag parameter for docker builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-22 12:20:52 +01:00
Patryk Osmaczko
a068b64d5e
chore: run nightly tests one by one
...
fixes : #4585
fixes : #4586
2024-02-28 22:00:26 +01: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
Patryk Osmaczko
fdd979096c
chore: add capability to rerun failed tests
...
- Use `gotestsum` to generate junit test reports and re-run failed tests.
- Archive re-run reports in `${package_dir}/report_rerun_fails.txt`.
2024-02-27 11:00:29 +01:00
Jakub Sokołowski
e6db622cdb
chore(ci): upgrade from nix 2.14 to 2.19
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-13 19:46:43 +01:00
Jakub Sokołowski
e53f31ff1f
ci: update Jenins CI xcode label to use 15.1
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-11 16:32:56 +01:00
Anton Iakimov
d2379aa129
ci: publish tests-nightly log/xml for debug ( #4384 )
2023-11-30 12:09:16 +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
1f076b9ff3
ci: set tests-nightly timeout to 5 hours
2023-11-27 12:42:09 +01:00
Anton Iakimov
2d251e9a08
ci: increase nightly runs and add more info to test stats ( #4378 )
2023-11-24 17:42:44 +01:00
Anton Iakimov
c62957f621
feat: publish test_stats report ( #4349 )
...
Let's publish test_stats as a Jenkins report instead of printing to the
build log.
2023-11-22 11:37:05 +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
494c6707ba
ci: parametrize DB port for unit tests
...
Otherwise we can't run tests in parallel on the same host. Also the
container name has to be different depending on executor.
Resolves errors like:
```
docker: Error response from daemon: Conflict.
The container name "/status-go-test-db" is already in use by container "123...".
You have to remove (or rename) that container to be able to reuse that name.
```
Resolves: https://github.com/status-im/status-go/issues/4040
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-18 19:54:21 +02:00
Andrea Maria Piana
9a1443d716
Test generate handlers
2023-08-28 14:17:33 +01:00
Andrea Maria Piana
8dd1b66d69
Always use protobufs by reference & generate handlers
2023-08-22 12:08:54 +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
78b61ffe2c
ci: drop wrongly calling make install-lint
...
Linting tools should already be installed by Nix, and we should use
them.
Also switching most shells to pure mode to see what happens.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-18 18:01:18 +02:00
Anton Iakimov
3a41a2550a
ci: generate junit reports for unit tests
2023-08-17 15:29:18 +02:00
Andrea Maria Piana
5f55a7bcc8
fetch develop before checking
2023-06-28 19:58:21 +01:00
Andrea Maria Piana
75c9374420
Add migration check script
2023-06-23 12:01:30 +01:00
Jakub Sokołowski
c1509637a5
ci: bump tests timeout to 30 minutes
...
The test running time can be a bit unpredictable due to server load,
which can result in tests that finish in 5 minutes, or over 20.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-02 12:38:43 +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
c8161a5fa4
ci: upgrade Xcode version required to 14.3
...
Using `sandbox: false` for `nix.shell()` call to avoid failures in
Xcode wrapper derivation due to missing permissions:
```
error: builder for '/nix/store/xxx-xcode-wrapper-14.3.drv' failed with exit code 1;
last 2 log lines:
> /nix/store/yyy-stdenv-darwin/setup: line 1391: /nix/store/yyy-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted
> We require xcodebuild version: 14.3
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-28 11:02:51 +02:00
Jakub Sokołowski
124dd73928
ci: drop go-1.19 label, Nix provides correct Go
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-19 20:18:10 +02:00
RichΛrd
ba1ba1ac02
chore: use go 1.19 and bump go-libp2p ( #3371 )
...
* chore: use go 1.19 and bump go-libp2p
* chore: bump golangci-lint
* chore: update go version in shell.nix
2023-04-07 20:23:07 +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