-
Notifications
You must be signed in to change notification settings - Fork 53
76 lines (74 loc) · 3.13 KB
/
all_manual.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name : All Manual
run-name: ${{ github.event.inputs.resource_group }} by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
resource_group:
description: 'Name of the resource group to deploy in - In case of an existing resource group the environment will be updated'
required: false
default: 'AUTO_GENERATED'
location:
description: 'Azure location where to deploy to - default to westeurope'
required: false
default: 'westeurope'
clean:
description: 'Clean all resources'
required: false
default: 'true' # use it with ${{ github.event.inputs.clean }}
scheduler_list:
description: "Job Scheduler list to test ['slurm', 'openpbs'] - Default to ['slurm']"
required: false
default: "['slurm']"
home_type_list:
description: "Home directory type list to test ['azurefiles', 'anf'] - Default to ['azurefiles']"
required: false
default: "['azurefiles']"
user_auth_list:
description: "User Auth list to test ['local', 'ad'] - Default to ['local']"
required: false
default: "['ad']"
ui_tests:
description: 'Run UI tests - Default to false'
required: false
default: 'false' # use it with ${{ github.event.inputs.ui_tests }}
monitoring:
description: "Monitoring agent - ['ama', 'grafana', 'none'] - Default to ['grafana']"
required: false
default: "['grafana']" # use it with ${{ github.event.inputs.monitoring }}
infra_os:
description: "Infrastructure OS - ['centos', 'almalinux'] - Default to ['centos']"
required: false
default: "['almalinux']" # use it with ${{ github.event.inputs.infra_os }}
deploy_with:
description: "Deploy With - 'tf' or 'bicep' or 'arm'] - Default to 'bicep'"
required: false
default: "bicep" # use it with ${{ github.event.inputs.deploy_with }}
jobs:
deploy:
strategy:
fail-fast: false
max-parallel: 2
matrix:
scheduler: ${{ fromJson( github.event.inputs.scheduler_list ) }}
home_type: ${{ fromJson( github.event.inputs.home_type_list ) }}
user_auth: ${{ fromJson( github.event.inputs.user_auth_list ) }}
monitoring: ${{ fromJson( github.event.inputs.monitoring ) }}
infra_os: ${{ fromJson( github.event.inputs.infra_os ) }}
uses: ./.github/workflows/z_base_callable.yml
with:
resource_group: ${{ github.event.inputs.resource_group }}
location: ${{ github.event.inputs.location }}
scheduler: ${{ matrix.scheduler }}
lustre: 'false'
home_type: ${{ matrix.home_type }}
user_auth: ${{ matrix.user_auth }}
deploy_with: ${{ github.event.inputs.deploy_with }}
clean: ${{ github.event.inputs.clean }}
ui_tests: ${{ github.event.inputs.ui_tests }}
monitoring: ${{ matrix.monitoring }}
infra_os: ${{ matrix.infra_os }}
secrets:
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}