Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6a6c41dd3 | ||
|
|
4d1624dfdc | ||
|
|
6f50977464 | ||
|
|
edc01beae3 | ||
|
|
19b97f4122 | ||
|
|
21b21bb8ff | ||
|
|
070bdc47ba | ||
|
|
2d259db42d | ||
|
|
97bc388ad6 | ||
|
|
0a18f36623 | ||
|
|
9485fe9ecf | ||
|
|
4b487f81f6 | ||
|
|
cd24bc013f | ||
|
|
aa72ac5747 | ||
|
|
c650fa99d8 | ||
|
|
1b9e139255 | ||
|
|
a7b0764759 | ||
|
|
60cfca1107 | ||
|
|
c69b640810 | ||
|
|
b0cc30d606 | ||
|
|
bd7da02c25 | ||
|
|
ece2605cb9 | ||
|
|
407454859b | ||
|
|
12221ea067 | ||
|
|
2ae875f82a | ||
|
|
8e85d15a86 | ||
|
|
9e126a7399 | ||
|
|
a0254c0fa8 | ||
|
|
72a0df6332 | ||
|
|
08da76c22a | ||
|
|
66482863c1 | ||
|
|
a3f4673177 | ||
|
|
55915a9176 | ||
|
|
891d1e6360 | ||
|
|
1eb956d562 | ||
|
|
cf606b921a | ||
|
|
e6f552e785 | ||
|
|
7f007f204f | ||
|
|
a2497c81e7 | ||
|
|
5fd7e35d99 | ||
|
|
a71ad6e1a8 |
@@ -36,3 +36,4 @@ COMMUNITIES_MANAGEMENT_ENABLED=1
|
||||
METRICS_ENABLED=0
|
||||
DELETE_MESSAGE_ENABLED=1
|
||||
TWO_MINUTES_SYNCING=1
|
||||
ENABLE_QUO_PREVIEW=1
|
||||
|
||||
@@ -10,7 +10,7 @@ project-board:
|
||||
|
||||
automated-tests:
|
||||
repo-full-name: 'status-im/status-react'
|
||||
job-full-name: 'end-to-end-tests/status-app-prs'
|
||||
job-full-name: 'status-react/e2e/status-app-prs'
|
||||
kickoff-column-name: 'E2E Tests'
|
||||
|
||||
github-team:
|
||||
|
||||
@@ -168,4 +168,5 @@ project.clj
|
||||
|
||||
##appium
|
||||
test/appium/report/
|
||||
result.xml
|
||||
result.xml
|
||||
test/appium/tests/users.py
|
||||
@@ -1,4 +1,4 @@
|
||||
.PHONY: nix-add-gcroots clean nix-clean run-metro test release _list _fix-node-perms _tmpdir-mk _tmpdir-rm
|
||||
.PHONY: nix-add-gcroots clean nix-clean run-metro test release _list _fix-node-perms _tmpdir-mk _tmpdir-rm _install-hooks
|
||||
|
||||
help: SHELL := /bin/sh
|
||||
help: ##@other Show this help
|
||||
@@ -124,6 +124,11 @@ _tmpdir-rm: SHELL := /bin/sh
|
||||
_tmpdir-rm: ##@prepare Remove TMPDIR
|
||||
rm -fr "$(TMPDIR)"
|
||||
|
||||
_install-hooks: SHELL := /bin/sh
|
||||
_install-hooks: ##@prepare Create prepare-commit-msg git hook symlink
|
||||
@ln -s -f ../../scripts/hooks/prepare-commit-msg .git/hooks
|
||||
-include _install-hooks
|
||||
|
||||
# Remove directories and ignored files
|
||||
clean: SHELL := /bin/sh
|
||||
clean: _fix-node-perms _tmpdir-rm ##@prepare Remove all output folders
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
library 'status-jenkins-lib@v1.3.3'
|
||||
library 'status-jenkins-lib@v1.3.5'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux && x86_64 && nix-2.3' }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
library 'status-jenkins-lib@v1.3.3'
|
||||
library 'status-jenkins-lib@v1.3.5'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux' }
|
||||
@@ -101,7 +101,7 @@ pipeline {
|
||||
steps { script {
|
||||
e2eApk = utils.getEnv(apke2e, 'SAUCE_URL')
|
||||
build(
|
||||
job: 'end-to-end-tests/status-app-nightly',
|
||||
job: 'status-react/e2e/status-app-nightly',
|
||||
parameters: [string(name: 'APK_NAME', value: e2eApk)],
|
||||
wait: false
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
library 'status-jenkins-lib@v1.3.3'
|
||||
library 'status-jenkins-lib@v1.3.5'
|
||||
|
||||
pipeline {
|
||||
agent { label 'macos && x86_64 && nix-2.3 && xcode-12.5' }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
library 'status-jenkins-lib@v1.3.3'
|
||||
library 'status-jenkins-lib@v1.3.5'
|
||||
|
||||
pipeline {
|
||||
agent { label params.AGENT_LABEL }
|
||||
|
||||
@@ -48,8 +48,14 @@ pipeline {
|
||||
credentialsId: 'infura-e2e-token',
|
||||
variable: 'WEB3_INFURA_PROJECT_ID'
|
||||
),
|
||||
file(
|
||||
credentialsId: "mobile-tests-eth-accounts",
|
||||
variable: 'TEST_ETH_ACCOUNTS_FILE'
|
||||
),
|
||||
]) {
|
||||
dir('test/appium/tests') {
|
||||
/* Provide Eth test accounts secrets. */
|
||||
sh 'cp -f $TEST_ETH_ACCOUNTS_FILE users.py'
|
||||
sh """
|
||||
python3 -m pytest \
|
||||
--numprocesses 15 \
|
||||
|
||||
@@ -85,8 +85,14 @@ pipeline {
|
||||
credentialsId: 'infura-e2e-token',
|
||||
variable: 'WEB3_INFURA_PROJECT_ID'
|
||||
),
|
||||
file(
|
||||
credentialsId: "mobile-tests-eth-accounts",
|
||||
variable: 'TEST_ETH_ACCOUNTS_FILE'
|
||||
),
|
||||
]) {
|
||||
dir('test/appium/tests') {
|
||||
/* Provide Eth test account secrets. */
|
||||
sh 'cp -f $TEST_ETH_ACCOUNTS_FILE users.py'
|
||||
sh """
|
||||
python3 -m pytest \
|
||||
--numprocesses 15 \
|
||||
|
||||
@@ -62,8 +62,14 @@ pipeline {
|
||||
credentialsId: 'infura-e2e-token',
|
||||
variable: 'WEB3_INFURA_PROJECT_ID'
|
||||
),
|
||||
file(
|
||||
credentialsId: "mobile-tests-eth-accounts",
|
||||
variable: 'TEST_ETH_ACCOUNTS_FILE'
|
||||
),
|
||||
]) {
|
||||
dir('test/appium/tests') {
|
||||
/* Provide Eth test accounts secrets. */
|
||||
sh 'cp -f $TEST_ETH_ACCOUNTS_FILE users.py'
|
||||
sh """
|
||||
python3 -m pytest \
|
||||
-m "upgrade" \
|
||||
|
||||
@@ -10,13 +10,6 @@ make shell TARGET=android
|
||||
```
|
||||
This step will take a while the first time as it will download all dependencies.
|
||||
|
||||
To build the app, your can simply run on of the following:
|
||||
```
|
||||
make release-android
|
||||
make release-ios
|
||||
```
|
||||
For more `make` targets run `make help`.
|
||||
|
||||
# Development
|
||||
|
||||
There are three steps necessary to start development, in this case for Android:
|
||||
@@ -28,6 +21,18 @@ There are three steps necessary to start development, in this case for Android:
|
||||
The first two will continue watching for changes and keep re-building the app. They need to be ready first.
|
||||
The last one will exit once the app is up and ready.
|
||||
|
||||
You need to have your emulator or real devices running and visible to adb, before you run `make run-android`.
|
||||
|
||||
# Build release
|
||||
|
||||
To build the app, your can simply run on of the following:
|
||||
```
|
||||
make release-android
|
||||
make release-ios
|
||||
```
|
||||
|
||||
For more `make` targets run `make help`.
|
||||
|
||||
# Updating Dependencies
|
||||
|
||||
* `make nix-update-pods` - iOS CocoaPods dependencies (updates `ios/Podfile` and `ios/Podfile.loc`)
|
||||
|
||||
|
After Width: | Height: | Size: 451 KiB |
|
After Width: | Height: | Size: 424 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 602 KiB |
|
After Width: | Height: | Size: 556 KiB |
|
After Width: | Height: | Size: 520 KiB |
|
After Width: | Height: | Size: 837 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 536 KiB |
|
After Width: | Height: | Size: 424 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 653 KiB |
|
After Width: | Height: | Size: 622 KiB |
|
After Width: | Height: | Size: 593 KiB |
|
After Width: | Height: | Size: 920 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 534 KiB |
|
Before Width: | Height: | Size: 389 KiB |
|
After Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 450 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 878 KiB |
|
After Width: | Height: | Size: 657 KiB |
|
Before Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 928 KiB After Width: | Height: | Size: 614 KiB |
|
After Width: | Height: | Size: 609 KiB |
|
Before Width: | Height: | Size: 670 KiB |
|
After Width: | Height: | Size: 899 KiB |
|
Before Width: | Height: | Size: 583 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 552 KiB |
|
Before Width: | Height: | Size: 547 KiB After Width: | Height: | Size: 542 KiB |
|
Before Width: | Height: | Size: 466 KiB After Width: | Height: | Size: 423 KiB |
|
Before Width: | Height: | Size: 520 KiB After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 646 KiB |
|
After Width: | Height: | Size: 621 KiB |
|
After Width: | Height: | Size: 613 KiB |
|
After Width: | Height: | Size: 906 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 547 KiB After Width: | Height: | Size: 542 KiB |
|
Before Width: | Height: | Size: 466 KiB After Width: | Height: | Size: 423 KiB |
|
Before Width: | Height: | Size: 520 KiB After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 646 KiB |
|
After Width: | Height: | Size: 621 KiB |
|
After Width: | Height: | Size: 613 KiB |
|
After Width: | Height: | Size: 906 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 547 KiB After Width: | Height: | Size: 542 KiB |
|
Before Width: | Height: | Size: 466 KiB After Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 520 KiB After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 646 KiB |
|
After Width: | Height: | Size: 621 KiB |
|
After Width: | Height: | Size: 613 KiB |
|
After Width: | Height: | Size: 906 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 543 KiB |
|
After Width: | Height: | Size: 424 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 656 KiB |
|
After Width: | Height: | Size: 636 KiB |
|
After Width: | Height: | Size: 627 KiB |
|
After Width: | Height: | Size: 987 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 557 KiB |
|
After Width: | Height: | Size: 424 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 642 KiB |
|
After Width: | Height: | Size: 631 KiB |
|
After Width: | Height: | Size: 612 KiB |
|
After Width: | Height: | Size: 914 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 540 KiB After Width: | Height: | Size: 535 KiB |
|
Before Width: | Height: | Size: 478 KiB After Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 520 KiB After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 685 KiB |
|
After Width: | Height: | Size: 613 KiB |
|
After Width: | Height: | Size: 623 KiB |
|
After Width: | Height: | Size: 909 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 514 KiB After Width: | Height: | Size: 510 KiB |
|
Before Width: | Height: | Size: 470 KiB After Width: | Height: | Size: 422 KiB |
|
Before Width: | Height: | Size: 491 KiB After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 607 KiB |
|
After Width: | Height: | Size: 601 KiB |
|
After Width: | Height: | Size: 586 KiB |
|
After Width: | Height: | Size: 828 KiB |
|
After Width: | Height: | Size: 1.0 MiB |