Skip to content

AUTO_GENERATED by @xpillons #174

AUTO_GENERATED by @xpillons

AUTO_GENERATED by @xpillons #174

Workflow file for this run

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: "['centos']" # 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 }}