Manual Start #44
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
name: Manual Start | |
on: | |
workflow_dispatch: | |
inputs: | |
PROJECT: | |
type: choice | |
description: "Business area" | |
options: | |
- SDS | |
- CFT | |
SELECTED_ENV: | |
type: choice | |
description: "Environment" | |
options: | |
- sbox | |
- test/perftest | |
- ithc | |
- demo | |
- ptlsbox | |
- preview/dev | |
- aat/staging | |
- ptl | |
AKS-INSTANCES: | |
type: choice | |
description: "Cluster" | |
options: | |
- All | |
- '00' | |
- '01' | |
env: | |
PROJECT: ${{ inputs.PROJECT }} | |
SELECTED_ENV: ${{ inputs.SELECTED_ENV }} | |
INSTANCES: ${{ inputs.AKS-INSTANCES }} | |
permissions: | |
id-token: write | |
jobs: | |
aks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: 'Az CLI login' | |
uses: azure/login@v1 | |
with: | |
client-id: 2b6fa9d7-7dba-4600-a58a-5e25554997aa # DTS AKS Auto-Shutdown | |
tenant-id: 531ff96d-0ae9-462a-8d2d-bec7c0b42082 # HMCTS.NET | |
allow-no-subscriptions: true | |
- name: AKS Manual Start in ${{ inputs.PROJECT }} ${{ inputs.SELECTED_ENV }} Environment | |
run: ./scripts/aks/manual-start-stop.sh start | |
appgateway: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: 'Az CLI login' | |
uses: azure/login@v1 | |
with: | |
client-id: 2b6fa9d7-7dba-4600-a58a-5e25554997aa # DTS AKS Auto-Shutdown | |
tenant-id: 531ff96d-0ae9-462a-8d2d-bec7c0b42082 # HMCTS.NET | |
allow-no-subscriptions: true | |
- name: Start appgateway Manually in ${{ inputs.PROJECT }} ${{ inputs.SELECTED_ENV }} Environment | |
run: ./scripts/appgateway/manual-start.sh | |
flexible-server: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: 'Az CLI login' | |
uses: azure/login@v1 | |
with: | |
client-id: 2b6fa9d7-7dba-4600-a58a-5e25554997aa # DTS AKS Auto-Shutdown | |
tenant-id: 531ff96d-0ae9-462a-8d2d-bec7c0b42082 # HMCTS.NET | |
allow-no-subscriptions: true | |
- name: Start flexible-server Manually in ${{ inputs.PROJECT }} ${{ inputs.SELECTED_ENV }} Environment | |
run: ./scripts/flexible-server/manual-start.sh | |