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
Jakub Sokołowski
00de482767
re-enable desktop builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-19 17:41:50 +03:00
yenda
c3dd950286
remove realm
...
Signed-off-by: yenda <eric@status.im>
2019-09-09 18:40:15 +02:00
Jakub Sokołowski
ba8e49b649
save diawi link in the build description for easy access
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-03 11:43:03 -04:00
Jakub Sokołowski
7c7eb0ba3d
clean results before copying them from Nix store
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-28 21:55:52 -04:00
Pedro Pombeiro
78754dfdee
Fix local release PR builds (were missing js modules)
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-27 11:49:48 +02:00
Jakub Sokołowski
17407b3680
don't go into android dir, copy results if not linking
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-27 09:14:00 +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
Andrey Shovkoplyas
e4c0bcfc3d
disable coverage
...
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-12 15:05:57 +02:00
Jakub Sokołowski
a79544d043
forgot to disable desktop stuff in other steps
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 02:17:04 -04:00
Jakub Sokołowski
c49e4933ee
disable desktop builds for now
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-08 15:12:22 -04:00
Jakub Sokołowski
7517f5235a
use nix shell for nix-update-* targets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 14:11:02 -04:00
Pedro Pombeiro
acf6278383
nix: Use nix/build.sh for release-android make target
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-26 16:01:06 -04:00
Pedro Pombeiro
2ac0630ef8
nix: fix target OS for add-nix-gcroots.sh
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 13:47:43 -04:00
Jakub Sokołowski
2acd5b4cb0
rename prod-build to jsbundle so it means something
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-24 11:56:03 -04:00
Jakub Sokołowski
b9ab37019d
build status-go for Nix cache
...
Also fix scripts/update-status-go.sh to accept commit SHA1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 01:01:41 -04:00
Pedro Pombeiro
f6527f014e
nix: Improve some expressions
2019-07-19 20:59:16 +02: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
tbenr
b78bb456a4
add coverage test
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-10 16:15:44 -04:00
Pedro Pombeiro
48c7f928cd
Clean up some nix files
2019-07-05 13:40:31 +02:00
Jakub Sokołowski
cca2af6875
don't provide --apk=, it's already there
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-03 08:16:00 -04:00
Jakub Sokołowski
37dc51a93d
add a Jenkinsfile for nightly end-to-end tests
...
also add error handling for TestRail
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 11:22:26 -04:00
Jakub Sokołowski
33840b7b84
use nix shell for running fastlane ios clean
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-18 10:09:33 -04:00
Jakub Sokołowski
5cf112e8a5
don't pass any arguments to getVersion
...
ab11a67c96
removed the argument but didn't clean this call
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-14 11:44:03 -04:00
Pedro Pombeiro
f5be5c3a69
Ensure watchman watch is removed after Jenkins build
2019-06-13 15:03:44 +02:00
Jakub Sokołowski
eb4ba4c50e
drop x86 and x86_64 for non-e2e or dev builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-11 13:30:49 -04:00
Jakub Sokołowski
7c1df4f3cd
fix load of github groovy module
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-11 07:43:46 -04:00
Jakub Sokołowski
49d5a3082e
run checks and build steps in parallel
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-10 22:07:55 -04: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
1457f0f017
Some changes from the node2nix test branch that don't need to be there
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-06 19:13:31 +02:00
Pedro Pombeiro
ab11a67c96
Move files that don't change per platform to the root
2019-06-06 16:56:24 +02:00
Roman Volosovskyi
632bbf3bc1
[perf] Move translation to node_modules in release build
2019-06-05 18:40:53 +03:00
Roman Volosovskyi
daacccb512
[Android, iOS] Advanced ClojureScript compilation
2019-05-30 21:23:31 +03: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
Jakub Sokołowski
3774a0845a
add diawi upload retries
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 10:29:12 +02:00
Jakub Sokołowski
a4b5f69e5b
merge nix-cache build Jenkinsfiles
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-19 10:56:45 +02:00
Jakub Sokołowski
78a1b025ac
don't use docker containers on linux, nix rules all
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 21:35: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
Pedro Pombeiro
89f34a7707
Improve makefile to only make Nix install the bare minimum for intended platform
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-12 12:18:43 +02:00
Jakub Sokołowski
42a3b7d195
fix setting of BUILD_TYPE and BRANCH params
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-12 11:49:02 +02:00
Jakub Sokołowski
5c5e804c88
don't make e2e builds use modified ID
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-12 09:56:20 +02: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
1d00e9bb3d
change App ID for PRs on Android to avoid replacing release
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-10 11:49:40 +02:00
Pedro Pombeiro
cf6cbd7fa8
Replace usage of `make setup`
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-10 11:45:29 +02:00
Pedro Pombeiro
65e6e80349
Create Nix package for building status-go
2019-04-09 12:44:39 +02:00
Jakub Sokołowski
9537425cf2
fix nix cache build process
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-05 16:05:03 +02:00
Jakub Sokołowski
c2fc510c8e
use auto@status.im Apple account for signing app
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-05 10:48:17 +02:00
Jakub Sokołowski
916467555f
add repo name to ghcmgr url
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-02 15:51:15 +02:00
Pedro Pombeiro
119373ea33
Replace `make prepare-*` targets with implicit behavior
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-26 12:44:07 +01:00
Jakub Sokołowski
b6507ebb5a
run bundle for building ios in nix_sh
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-26 11:07:51 +01:00
Pedro Pombeiro
738521092b
Call make-prepare also on Desktop CI builds
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 16:26:58 +01:00
Pedro Pombeiro
c53553e137
Use nix to download Desktop bundle base images
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 15:06:14 +01:00
Pedro Pombeiro
fc5c8c2dc0
Add Dockerfile to generate image used in Jenkins
2019-03-22 15:05:27 +01: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
Pedro Pombeiro
5440378bbc
Migrate remaining CI builds to Nix
2019-03-21 13:57:01 +01:00
Pedro Pombeiro
015f02ae84
Implement target-dependent installing of Nix dependencies
2019-03-21 13:57:01 +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
1edc39e46f
re-add cache folders in /var/tmp, re-create bundle cache every time
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 12:45:45 +01:00
Jakub Sokołowski
257f03bca7
upgrade ruby to 2.5
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 09:22:32 +01:00
Jakub Sokołowski
f7ab70ad5a
post diawi link to ghcmgr for ios
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-09 08:57:33 +02: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
Jakub Sokołowski
47f7dbac9d
upload ipa files to DO and Diawi on release too
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-07 12:00:08 +01:00
Jakub Sokołowski
6ff36b5dd5
fix missing cmn. prefix
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-06 15:49:20 +01:00
Jakub Sokołowski
f67ee8db56
upload release.json for release builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-06 14:52:26 +01:00
Jakub Sokołowski
30dc24a3a9
ci: move windows base image to docker image, add workdir
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 14:39:43 +01:00
Jakub Sokołowski
9b3580fafe
ci: disable copying artifacts and using non-existent url
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 09:52:10 +01:00
Jakub Sokołowski
fd59e76603
ci: use legacy build system to avoid xcode 10.1 issues
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 09:16:03 +01:00
Igor Mandrigin
571514154d
ci: don't rebase release branches on `develop`
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 09:26:35 +01:00
Jakub Sokołowski
62dc664090
ci: avoid running pod while there's another instance running
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 09:04:42 +01:00
Jakub Sokołowski
ff3a54e9e3
remove mounting of /dev/fuse for linux builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-25 10:55:42 +01:00
Igor Mandrigin
c0f5bd14de
Revert "change App ID for PRs on Android to avoid replacing release"
...
This reverts commit 6a7efb8339
.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-13 10:12:51 +01:00
Jakub Sokołowski
6a7efb8339
change App ID for PRs on Android to avoid replacing release
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-12 13:24:24 +01:00
Jakub Sokołowski
00b5ad2af6
new ghcmgr API requries repo name in path
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-07 11:01:59 +01:00
Jakub Sokołowski
bf51592496
avoid incosistent timestamps by using parent start time if available
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-04 21:14:13 +01:00
Pedro Pombeiro
6d3211de46
Add golang to `.TOOLVERSIONS` and fix md5 calculation
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-01 19:35:22 +01:00
Pedro Pombeiro
881dabc241
Fix issues found when running `make setup` on clean MacOS and Linux machines
2019-01-29 23:18:29 +01:00
Pedro Pombeiro
63b340ea33
Fix reproducible builds in Docker desktop images
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-29 11:19:01 +01:00
Jakub Sokołowski
e87464e5ba
refactor docker image creation to use base image
...
Squashed commits:
- initial work
- make base image use all the versions
- make desktop images use the base image
- update ci to use new images
- use new toolversion script
- update android image tag
- add missing android-26 platform
- fix installing packages with sdkmanager
- fix installation of react-native-cli
- specify prefix path for npm install -g
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-25 11:40:32 +01:00
Pedro Pombeiro
d3f1b37c12
Use new status-go and rename NotifyUsers
...
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 15:41:32 +01:00
Jakub Sokołowski
fab20ffc35
copying from wrong job for nightlies
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-23 10:51:21 +01:00
Jakub Sokołowski
195de3fc07
missing variable source
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-22 16:20:55 +01:00
Jakub Sokołowski
3acc480428
use separate jobs for e2e builds, disable aborting for non-pr builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-22 14:28:30 +01:00
Pedro Pombeiro
3d332e009b
Add logic to cancel older running builds in Jenkins
...
https://www.pivotaltracker.com/story/show/163367849
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-21 21:25:57 +01:00
Igor Mandrigin
a14076def7
Update pods only if installation fails.
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-21 19:02:28 +01:00