Commit Graph

458 Commits

Author SHA1 Message Date
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