Commit Graph

72 Commits

Author SHA1 Message Date
Sale Djenic 1acbc76cc9 chore(@desktop/general): run translation script
All untranslated properties are translated now using translation scripts.
2021-07-19 12:27:45 -04:00
Jakub Sokołowski af2ec66e0c ci: implement MacOS notarization using xcrun altool
This introduces an automated MacOS notarization process for Jenkins CI.

The process involves:

* Uploading the signed DMG file to the notary service
* Checking periodically if the scanning process has completed
* Stapling the successful scan ticket to the DMG file

This is done by the `scripts/notarize-macos-pkg.sh` via the `make notarize-macos` target.
The whole process is described in more details in `docs/macos_notarization.md`.

Depends on: https://github.com/status-im/status-jenkins-lib/pull/27
Resolves: https://github.com/status-im/status-desktop/issues/2169

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-01 09:50:13 -04:00
Jakub Sokołowski 089ee7ee80 ci: scripts/sign-windows-bin.sh for signing Windows binaries
This introduces the `scripts/sign-windows-bin.sh` script which is used
by the `Makefile` to sign application libraries and executables. It also
implements the logic necessary to distinguish between different types of
builds: release and non-release builds.

Some other changes:

* Refactore the `Makefile` target that creates the Windows ZIP to make less verbose.
* Added `Microsoft.VisualStudio.Component.Windows10SDK.10240` to VisualStudio component
* Added `BUILD_TYPE` parameter to `Jenkinsfile`s for different platform builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-28 18:19:17 +02:00
Michael Bradley, Jr 7eda54a141 fix: don't run scripts/fetch-brew-bottle.sh in parallel
It's not supported to run `brew update` multiple times simultaenously. A better
fix for this can be implemented, but for now in the Makefile have target
`bottles/pcre` depend on target `bottles/openssl` so that they run serially
when `-jN` is passed to `make`.

I was originally going to change `brew update >/dev/null` to
`brew update >/dev/null || true` but decided the Makefile change provides a
better guarantee that simultaenous `brew` commands won't interfere with each
other. In the process, I revised some of the script's `echo` output just a bit.
2021-04-16 13:16:44 -05:00
Michael Bradley, Jr c5f74ac2c0 build: use GitHub credentials when downloading bottles for macOS
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-16 10:52:06 -05:00
Jonathan Rainville b277346490 chore: change translations to only translate complete languages 2021-02-18 15:23:58 -05:00
Jakub Sokołowski 9e98e7a14c ci: install qtwebengine with Qt on windows
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 15:05:49 -06:00
Jakub Sokołowski dc14bbe9ec refactor windows_build_setup.ps1 for easier re-usability
Now You can source the script with .(dot) and use individual functions.
This also makes it easier to use in `infra-ci` Ansible roles.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-06 20:05:31 +02:00
Jakub Sokołowski d882bde5aa add PowerShell script for build environment setup
This originally lived in the `infra-ci` repo but I think it makes more
sense to if to be in this repo, since here it can be changed by devs as
the project evolves.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-03 13:04:23 +02:00
Pascal Precht 7fe2d8696f fix(scripts): i18n script shouldn't break because of multi contexts 2020-09-14 14:39:27 -04:00
Jakub Sokołowski c1a5a286ee sign-macos-pkg.sh: don't restore Jenkins secret keychains
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-07 20:31:27 +02:00
Jakub Sokołowski 847ac9bc3c fix MacOS signing script to restore original keychain list
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-10 16:20:10 +02:00
Jonathan Rainville bdc625ea17 fix code review comments 2020-07-17 11:55:01 -04:00
Jonathan Rainville eb87259234 docs: update tldr for the translation scripts readme 2020-07-17 11:55:01 -04:00
Jonathan Rainville a8f1dd3eaa doc: update readme to show new commands 2020-07-17 11:55:01 -04:00
Jonathan Rainville ad8c1e455c chore: add translations for all languages 2020-07-17 11:55:01 -04:00
Jonathan Rainville 8860770356 feat: make the EN version just use the source translation 2020-07-17 11:55:01 -04:00
Jonathan Rainville 543123b5e7 feat: add basic xml translator 2020-07-17 11:55:01 -04:00
Jonathan Rainville 9c637fdd43 feat: show literal text instead of ids + script fixes 2020-07-08 12:37:41 -04:00
Jonathan Rainville 6967e0a537 feat: add readme on how to use the translation script 2020-07-08 12:37:41 -04:00
Jonathan Rainville ef6cbf9d70 feat: add translation script that transforms qstr to qstrid 2020-07-08 12:37:41 -04:00
Jakub Sokołowski 85a3557f1e add Jenkinsfiles and Dockerfile for CI
Changes:
- Adds `ci/Dockerfile` for creating `statusteam/nim-status-client-build:latest` used in builds
- Adds `ci/Jenkinsfile.linux` and `ci/Jenkinsfile.macos` for respective platforms
- Simplifies MacOS signing by adding `scripts/sign-macos-pkg.sh` script
- Makes `Makefile` use `scripts/sign-macos-pkg.sh` to make the DMG
- Makes `APPIMAGE` and `DMG` in `Makefile` modifiable by environment
- Adds `--passL:"-headerpad_max_install_names"` to `NIM_PARAMS` to fix MacOS signing issues

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-01 22:06:37 +02:00