forked from mosip/inji-wallet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into experimental/andro…
…id-intents
- Loading branch information
Showing
461 changed files
with
25,771 additions
and
11,209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
runName: | ||
description: 'Run name' | ||
description: 'Name the run for Actions & DeviceFarm' | ||
required: true | ||
default: 'Device-pool/Test-name/Env' | ||
default: 'Ex: Sanity/Regression[ENV]' | ||
type: string | ||
buildFor: | ||
description: 'Build' | ||
description: 'Trigger test case run for' | ||
required: true | ||
default: 'Both[Android and IOS]' | ||
type: choice | ||
|
@@ -19,7 +19,7 @@ on: | |
- Android | ||
- IOS | ||
testType: | ||
description: 'Sanity/Regression' | ||
description: 'Test type Sanity/Regression' | ||
required: true | ||
default: 'sanity' | ||
type: choice | ||
|
@@ -51,7 +51,7 @@ jobs: | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm- | ||
- name: Install npm dependencies | ||
run: | | ||
npm ci | ||
|
@@ -66,8 +66,8 @@ jobs: | |
- name: Create Android Build | ||
run: | | ||
npx jetify | ||
cd android | ||
./gradlew :app:assembleResidentappRelease | ||
cd android/scripts | ||
./android-build.sh | ||
env: | ||
MIMOTO_HOST: ${{ github.event.inputs.backendServiceUrl }} | ||
ESIGNET_HOST: ${{ github.event.inputs.backendServiceUrl }} | ||
|
@@ -76,35 +76,33 @@ jobs: | |
RELEASE_KEYSTORE_ALIAS: 'androidreleasekey' | ||
RELEASE_KEYSTORE_PASSWORD: "${{ secrets.INJI_ANDROID_RELEASE_STOREPASS }}" | ||
|
||
- name: Configure AWS CLI | ||
- name: Configure AWS CLI | ||
run: | | ||
aws configure set aws_access_key_id ${{ secrets.AWS_DEVICE_FARM_ACCESS_KEY }} | ||
aws configure set aws_secret_access_key ${{ secrets.AWS_DEVICE_FARM_SECRET_KEY }} | ||
aws configure set region us-west-2 | ||
- name: Android - Automation | ||
id: android-run | ||
run: | | ||
cd injitest/scripts/ui_automation | ||
RUN_ARN=$(./automation_trigger.sh "Android" "$RUN_NAME" "$TEST_TYPE") | ||
echo "The Run ARN is $RUN_ARN" | ||
./automation_trigger.sh "Android" "$RUN_NAME-Android" "$TEST_TYPE" | ||
env: | ||
RUN_NAME: ${{ github.event.inputs.runName }} | ||
TEST_TYPE: ${{ github.event.inputs.testType }} | ||
|
||
# - name: Artifacts download | ||
# id: artifact-download | ||
# run: | | ||
# cd injitest/scripts/ui_automation | ||
# ./download_artifacts.sh "${{ steps.android-run.outputs.run_arn }}" "Android" | ||
- name: Download Android Artifacts | ||
run: | | ||
cd injitest/scripts/ui_automation | ||
./download_artifacts.sh "$RUN_ARN" "Android" | ||
- name: Upload Artifact to Actions | ||
uses: actions/[email protected] | ||
with: | ||
name: Android-Artifacts | ||
path: injitest/scripts/ui_automation/artifacts/android_artifacts/ | ||
retention-days: 10 | ||
|
||
# - name: Upload Artifact to Actions | ||
# uses: actions/[email protected] | ||
# with: | ||
# name: Automation Artifacts | ||
# path: injitest/scripts/ui_automation/artifacts/ | ||
# retention-days: 5 | ||
|
||
# - name: Update slack channel | ||
# if: always() | ||
# uses: 8398a7/action-slack@v3 | ||
|
@@ -132,7 +130,7 @@ jobs: | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm- | ||
- name: Install npm dependencies | ||
run: | | ||
npm ci | ||
|
@@ -141,7 +139,7 @@ jobs: | |
run: | | ||
cd ios | ||
pod install && pod install | ||
fastlane ios_ui_automation_build | ||
fastlane ios_ui_automation_build | ||
env: | ||
MIMOTO_HOST: ${{ github.event.inputs.backendServiceUrl }} | ||
ESIGNET_HOST: ${{ github.event.inputs.backendServiceUrl }} | ||
|
@@ -151,8 +149,12 @@ jobs: | |
INJI_IOS_TEMP_KEYCHAIN_PASSWORD: '${{ secrets.INJI_IOS_TEMP_KEYCHAIN_PASSWORD }}' | ||
INJI_IOS_TEMP_KEYCHAIN_USER: '${{ secrets.INJI_IOS_TEMP_KEYCHAIN_USER }}' | ||
GIT_AUTHORIZATION: '${{ secrets.GIT_AUTHORIZATION }}' | ||
APPLE_KEY_ID: '${{ secrets.APPLE_KEY_ID }}' | ||
APPLE_ISSUER_ID: '${{ secrets.APPLE_ISSUER_ID }}' | ||
APPLE_KEY_CONTENT: '${{ secrets.APPLE_KEY_CONTENT }}' | ||
MATCH_PASSWORD: '${{ secrets.INJI_IOS_MATCH_PASSWORD }}' | ||
|
||
- name: Configure AWS CLI | ||
- name: Configure AWS CLI | ||
run: | | ||
aws configure set aws_access_key_id ${{ secrets.AWS_DEVICE_FARM_ACCESS_KEY }} | ||
aws configure set aws_secret_access_key ${{ secrets.AWS_DEVICE_FARM_SECRET_KEY }} | ||
|
@@ -161,30 +163,28 @@ jobs: | |
- name: IOS - Automation | ||
run: | | ||
cd injitest/scripts/ui_automation | ||
RUN_ARN=$(./automation_trigger.sh "IOS" "$RUN_NAME" "$TEST_TYPE") | ||
echo "The Run ARN is $RUN_ARN" | ||
./automation_trigger.sh "IOS" "$RUN_NAME-IOS" "$TEST_TYPE" | ||
env: | ||
RUN_NAME: ${{ github.event.inputs.runName }} | ||
TEST_TYPE: ${{ github.event.inputs.testType }} | ||
|
||
# - name: Artifacts download | ||
# id: artifact-download | ||
# run: | | ||
# cd injitest/scripts/ui_automation | ||
# ./download_artifacts.sh "${{ steps.android-run.outputs.run_arn }}" "Android" | ||
|
||
# - name: Upload Artifact to Actions | ||
# uses: actions/[email protected] | ||
# with: | ||
# name: Automation Artifacts | ||
# path: injitest/scripts/ui_automation/artifacts/ | ||
# retention-days: 5 | ||
|
||
|
||
- name: Download IOS Artifacts | ||
run: | | ||
cd injitest/scripts/ui_automation | ||
./download_artifacts.sh "$RUN_ARN" "IOS" | ||
- name: Upload Artifact to Actions | ||
uses: actions/[email protected] | ||
with: | ||
name: IOS-Artifacts | ||
path: injitest/scripts/ui_automation/artifacts/ios_artifacts/ | ||
retention-days: 10 | ||
|
||
# - name: Update slack channel | ||
# if: always() | ||
# uses: 8398a7/action-slack@v3 | ||
# with: | ||
# status: ${{ job.status }} | ||
# fields: repo,message,author,commit,workflow,job | ||
# env: | ||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} | ||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"replaceAttrValues": { | ||
"@fill": "{props.color1}", | ||
"@fill2": "{props.color2}", | ||
"@stroke": "{props.color3}" | ||
} | ||
} |
Oops, something went wrong.