Jakub Sokołowski
6a90d76c98
fix edge case where PR e2e builds are not rebased
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-13 13:55:44 +01:00
Jakub Sokołowski
261b81c8a7
nix: upgrade: 2.2.1 > 2.3.1
...
also drop toolversion scripts and functions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:22 +01:00
Jakub Sokołowski
a6c2518de7
drop overriding .env values with CI parameters
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 22:17:40 +01:00
Jakub Sokołowski
05ee65b6fa
don't use SHA1s as status-go version
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 21:46:02 +01:00
Jakub Sokołowski
afc2412514
desktop builds need GnuPG
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-17 11:03:41 +02:00
Jakub Sokołowski
973623f4c8
build multiple APKs for different architectures
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 13:59:42 +02:00
MajorTomSec
5dbac2b1d9
[Fix 8635] About showed "Version ()" instead of Version 0.14.0 (201908...) on Android
...
Fixes #8635 by adding VERSION and BUILD_NUMBER files in the correct nix
template and updating bash script in order to prevent it from failing,
due to the git repository being not initialized in the nix environment.
Move scripts/build_no.sh and scripts/gen_build_no.sh to
scripts/version/build_no.sh to prevent Nix from rebuilding when
unrelated scripts are touched.
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 12:51:50 +03:00
Jakub Sokołowski
158f9b4938
fix release builds by renaming .env.prod to .env.release
...
This way the nix expression in nix/mobile/android/targets/release-android.nix will not fail.
And the naming of build types and `.env.${type}` files will be more consistent.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-17 10:39:53 -04:00
Pedro Pombeiro
a7fd659d84
nix: Wrap gradle, npm packages, `lein prod-build` and `gradle assembleRelease` in Nix expressions to improve reproducible builds with constant build paths
2019-07-15 16:08:02 +02:00
Jakub Sokołowski
d75a412ae8
don't rebase manual builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-07 18:45:28 +02:00
Pedro Pombeiro
ab11a67c96
Move files that don't change per platform to the root
2019-06-06 16:56:24 +02:00
Jakub Sokołowski
3527a5d2ce
fix missing env prefix for CHANGE_TARGET
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-16 22:11:49 +02:00
Jakub Sokołowski
4f4cc91b88
use CHANGE_TARGET to rebase on actual PR target
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-15 17:56:37 +02:00
Jakub Sokołowski
c90fe74d9f
check also branch name when skipping rebase
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-15 17:13:48 +02:00
Jakub Sokołowski
0e8e5a51ba
refactor nix_sh to give it optional Map arguments
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 16:06:16 +02:00
Pedro Pombeiro
93efc0cd05
Run prepare-for-desktop.sh in an impure shell
2019-05-10 11:48:32 +02:00
Pedro Pombeiro
fca01891ba
Improvements for a pure macOS Nix environment
2019-05-10 11:48:31 +02:00
Pedro Pombeiro
cc009a3c2c
nix: Minor cleanup of fastlane expression
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 18:33:40 +02:00
Jakub Sokołowski
3469c4a9b1
don't rebase on canary-branch
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-09 11:17:07 +02:00
Pedro Pombeiro
9d1e266145
Use fastlane Nix package instead of ruby/bundler for Android
...
- iOS still has issues with native Ruby dependencies
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 11:57:12 +02:00
Pedro Pombeiro
b575f5f6a5
Create androidenv package with accepted license so build can run with --pure
2019-05-06 11:56:51 +02:00
Pedro Pombeiro
a436793fa0
Consolidate TARGET_SYSTEM_NAME and TARGET_PLATFORM with TARGET_OS
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-15 20:31:38 +01:00
Pedro Pombeiro
a7f8252d50
Add --pure to nix-shell calls
2019-04-15 20:29:55 +01:00
Jakub Sokołowski
55abf20645
modify .env settings using Jenkins params
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-11 19:49:13 +02:00
Pedro Pombeiro
aeacbd928e
Separate logic into shell.nix and derivation.nix to fix `nix build` command
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 17:44:29 +02:00
Jakub Sokołowski
cfcfa01a64
make sourcing nix quiet
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 18:58:52 +01:00
Jakub Sokołowski
750cc93fe9
fix for e2e builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 17:48:39 +01:00
Jakub Sokołowski
77267a145f
check parameter, e2e builds can be release builds too
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 17:23:47 +01:00
Jakub Sokołowski
52295502d0
don't rebase desktop builds on release either
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 14:42:53 +01:00
Pedro Pombeiro
3b9123d482
Add ruby and bundler Nix packages for CI to fix android-e2e CI job
2019-03-21 13:57:03 +01:00
Jakub Sokołowski
9f601e851d
add jenkinsfile
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:57:00 +01:00
Jakub Sokołowski
0887a5299a
add github releases for mobile
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-07 19:16:15 +01:00