Files
address-verification-app/.github/workflows/hardReleaseParent.yml
Aman Chaturvedi cb23ff9ac5 NTP-28802 | merge
2025-01-21 18:35:30 +05:30

88 lines
3.0 KiB
YAML

name: Trigger Child Workflows
on:
push:
branches:
- mergeTeleCosmos
inputs:
environment:
description: Choose build environment
required: true
type: choice
options:
- QA
- Prod
runnerType:
description: Choose runner type
required: true
type: choice
options:
- default
- macos
releaseType:
description: Choose release type
required: true
type: choice
options:
- TEST_BUILD
- SOFT_RELEASE
- HARD_RELEASE
type:
description: Choose build type
required: true
type: choice
options:
- release
version_code:
description: Enter app version code (example, 292)
required: true
type: string
default: '292'
version_name:
description: Enter app version name (example, 3.2.1)
required: true
type: string
default: '3.2.1'
jobs:
release-field-app:
uses: ./.github/workflows/newBuild.yml # Path to the reusable workflow
with:
environment: QA #${{ github.event.inputs.environment }}
runnerType: default #${{ github.event.inputs.runnerType }}
releaseType: TEST_BUILD #${{ github.event.inputs.releaseType }}
flavor: fieldAgents
type: release #${{ github.event.inputs.type }}
version_code: 100 #${{ github.event.inputs.version_code }}
version_name: 1.1.1 #${{ github.event.inputs.version_name }}
secrets:
MY_REPO_PAT: ${{ secrets.MY_REPO_PAT }}
CODEPUSH_QA_KEY: ${{ secrets.CODEPUSH_QA_KEY }}
CODEPUSH_PROD_KEY: ${{ secrets.TELE_CODEPUSH_PROD_KEY }}
PASSPHARASE: ${{ secrets.PASSPHARASE }}
KEY_STORE: ${{ secrets.KEY_STORE }}
LONGHORN_QA_BASE_URL: ${{ secrets.LONGHORN_QA_BASE_URL }}
LONGHORN_PROD_BASE_URL: ${{ secrets.LONGHORN_PROD_BASE_URL }}
LONGHORN_HEADER: ${{ secrets.LONGHORN_HEADER }}
CYBERTRON_BASE_URL: ${{ secrets.CYBERTRON_BASE_URL }}
CYBERTRON_PROJECT_ID: ${{ secrets.CYBERTRON_PROJECT_ID }}
release-tele-app:
uses: ./.github/workflows/hardReleaseTele.yml # Path to the reusable workflow
with:
environment: QA #${{ github.event.inputs.environment }}
releaseType: TEST_BUILD #${{ github.event.inputs.releaseType }}
flavor: callingAgents
type: release #${{ github.event.inputs.type }}
version_code: 300 #${{ github.event.inputs.version_code }}
version_name: 12.2.2 #${{ github.event.inputs.version_name }}
secrets:
MY_REPO_PAT: ${{ secrets.MY_REPO_PAT }}
CODEPUSH_QA_KEY: ${{ secrets.CODEPUSH_QA_KEY }}
TELE_CODE_PUSH_PROD_KEY: ${{ secrets.TELE_CODE_PUSH_PROD_KEY }}
PASSPHARASE: ${{ secrets.PASSPHARASE }}
KEY_STORE: ${{ secrets.KEY_STORE }}
LONGHORN_QA_BASE_URL: ${{ secrets.LONGHORN_QA_BASE_URL }}
LONGHORN_PROD_BASE_URL: ${{ secrets.LONGHORN_PROD_BASE_URL }}
LONGHORN_HEADER: ${{ secrets.LONGHORN_HEADER }}