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
Anton Danchenko
69209107ca
added upgrade test, changed apk name on sauce
...
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-01-21 12:52:12 +02:00
Jakub Sokołowski
984404b9e2
change .TOOLVERSION into csv, add toolversion script
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-18 22:43:11 +01:00
Jakub Sokołowski
7c8256234d
run genBuildNumber after make clean to not remove the file
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-17 20:04:46 +01:00
Pedro Pombeiro
5a69b4198e
Update PNs to use data-only messaging, and only encode/decode data values. Fixes #6772
...
Fix navigation to chat when PN is tapped while signed off. Fixes #3488
Anonymize PN pubkeys. Part of #6772
2019-01-17 19:23:55 +02:00
Jakub Sokołowski
b51b565cdb
add dockerimage for building android
...
- remove unused android-ndk toolchains
- add build.sh and test target for easy testing of image
- separate generic parts into a base image
- pass keystore credentials via env variables
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-16 17:36:13 +01:00
Jakub Sokołowski
243a2d1885
use nvm() wrapper in jenkins for android builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-16 14:07:53 +01:00
Jakub Sokołowski
420a64e72d
don't update cn.status.im on every release build
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-15 17:22:03 +01:00
Pedro Pombeiro
ff98c7cbe0
Lock down tool versions (downgrades if necessary)
2019-01-14 19:49:03 +01:00
Jakub Sokołowski
75d992099f
skip uploading on release since bundle stage already does that
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-10 14:52:43 +01:00
Jakub Sokołowski
513a9cadbe
Fix how we get CHANGE_ID for PRs when uploading to SauceLabs
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-10 11:45:46 +01:00
Jakub Sokołowski
0c3bfc14f9
fix renaming iOS release builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-09 17:04:59 +01:00
Jakub Sokołowski
cc542969c0
move gh notification to post, add check for CHANGE_ID
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-09 12:33:40 +01:00