NTP-55167 | Map View (#1140)
Co-authored-by: Pulkit Barwal <pulkit.barwal@navi.com> Co-authored-by: Aishwarya Srivastava <aishwarya.srivastava@navi.com>
This commit is contained in:
2
.github/workflows/hardReleaseParent.yml
vendored
2
.github/workflows/hardReleaseParent.yml
vendored
@@ -67,6 +67,8 @@ jobs:
|
||||
MY_REPO_PAT: ${{ secrets.MY_REPO_PAT }}
|
||||
CODEPUSH_QA_KEY: ${{ secrets.CODEPUSH_QA_KEY }}
|
||||
CODEPUSH_PROD_KEY: ${{ secrets.CODEPUSH_PROD_KEY }}
|
||||
MAP_QA_KEY: ${{ secrets.MAP_QA_KEY }}
|
||||
MAP_PROD_KEY: ${{ secrets.MAP_PROD_KEY }}
|
||||
PASSPHARASE: ${{ secrets.PASSPHARASE }}
|
||||
KEY_STORE: ${{ secrets.KEY_STORE }}
|
||||
LONGHORN_QA_BASE_URL: ${{ secrets.LONGHORN_QA_BASE_URL }}
|
||||
|
||||
4
.github/workflows/hardReleaseTele.yml
vendored
4
.github/workflows/hardReleaseTele.yml
vendored
@@ -72,10 +72,10 @@ jobs:
|
||||
- name: Generate keystore
|
||||
if: inputs.type == 'release'
|
||||
run: echo "${{ secrets.KEY_STORE }}" > keystore.asc && gpg -d --passphrase "${{ secrets.PASSPHARASE }}" --batch keystore.asc > android/app/my-upload-key.keystore
|
||||
- name: Set Node.js 16.x
|
||||
- name: Set Node.js 18.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 18.x
|
||||
- name: Install yarn
|
||||
run: npm install --global yarn
|
||||
- name: Install dependency
|
||||
|
||||
26
.github/workflows/newBuild.yml
vendored
26
.github/workflows/newBuild.yml
vendored
@@ -9,6 +9,10 @@ on:
|
||||
required: true
|
||||
CODEPUSH_PROD_KEY:
|
||||
required: true
|
||||
MAP_QA_KEY:
|
||||
required: true
|
||||
MAP_PROD_KEY:
|
||||
required: true
|
||||
PASSPHARASE:
|
||||
required: true
|
||||
KEY_STORE:
|
||||
@@ -67,6 +71,15 @@ jobs:
|
||||
sed -i "s/pastekeyhere/${{ secrets.CODEPUSH_QA_KEY }}/" android/app/src/main/res/values/strings.xml
|
||||
fi
|
||||
cat android/app/src/main/res/values/strings.xml
|
||||
- name: Update Map key for QA
|
||||
if: inputs.environment == 'QA'
|
||||
run: |
|
||||
if [[ "${{inputs.runnerType}}" == "macos" ]]; then
|
||||
sed -i "" "s/pastegooglemapkeyhere/${{ secrets.MAP_QA_KEY }}/" android/app/src/main/AndroidManifest.xml
|
||||
else
|
||||
sed -i "s/pastegooglemapkeyhere/${{ secrets.MAP_QA_KEY }}/" android/app/src/main/AndroidManifest.xml
|
||||
fi
|
||||
cat android/app/src/main/AndroidManifest.xml
|
||||
- name: Update CodePush key for PROD
|
||||
if: inputs.environment == 'Prod'
|
||||
run: |
|
||||
@@ -76,13 +89,22 @@ jobs:
|
||||
sed -i "s/pastekeyhere/${{ secrets.CODEPUSH_PROD_KEY }}/" android/app/src/main/res/values/strings.xml
|
||||
fi
|
||||
cat android/app/src/main/res/values/strings.xml
|
||||
- name: Update Map key for PROD
|
||||
if: inputs.environment == 'Prod'
|
||||
run: |
|
||||
if [[ "${{inputs.runnerType}}" == "macos" ]]; then
|
||||
sed -i "" "s/pastegooglemapkeyhere/${{ secrets.MAP_PROD_KEY }}/" android/app/src/main/AndroidManifest.xml
|
||||
else
|
||||
sed -i "s/pastegooglemapkeyhere/${{ secrets.MAP_PROD_KEY }}/" android/app/src/main/AndroidManifest.xml
|
||||
fi
|
||||
cat android/app/src/main/AndroidManifest.xml
|
||||
- name: Generate keystore
|
||||
if: inputs.type == 'release'
|
||||
run: echo "${{ secrets.KEY_STORE }}" > keystore.asc && gpg -d --passphrase "${{ secrets.PASSPHARASE }}" --batch keystore.asc > android/app/my-upload-key.keystore
|
||||
- name: Set Node.js 16.x
|
||||
- name: Set Node.js 18.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 18.x
|
||||
- name: Install yarn
|
||||
run: npm install --global yarn
|
||||
- name: Install dependency
|
||||
|
||||
Reference in New Issue
Block a user