Commit Graph

446 Commits

Author SHA1 Message Date
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
Jakub Sokołowski 0002218a6f
fix names of stages to fit what they do better
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-07 16:46:32 +01:00
Igor Mandrigin 5ff90c3b14
Always upload iOS release jobs to TestFlight
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-07 09:21:53 +01:00
Pedro Pombeiro 583edc51f8
Simplify Linux bundle building
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-03 10:17:13 +01:00
Jakub Sokołowski c3bddde7dd
fix success value of build objects sent to ghcmgr
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 10:00:24 +01:00
Jakub Sokołowski ffdbedd049
use the new pr commenting service
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-14 18:33:48 +01:00
Volodymyr Kozieiev d603460ff1
Logging disabled for release build
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-12-14 12:08:15 +02:00
Jakub Sokołowski 3cfec19757
fix link used for Macs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-13 18:09:04 +01:00
Jakub Sokołowski 9f7d32b1c5
add cleanup steps and reduce number of builds to keep
skip github notification if no CHANGE_ID is available

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-13 14:23:55 +01:00
Jakub Sokołowski 9e8ec6eac7
run pod only for ios
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-12-12 16:22:14 +01:00
Jakub Sokołowski 2586e71b30
move upload step top platform specific builds, cleanup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-12 14:12:17 +01:00
Jakub Sokołowski 63ac18afde
set BUILD_TYPE to pr as default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-11 12:15:45 +01:00
Jakub Sokołowski 411a74e040
add mvnrepository.com for gradle
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-10 21:04:38 +01:00
Max Risuhin 8f0bfde759
Use StatusImAppImage package without redundant files
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-12-09 15:59:42 +02:00
Jakub Sokołowski 51b388cce3
always upload iOS builds to Diawi
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 16:15:47 +01:00
Jakub Sokołowski adbf77cb57
remove legacy jenkinsfiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 16:02:41 +01:00
Jakub Sokołowski 65826b178f
fix PATH for the compile step so we can use qmak
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 15:04:23 +01:00
Volodymyr Kozieiev 922caf168b
Returned macdeployqt env var 2018-12-07 15:04:02 +01:00
Volodymyr Kozieiev ad4535e3bd
Removed MACDEPLOYQT record 2018-12-07 15:04:02 +01:00
Jakub Sokołowski 507a3fbeaa
bump nodejs version on desktop build docker images to 10
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 15:04:02 +01:00
Volodymyr Kozieiev 0da2c7b077
Fixed jenkisnfile misprint 2018-12-07 15:04:01 +01:00
Volodymyr Kozieiev bb8e5a4944
Fixed jenkisnfile error 2018-12-07 15:04:01 +01:00
Volodymyr Kozieiev c2e2ea36ac
node version bumped to 10.14.1 for desktop 2018-12-07 15:04:01 +01:00
Jakub Sokołowski 6c6d9bc268
fix build numbers for release builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-06 15:02:25 +01:00
Jakub Sokołowski 6364b886e4
enable desktop builds for releases
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-06 13:45:29 +01:00
Jakub Sokołowski a91a799eb5
add an e2e build target for ios
Squashe commits:
- add an e2e build target for ios
- add correct sdk and destination for simulator
- fixup! add correct sdk and destination for simulator
- drop xcarchive_path since we are not using it
- temporarily bind ios build to macos-03
- Detect installed simulator SDK and use it.
- Signed-off-by: Jakub Sokołowski <jakub@status.im>

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-05 18:43:11 +01:00
Pedro Pombeiro bb4264ac70
Fix `make setup`
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-30 17:49:39 +01:00
yenda 891447b8b3
update realm to 2.20.1 and node to 10.14.0
- add node version 10.14.1 via nvm wrapper for CI

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-11-30 15:46:58 +01:00
Jakub Sokołowski 458ccc48a5
fix which variables stores link to sha256 url
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-30 15:31:35 +01:00
Jakub Sokołowski 6365a0d1e2
uplod sha256 checksums of built artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-29 19:57:31 +01:00
Igor Mandrigin 37ef82b04d
Use `yarn` instead of `npm` for package management. Lock dependencies.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-29 16:29:57 +01:00
Vitaliy Vlasov 92d00f4250
Use multiple app instances simultaneously
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-11-28 19:10:12 +02:00
Jakub Sokołowski 7e031e8008
run buildNumber() at beggining of build, drop minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-28 16:10:53 +01:00
Pedro Pombeiro 8d2818017c
Only disable gradle daemon on CI, and install recommended npm version 2018-11-26 23:03:30 +01:00
Jakub Sokołowski 01c8d9b25b
stop using build-* git tags for counting build numbers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 13:43:12 +01:00
Pedro Pombeiro a31d10f6dc
Add support for generating Windows install program instead of zip file. Part of #6304
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 15:11:24 +01:00
Jakub Sokołowski c825ff285a
use a table to post links to build artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-15 12:31:51 +01:00
Jakub Sokołowski d86ebe3c9b
use uppercase for latest.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 18:14:17 +01:00
Pedro Pombeiro b8f6eb8d24
Configure Jenkins for Windows builds. Part of #5807 2018-11-14 17:16:32 +01:00
Jakub Sokołowski a016b1656d
increate android and combined timeout to 35 minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 13:43:22 +01:00
Jakub Sokołowski 972cb3350e call the correct job for updating nightlies page
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 20:10:42 +01:00
Jakub Sokołowski c3ad0a7b21
bump android timeout to 30 min
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 17:40:02 +01:00
Jakub Sokołowski 2890614a08
add timestamps to all commands
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 13:11:40 +01:00
Jakub Sokołowski 60f1e485d6
bump ios timeout to 35 min because prep stage can take long
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 12:46:20 +01:00
Jakub Sokołowski d2160e3701
upload a latest.json to the nightlies bucket
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-10 15:44:49 +01:00
Jakub Sokołowski 1a0e0c71a6
remove slackSend call which caused failures
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-08 19:19:31 +01:00
Pedro Pombeiro 43075cc156
Increase build timeout as it is failing intermittently now
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-07 10:18:34 +01:00
Jakub Sokołowski 8199211e4d
add jenkins timeouts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-30 13:31:19 +01:00
Igor Mandrigin cd83c7da6d
Update release Jenkinsfiles to use `cmn` library.
Jenkinsfile.upload_release_android
Jenkinsfile.upload_release_ios

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-22 15:21:02 +02:00
Max Risuhin 5986761210
Push notifications support #4432; Rename app to Status globally.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-19 18:52:04 +03:00
Jakub Sokołowski 33cf6dfd4b
add a fix for APK content type
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-12 09:52:23 -04:00
Jakub Sokołowski 75f23a19ad
drop use of artifactory maven repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>

