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