status-mobile/ci
Jakub Sokołowski 0311983751
ci: upgrade Nix from 2.3.12 to 2.6.1
Due to changes in how Nix handles Git refs we need to specify
`refs/tags/` prefix in `package.json` to avoid the following error:
```
fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6
error: program 'git' failed with exit code 128
```

I also had to rewrite some logic in `nix/scripts/source.sh` in order to
take account of single-user and multi-user installations.
We default to multi-user for Darwin, but not for any other OS due to
discovered issues with `nix-daemon` socket on Arch and open file limits.

I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support
different types of installations. Both single-user and multi-user, as some
operating systems have issues with multi-user installations.

Resolves: https://github.com/status-im/status-react/issues/12832
Depends on: https://github.com/status-im/status-jenkins-lib/pull/37

Related changes:
* https://github.com/status-im/infra-ci/commit/84947b9f
* https://github.com/status-im/infra-ci/commit/bb98f5f3
* https://github.com/status-im/infra-ci/commit/f75d524d
* https://github.com/status-im/infra-ci/commit/d1fc92cd
* https://github.com/status-im/infra-ci/commit/87c4091e
* https://github.com/status-im/infra-ci/commit/8d6b6b3f
* https://github.com/status-im/infra-ci/commit/c4f13285
* https://github.com/status-im/infra-ci/commit/38ac698d

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-11 12:26:54 +02:00
..
tests e2e: tx users 2022-03-07 22:17:39 +01:00
tools ci: upgrade Nix from 2.3.12 to 2.6.1 2022-04-11 12:26:54 +02:00
Jenkinsfile remove old jenkisnfiles 2018-09-04 07:39:40 -04:00
Jenkinsfile.android ci: upgrade Nix from 2.3.12 to 2.6.1 2022-04-11 12:26:54 +02:00
Jenkinsfile.combined ci: upgrade Nix from 2.3.12 to 2.6.1 2022-04-11 12:26:54 +02:00
Jenkinsfile.ios ci: upgrade Nix from 2.3.12 to 2.6.1 2022-04-11 12:26:54 +02:00
Jenkinsfile.nix-cache ci: upgrade Nix from 2.3.12 to 2.6.1 2022-04-11 12:26:54 +02:00
README.md ci: upgrade jenkins lib to 1.2.12 to generalize GH release 2021-04-19 11:47:34 +02:00

README.md

Description

This folder contains files defininf Jenkins pipelines that run on https://ci.status.im/.

Libraries

All Jenkinsfiles contain the following line:

library 'status-jenkins-lib@master'

Which loads the used methods - like nix.shell() - from a separate private repo:

https://github.com/status-im/status-jenkins-lib

This is done to improve security of our CI setup.