- rename jar file to match flatDir search method
- try using ivy repo to pull status-go from github
- drop use of artifactory in pom.xml
- move status-go version to a STATUS_GO_VERSION file
- upgrade status-go to 0.16.0
- unzip with overwriting
- prepare-ios: doewnload archive only if it doesn't exist
- fix prepare-android and prepare-ios
- use Makefile targets to make sure status-go archives exist
- remove unnecessary call to make prepare-android

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-05 18:18:58 -04:00
Jakub Sokołowski 27667dd949
upload PR build artifacts to a separate bucket, also update desc
also splify syntax with helper methods and variables

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-03 12:03:15 -04:00
Jakub Sokołowski 4f9b2d91ea
upgrade QT for desktop to 5.11.2 (solves #6053)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-03 11:49:52 -04:00
George Lipov e1c0dff406
Run CLJS unit tests when building desktop
Signed-off-by: George Lipov <gnl@lipov.net>
2018-09-26 18:38:47 +03:00
Pedro Pombeiro 17a8d3a9c9
Unify desktop builds. Closes #5406
- Replace Linux and MacOS scripts in `ci/desktop.groovy` with calls to `scripts/create-desktop-package.sh`
- Replace use of `deployment/env` with `.env` to avoid confusion and be coherent with mobile platforms

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-26 16:45:48 +02:00
Roman Volosovskyi 4c1eaf8ac4
upgrade realm-js to 2.16.1 2018-09-25 18:03:12 +03:00
Jakub Sokołowski f061025b67
update cn.status.im APK link on release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-19 12:48:06 -04:00
Jakub Sokołowski 3dd776190a
use ubuntu:12.04 image to build linux app
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-17 16:21:30 -04:00
Roman Volosovskyi c61200f9ae
[#5180] Encrypt account's db with password 2018-09-13 12:20:13 +03:00
George Lipov fe822e5bc8
Add code-signing scripts and encrypted keychain
Signed-off-by: George Lipov <gnl@lipov.net>
2018-09-11 12:10:33 +03:00
Eric Dvorsak 8eb5047d7a
[fix #4819] update react-native to 0.56
Fix figwheel-bridge path in clj-rn.conf.edn
update SplashScreen
update ios to 9.0
updated Podfile.lock
downgrade cocoapods to 1.5.2
update package-lock.json
update pod repo when installing
update appcompat to v27

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-05 21:27:46 +03:00
Max Risuhin ab5d69968c
Set config env file path based on build type.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-09-05 11:54:11 +03:00
Igor Mandrigin d2d8e43535
Ignore Desktop builds for release.
Currently, we don't release desktop betas and it isn't given that the
release schedule will be synchronized. So, for simplicity of support,
let's not build desktop against release branches.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-04 11:24:44 -04:00
Jakub Sokołowski 495f513de9
remove old jenkisnfiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-04 07:39:40 -04:00
gnl d61b9031ad
Prettify macOS installation bundle
Signed-off-by: gnl <gnl@lipov.net>
2018-09-03 12:23:23 +03:00
Jakub Sokołowski 3d6c2855be
run bundle install, specify bundle home for jenkins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 22:54:50 -04:00
Jakub Sokołowski f82285b1f4
bump android build archive limits again to 60
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 10:24:30 -04:00
Anton Danchenko edd58af80b
apk name is a PR number if build for a PR
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 10:11:47 -04:00
Jakub Sokołowski 789a905743
do't upload to saucelabs for nightlies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 07:56:55 -04:00
gnl 80672a5c3e
Update CI bundle packaging to support code-signing
Signed-off-by: gnl <gnl@lipov.net>
2018-08-31 10:50:17 +03:00
Pedro Pombeiro 5ee1659b13
Add `clean` makefile target to ensure build leftover state is removed. Part of #5563
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-30 12:05:25 -04:00
Jakub Sokołowski 2a1468cfa9
use dashes instead of dots in artifact filenames
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-30 11:43:56 -04:00
Jakub Sokołowski 95d0a782c3
fix build failure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 23:25:06 -04:00
Max Risuhin 76ace61d17
Integration with breakpad; crash report handler dialog #5425
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-08-30 01:49:43 +03:00
Jakub Sokołowski 6353039171
add a wait for cocoapods lock to disappear
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 17:31:19 -04:00
Jakub Sokołowski 7d87666c60
add --silent to pod install
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 14:59:10 -04:00
Jakub Sokołowski d985a82670
add default env type to copy for mobile builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 14:39:35 -04:00
Jakub Sokołowski 5532510c56
run e2e by default only for nightlies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 13:46:31 -04:00
Jakub Sokołowski c11cf17009
bump limit for android ro 40 2018-08-29 11:12:32 -04:00
Jakub Sokołowski 60b343ef16
bump artifact limits to 30
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 08:56:14 -04:00
Igor Mandrigin aff20395f3
Jenkins: don't build unnecessary platforms for mobile builds.
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 14:45:55 +02:00
Igor Mandrigin e508d98316
Have a single notification about builds.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-29 14:22:22 +02:00
Jakub Sokołowski 2d6764862a
remove default value from Jenkinsfile.combined
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-28 22:33:18 -04:00
Jakub Sokołowski 0bbfe24aec
make sure we don't pass origin/ with branch name to child jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-28 15:01:30 -04:00
Jakub Sokołowski 3a3a6f2aa5
add default value for BUILD_TYPE parameter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-28 12:55:15 -04:00
Eric Dvorsak 01b89cc8b1
[FIX 4031] update realm to fix vulnerability in dependencies
This commit updates the version of realm-js

Vulnerability has been fixed in realm-js after we notified them

Security vulnerability in hapijs / hoek 4.2.1 (package-lock.json)
https://nvd.nist.gov/vuln/detail/CVE-2018-3728

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-28 17:05:27 +02:00
Jakub Sokołowski 198596d5e6
fix access to CHANGE_ID
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 20:03:00 -04:00
Jakub Sokołowski 76e9501541
prepare Jenkinsfile.combined for PR builds
- add missing Lint step for mobile builds
- add missing upload steps for android
- prefix fastlane calls with bundle exec
- update slackSend to format for PR builds
- silence fastlane notifying slack, Jenkins already does

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 19:34:00 -04:00
Jakub Sokołowski 60b68758a8
add missing plist copy step for macos build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 17:22:18 -04:00
Jakub Sokołowski cf0a49b3b1
use shortCommit for e2e build filename
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 09:46:05 -04:00
Jakub Sokołowski de12317820
remove useless CHANGE_ID check in release build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 09:36:26 -04:00
Jakub Sokołowski 17cca3a7c4
add metadata, change filenames, switch DO space to status-im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-24 09:51:45 -04:00
Jakub Sokołowski 4171bf486e
fis case for build type when copying .env.nightly
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 15:20:47 -04:00
Jakub Sokołowski c5f81d2bc4
yet another fix for DIAWI_URL argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 14:28:16 -04:00
Jakub Sokołowski 9ceb02e123
fix passing parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 10:03:52 -04:00
Jakub Sokołowski aea94837e5
fix naming of android packages
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 09:13:55 -04:00
Jakub Sokołowski a7677b024d
fix paths for uploading artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 08:44:39 -04:00
Jakub Sokołowski 5fb33cc461
split groovy scripts more, use job parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 08:13:04 -04:00
Adam Babik f054830533
Set FLEET in env variable
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-22 10:21:58 +02:00
Jakub Sokołowski 7ecf1465b1
remove unnecessary call to build_no.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-21 16:56:32 -04:00
Jakub Sokołowski ae0a017b50
fix uploading to digitalocean 2018-08-21 12:38:32 -04:00
Jakub Sokołowski d38f74fdfd
create Jenkinsfile.combined and extract build teps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-21 10:27:12 -04:00
Volodymyr Kozieiev 449e5257d5
Custom fonts loading added to desktop app (#5470)
* Custom fonts loading added to desktop app

* Fixed fail in tests runnings

* font-weight property removed from couple styles in favor of font aliases
2018-08-21 16:18:16 +03:00
gnl b0a514a427
[#5467] Make app searchable with Spotlight
Download app skeleton from Status repo and add Info.plist overlay with
required metata to enable correct Spotlight indexing.

Signed-off-by: gnl <gnl@lipov.net>
2018-08-21 12:31:05 +03:00
Igor Mandrigin e037b3345a
Fix keychain password for PR Jenkinsfiles
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-17 09:39:38 +02:00
Anton Danchenko 169390d2c8
renamed apk for e2e tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-16 18:38:59 +03:00
Igor Mandrigin 24db421fea
Don't lock Jenkins nodes for too long if possible (#desktop).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-16 15:46:17 +02:00
Igor Mandrigin e8ab892e95
Fix Slack messages for builds.
1) Fill in apkUrl where needed so it is not empty;
2) Remove unused variables.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-16 14:50:38 +02:00
Max Risuhin 915a8e7522
Publish GitHub PR page comment on desktop build status change 2018-08-16 01:54:17 +03:00
Igor Mandrigin 31924f19ef
Workaround to support parallel iOS builds on the same Jenkins runner.
Realm download script didn't support it, so the simplest solution is
just to patch it and replace before iOS builds.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-15 16:50:01 +02:00
Igor Mandrigin 6e80321f6c
Fix diawi upload for nightlies.
BRANCH_NAME isn't set for nightly builds, fix fastlane script accordingly.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-15 14:40:33 +02:00
Igor Mandrigin 434046fe9d
Upload apk to Sauce Labs using fastlane.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 22:55:03 +02:00
Igor Mandrigin c99fd733e6
Use fastlane for diawi, Slack & GitHub comments
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 18:05:32 +02:00
Igor Mandrigin 329c360a40
Less magic for fastlane parameters.
1. Don't require all the nodes to be provisioned manually to upload to Google play.

2. Don't require all the nodes to be provisioned manually to send to Slack channel.

Pass it as a credential from Jenkins instead.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 16:14:07 +02:00
Igor Mandrigin 8f13d97b43
Use fastlane for iOS builds.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 10:43:53 +02:00
Roman Volosovskyi 27f0e53bc1
[#5465] disable realm's mixpanel analytics 2018-08-14 11:07:39 +03:00
Jakub Sokołowski a904730f19
add unlocking macos keychain before xcodebuild steps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-13 09:05:54 -04:00
Jakub Sokołowski d292184aa8
limit number of mobile builds saved by Jenkins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-13 08:33:33 -04:00
Jakub Sokołowski e8c43e2a2c
use password for the right host, run before xcodebuild
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-09 14:41:09 +02:00
Jakub Sokołowski c70e7a48b2
fix which job is run to update nightly URLs
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-09 13:41:55 +03:00
Jakub Sokołowski e6b4553ce1
fix git tag push credentials, needs to use token instead of pass
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-09 10:59:45 +03:00
Jakub Sokołowski 981eb135aa
fix variable name for AppImage url 2018-08-08 14:47:30 -04:00
Jakub Sokołowski 56d3ae8558
cleanup jenkinsfile and prepare for builds on new linux slaves 2018-08-08 14:11:55 -04:00
Jakub Sokołowski 216d6dfb8a
fix removal of StatusAppFiles 2018-08-07 14:27:19 -04:00
Jakub Sokołowski 3ab00ef6b7
fix typo in ci/Jenkinsfile.desktopbuild 2018-08-07 10:54:37 -04:00
Jakub Sokołowski bf53fa0c19
fix one more path for ios/archive-develop.plist 2018-08-07 08:31:54 -04:00
Jakub Sokołowski 4d1900516f
move archive.plist settings to the repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-07 08:08:13 -04:00
Jakub Sokołowski 7144339b16
move all jenkinsfiles to ci folder for a cleaner repo 2018-08-06 11:25:43 -04:00