slurm in AUTO_GENERATED by @xpillons #270
Workflow file for this run
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
# | |
# Copyright (c) Microsoft Corporation | |
# Licensed under the MIT License. | |
# | |
name : main | |
run-name: ${{ github.event.inputs.scheduler }} in ${{ 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 }} | |
anf_dual: | |
description: 'Use ANF Dual Protocol' | |
required: false | |
default: 'false' # use it with ${{ github.event.inputs.anf_dual }} | |
scheduler: | |
description: 'Job Scheduler to be installed : openpbs/slurm' | |
required: false | |
default: 'openpbs' # use it with ${{ github.event.inputs.scheduler }} | |
images: | |
description: 'Images to be used (marketplace/shared) or built (private): marketplace/shared/private' | |
required: false | |
default: 'marketplace' # use it with ${{ github.event.inputs.images }} | |
lustre: | |
description: 'Deploy a Lustre cluster (true/false) - Default to true' | |
required: false | |
default: 'false' # use it with ${{ github.event.inputs.lustre }} | |
deploy_only: | |
description: 'Deploy only - Default to false' | |
required: false | |
default: 'false' # use it with ${{ github.event.inputs.deploy_only }} | |
use_bicep: | |
description: 'Deploy using Bicep - Default to false' | |
required: false | |
default: 'false' # use it with ${{ github.event.inputs.use_bicep }} | |
home_type: | |
description: 'Home directory type anf/azurefiles- Default to anf' | |
required: false | |
default: 'anf' # use it with ${{ github.event.inputs.home_type }} | |
type: string | |
jobs: | |
deploy: | |
uses: azure/az-hop/.github/workflows/main_callable.yml@main | |
with: | |
resource_group: ${{ github.event.inputs.resource_group }} | |
location: ${{ github.event.inputs.location }} | |
clean: ${{ github.event.inputs.clean }} | |
anf_dual: ${{ github.event.inputs.anf_dual }} | |
scheduler: ${{ github.event.inputs.scheduler }} | |
images: ${{ github.event.inputs.images }} | |
lustre: ${{ github.event.inputs.lustre }} | |
deploy_only: ${{ github.event.inputs.deploy_only }} | |
use_bicep: ${{ github.event.inputs.use_bicep }} | |
home_type: ${{ github.event.inputs.home_type }} | |
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 }} |