Commit Graph

27 Commits

Author SHA1 Message Date
Hanno Cornelius e9028618fd
fix: temporary fix to disable default experimental builds on fleets (#1810) 2023-06-19 17:14:50 +02:00
Vaclav Pavlin 39902dc2f2
chore(makefile): unify where chronicles_log_level is set (#1748) 2023-05-23 10:44:57 +02:00
Aaryamann Challani b148c305d7
fix(ci): make experimental default to true in fleet deployment (#1742) 2023-05-18 17:26:29 +05:30
Aaryamann Challani d822cdc599
fix(ci): remove target flag from docker command (#1725)
* fix(ci): remove target flag from docker command

* fix(ci): add additional debug flag to rollout debug images to fleets
2023-05-15 21:55:25 +05:30
G b77a4faa55
fix(jenkins): fix typo 2022-12-06 01:18:33 +01:00
Lorenzo Delgado 0f91f97a9a
ci(jenkins): split dockerfile into production and experimental stages 2022-12-01 12:45:06 +01:00
Lorenzo Delgado 35c89ed176
ci(jenkins): support experimental flag in the pr and release pipelines 2022-12-01 11:28:09 +01:00
Lorenzo Delgado efd1496e4e
ci(jenkins): use MAKEFLAGS and NIMFLAGS pipeline params in build and test stages 2022-10-25 16:58:52 +02:00
Lorenzo Delgado 339914bb73
ci: run ci test workflows selectively 2022-10-20 18:44:22 +02:00
Jakub Sokołowski 44e49a0235
ci: separate discord notification into a function
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 22:33:17 +02:00
Jakub Sokołowski b9a84af5c2
ci: add username and email to build notifications
Makes it easier to identify who to talk to about a deployment.

This depends on the following plugin being installed:
https://plugins.jenkins.io/build-user-vars-plugin/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 22:33:16 +02:00
Jakub Sokołowski dd1fe16568
ci: build v1 and v2 if shell.nix is changed
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-04 18:29:13 +02:00
Jakub Sokołowski eba17319e8
ci: use Nix shell to provide build dependencies
Because we need Rust version newer than `1.62.0` and
Ubuntu 22.04 only comes with `1.61.0`:
https://packages.ubuntu.com/jammy/rustc

And locking dependencies using Nix would make it easier
for developers to track them and update them:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rust/1_63.nix

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-03 18:45:29 +02:00
Jakub Sokołowski cc037cc749
ci: add diff link for previously deployed commit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-28 17:48:31 +02:00
Jakub Sokołowski 3b7d6f4a1b
ci: use docker tag names closer to fleet names
To avoid naming confiusion.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-28 17:12:33 +02:00
Jakub Sokołowski 207dc3a845
ci: build all when anything in ci folder changed
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 17:23:51 +02:00
Jakub Sokołowski c3a9c0aab8
ci: add Discord notification for successful builds
This way teams can track what deployments happen when.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 16:19:24 +02:00
Jakub Sokołowski b9434052ef
ci: disable Nim compiler colors
Because they make things unreadable.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-22 13:45:47 +02:00
Jakub Sokołowski 89868bc7cd ci: add timeouts to Jenkins pipelines
We've seen a few jobs running on MacOS hosts stuck for days:

* https://ci.status.im/job/nim-waku/job/prs/job/macos/job/PR-982/
* https://ci.status.im/job/nim-waku/job/prs/job/macos/job/PR-979/

Which is not acceptable.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-08 15:18:27 +02:00
Daniel Kaiser 42f48a6892
chore(docker): use NIMFLAGS instead of NIM_PARAMS (#961)
NIM_PARAMS is and internal variable.
NIMFLAGS should be used outside of nimbus build system.

includes:

* fix(docker): copy RLN parameters.key into the container
* chore(makefile): NIMFLAGS in docker img rule
2022-05-17 21:11:07 +02:00
G f59876caeb
fix(Jenkins): remove caching (#945)
* Update Jenkinsfile.prs
2022-04-19 12:51:27 +02:00
Jakub Sokołowski 263284978a ci: add commit as label to Docker image
Helps with debugging issues related to specific versions.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-21 18:25:14 +01:00
Jakub Sokołowski 438ad2328e ci: add architecture specification to agent label
Should fix errors like:
```
clang: error: the clang compiler does not support '-march=native'
```
Caused by hitting the Apple M1 `arm64` host.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-17 19:55:52 +01:00
Hanno Cornelius e226d0f852
Upped Jenkins make verbosity to 1 (#785) 2021-11-25 17:01:45 +01:00
Jakub Sokołowski 0d8f4becd0 ci: build and test only what changed
This is a pretty cure regex-based test, but should work.

For the diff to work this refspec needs to be added to the fetch
```
+refs/heads/master:refs/remotes/@{remote}/master
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-02 11:09:09 +02:00
Jakub Sokołowski 09876ae82b ci: cleanup workspaces after every build to save space
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-30 22:57:15 +02:00
Jakub Sokołowski f140a71d6d ci: add Jenkinsfile for Linux
Adding a single Jenkinsfile for PR builds that can run on all three
platforms supported by our Jenkins CI setup.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-29 17:36:52 +02:00