generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 40
37 lines (33 loc) · 1.06 KB
/
start_test_servers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Start apps in Test server
on:
workflow_dispatch:
# push:
# branches:
# - feature/9537-schedulemaintenance_DemoandTest
schedule:
- cron: "0 5 * * MON" #UTC-5
- cron: '0 11 * * 1-5'
jobs:
alert_stale_branches:
name: Start Test Subscription apps
runs-on: ubuntu-latest
steps:
- name: Check Out Changes
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
# Login to Azure
- uses: azure/login@a65d910e8af852a8061c627c456678983e180302
with:
creds: ${{ secrets.SERVICE_PRINCIPAL_CREDS }}
- name: Start postgres
uses: ./.github/actions/Start-PostgresDB
with:
name: "pdhtest-pgsql-flex"
resource-group: prime-data-hub-test
subscription: OCIO-DMZ-C1
- name: Start function app
uses: ./.github/actions/Start-AzFunction
with:
resourceGroupName: prime-data-hub-test
Subscription: "OCIO-DMZ-C1"
functionName: pdhtest-functionapp
functionAppName: pdhtest-functionapp