97 lines
3.2 KiB
YAML
97 lines
3.2 KiB
YAML
name: Hard release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
environment:
|
|
description: Choose build environment
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- QA
|
|
- Prod
|
|
runnerType:
|
|
description: Choose runner type
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- macos
|
|
- default
|
|
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_tele:
|
|
description: Tele app version code (example, 292)
|
|
required: true
|
|
type: string
|
|
default: '292'
|
|
version_name_tele:
|
|
description: Tele app version name (example, 3.2.1)
|
|
required: true
|
|
type: string
|
|
default: '3.2.1'
|
|
version_code_field:
|
|
description: Field app version code (example, 292)
|
|
required: true
|
|
type: string
|
|
default: '292'
|
|
version_name_field:
|
|
description: Field app version name (example, 3.2.1)
|
|
required: true
|
|
type: string
|
|
default: '3.2.1'
|
|
|
|
jobs:
|
|
field-app:
|
|
uses: ./.github/workflows/newBuild.yml
|
|
with:
|
|
environment: ${{ github.event.inputs.environment }}
|
|
runnerType: ${{ github.event.inputs.runnerType }}
|
|
releaseType: ${{ github.event.inputs.releaseType }}
|
|
flavor: fieldAgents
|
|
type: ${{ github.event.inputs.type }}
|
|
version_code: ${{ github.event.inputs.version_code_field }}
|
|
version_name: ${{ github.event.inputs.version_name_field }}
|
|
secrets:
|
|
MY_REPO_PAT: ${{ secrets.MY_REPO_PAT }}
|
|
CODEPUSH_QA_KEY: ${{ secrets.CODEPUSH_QA_KEY }}
|
|
CODEPUSH_PROD_KEY: ${{ secrets.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 }}
|
|
|
|
tele-app:
|
|
uses: ./.github/workflows/hardReleaseTele.yml
|
|
with:
|
|
environment: ${{ github.event.inputs.environment }}
|
|
releaseType: ${{ github.event.inputs.releaseType }}
|
|
runnerType: ${{ github.event.inputs.runnerType }}
|
|
flavor: callingAgents
|
|
type: ${{ github.event.inputs.type }}
|
|
version_code: ${{ github.event.inputs.version_code_tele }}
|
|
version_name: ${{ github.event.inputs.version_name_tele }}
|
|
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 }}
|