azurehpc/examples/slurm_autoscale/pipeline.yml

48 строки
1.1 KiB
YAML

pr: none
schedules:
- cron: "0 0 * * Sun"
displayName: Every Sunday midnight build
branches:
include:
- master
always: true
trigger:
batch: true
branches:
include:
- '*'
paths:
include:
- examples/slurm_autoscale/*
- pyazhpc/*
- examples/slurm_autoscale/scripts/*
exclude:
- examples/slurm_autoscale/readme.md
pool: Default
variables:
- group: azhpc_build_common
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# configuration file to use
- name: azhpc.config
value: examples/slurm_autoscale/config.json
# pipeline directory
- name: azhpc.pipeline_dir
value: examples/slurm_autoscale
# destination of scripts. Default is hpcuser@headnode:/apps
#azhpc.script_remote_dest: 'hpcuser@headnode:.'
# Add the variables needed in your configuration file
# Set values below or thru pipeline variables
# - name: azhpc.variables.variable_name
# value: variable_value
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
jobs:
- template: ../../ci/templates/jobs/build.yml
# parameters:
# extra_steps: ../../../examples/slurm_autoscale/test.yml