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
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
Andrea Maria Piana
fc846211b7
fix_: make sure tag version works if no args are passed
2024-04-10 12:18:30 +01:00
Andrea Maria Piana
a9228df085
fix_: ignore description in commit check
2024-04-10 12:04:55 +01: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
Andrea Maria Piana
c7533a7dab
Extend migration check
2024-03-06 23:37:06 +00:00
Patryk Osmaczko
86ae80b108
fix: respect exit code from package run
...
Fixes the issue where the job succeeds even when there are always
failing tests.
2024-03-06 18:05:40 +01:00
Patryk Osmaczko
abfaa3cf8d
chore: run nightly tests in parallel
2024-02-29 18:23:20 +01:00
Patryk Osmaczko
a068b64d5e
chore: run nightly tests one by one
...
fixes : #4585
fixes : #4586
2024-02-28 22:00:26 +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
Patryk Osmaczko
e29332a374
chore: set extended timeout only for `protocol` package
...
It mitigates #4585 until the root cause is fixed.
2024-01-26 12:27:57 +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
e67bee6e7b
fix: nightly test runs timeout ( #4358 )
...
Need to multiply 30m by test runs to make sure it fill be enough.
2023-11-22 17:48:04 +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
Jakub Sokołowski
5aa9eb913d
fix: drop unnecessary wrappers, fix shebangs
...
Also make the hook installation run by default.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-07 18:02:06 +01:00
Anton Iakimov
7a9845c6e2
ci: hide `go test` output to the file on CI
...
Let's hide stdout of go tests to the files.
In case of failed test - it should be included in junit report anyway and shown in Jenkins.
Closes #3543
2023-09-13 10:53:38 +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
Andrea Maria Piana
959e370389
config: add new Push notifications fleet
...
Also drop no longer existing `eth.test` fleet.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-19 17:29:18 +01:00
Richard Ramos
11e432d341
feat: allow passing variables to docker-compose and fix var name ( #2821 )
2022-09-15 15:41:00 -04:00
yqrashawn
d1ef1a3e31
fix: apt -> apt-get ( #2775 )
...
there's a default /usr/bin/apt cli in macos
2022-08-03 11:26:31 +02:00
Jakub Sokołowski
6d38b86059
scripts: fix protobuf version from Nix
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-26 17:36:10 +02:00
Jakub Sokołowski
ede86b68ce
gen_config.sh: add default retenetion of 30 days
...
Related to this question on our Discourse:
https://discuss.status.im/t/status-node-growing-storage-size/2970
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-25 19:28:54 +01:00
Jakub Sokołowski
7594dd4800
install_deps.sh: fix format, add NixOS support
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-17 14:39:30 +02:00
Jakub Sokołowski
034f3bfec3
get_enode.sh: --retry-connrefused instead --retry-all-errors
...
The `--retry-all-errors` flag was added only in Curl `7.71.0`:
https://github.com/curl/curl/commit/b995bb58
So it fails on older distrubutions with:
```
curl: option --retry-all-errors: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-30 14:24:29 +02:00
Jakub Sokołowski
06587bd1bc
get_enode.sh: add retries to account for slow start
...
Containers can be slow to start, but still want that enode.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-24 16:45:47 +02:00
Jakub Sokołowski
cd2b53643d
rcp.sh: curl wrapper for easier RPC calls
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-24 11:23:25 +02:00
Jakub Sokołowski
e4540a0853
add 3 instead of 2 static nodes to default configs
...
Each fleet has 3 data centers, so it makes sense to use 3.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-24 11:23:25 +02:00
Jakub Sokołowski
315f63ea43
gen_config.sh: default HTTPHost to localhost
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-24 11:23:25 +02:00
Jakub Sokołowski
b805d0b9f6
gen_config.sh: add MaxPeers default of 50
...
I think this setting should be more explicit and visible in the config.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-24 11:23:25 +02:00
Jakub Sokołowski
2b566db298
drop AdvertiseAddr from default configuration
...
It appears it is being used by Rendezvous, and if that protocol is not
being used there is no need to set `AdvertiseAddr` either.
I also adjusted all the `Makefile`s to not depend on `PUBLIC_IP` variable.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-19 16:53:31 +02:00
Jakub Sokołowski
5ac8b873b8
config/cli/fleet: disable Rendezvous, drop nodes
...
Since we've broken LibP2P communication with our Rendezvous nodes
somewhere after `v0.79.11` we should not enable it by defaults since it
generates errors like these:
```
failed to dial 16Uiu2...d687e4: all dials failed
failed to negotiate security protocol: protocol not supported
```
Since normal bootnodes are defined as well as a list of static nodes
there should not be a need for using Rendezvous as well.
Resolves: https://github.com/status-im/status-go/issues/2309
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-13 16:22:17 +02:00
Jakub Sokołowski
5caf22e35a
scripts/gen_config.sh: drop WhisperConfig, limit API modules
...
I've disabled Whisper in the config since we do not use it anymore.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-13 16:22:17 +02:00
RichΛrd
40359f9c1b
go-waku integration ( #2247 )
...
* Adding wakunode module
* Adding wakuv2 fleet files
* Add waku fleets to update-fleet-config script
* Adding config items for waku v2
* Conditionally start waku v2 node depending on config
* Adapting common code to use go-waku
* Setting log level to info
* update dependencies
* update fleet config to use WakuNodes instead of BootNodes
* send and receive messages
* use hash returned when publishing a message
* add waku store protocol
* trigger signal after receiving store messages
* exclude linting rule SA1019 to check deprecated packages
2021-06-16 16:19:45 -04:00
Andrea Maria Piana
5cb70a2f42
Add datadir to gen_config.sh
2020-09-28 09:51:21 +02:00
Jakub Sokołowski
42baf2251d
expose the mailserver metrics port by default
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 17:08:49 +02:00
Jakub Sokołowski
bc70895615
enable waku for mailservers by default
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 17:08:49 +02:00
Adam Babik
4f9f7cd258
Fix setup-dev target ( #1926 )
2020-04-06 09:54:06 +02:00
Jakub Sokołowski
0c8efb4da5
fix update-fleet-config.sh to include rendezvous
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 15:47:07 +01:00
Jakub Sokołowski
86f54c3f5f
remove eth.beta fleet as it has been decomissioned
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-21 14:48:47 +01:00
Jakub Sokołowski
14501520be
add option to show enode as QR code if qrencode is available
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-05 16:50:49 +01:00
Jakub Sokołowski
b476d5c6f3
include mail password when getting enode with get_enode.sh
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-05 16:50:49 +01:00
Jakub Sokołowski
fc841f884a
add config for new eth.prod fleet
...
also move _assets/ci/update-fleet-config.sh to scripts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-08 14:51:26 +01:00
Jakub Sokołowski
ccf3cd5098
add missing jq checks, make formatting vars the same
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-21 09:16:54 +01:00
Jakub Sokołowski
92d6b1c439
add systemd service leanup, fix config generation
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-15 11:30:23 +01:00
Jakub Sokołowski
294399916e
add script for easier setup of mailserver
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-10 11:27:32 +02:00