-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (49 loc) · 1.45 KB
/
action-test-macos.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Action Test Macos
on:
push:
branches: [qa]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
orchestration:
runs-on: macos-latest
outputs:
tasks: ${{ steps.run.outputs.tasks }}
steps:
- uses: stack-spot/runtime-manager-action@qa
id: run
with:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_KEY: ${{ secrets.CLIENT_KEY }}
CLIENT_REALM: ${{ secrets.CLIENT_REALM }}
WORKSPACE: Runtimes
ENVIRONMENT: production
VERSION_TAG: ${{ github.sha }}
TF_STATE_BUCKET_NAME: test
TF_STATE_REGION: test
IAC_BUCKET_NAME: test
IAC_REGION: test
VERBOSE: true
- name: Check Run Tasks Data
run: |
echo "Tasks: ${{ steps.run.outputs.tasks }}"
provision:
runs-on: macos-latest
needs: [orchestration]
strategy:
matrix:
task: ${{ fromJSON(needs.orchestration.outputs.tasks) }}
fail-fast: true
max-parallel: 1
steps:
- name: Worker IAC
if: contains( matrix.task.taskType , 'IAC')
run: echo ${{ matrix.task.runTaskId }}
- name: Worker DEPLOY
if: contains( matrix.task.taskType , 'DEPLOY')
run: echo ${{ matrix.task.runTaskId }}
- name: Worker DESTROY
if: contains( matrix.task.taskType , 'DESTROY')
run: echo ${{ matrix.task.runTaskId }}