blob: a0c7e00d0b0e107cfb6b5cf7432575c619827bad [file] [log] [blame]
---
# Job to re-deploy a particular node on a given maas server
# Job requires maas server api-key and node id
- project:
name: deploy-node
project-name: '{name}'
jobs:
- 'deploy-node-maas'
- job-template:
id: deploy-node-maas
name: 'deploy-node-maas'
description: |
Created by {id} job-template from ci-management/jjb/redeploy-node-maas.yaml
properties:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
wrappers:
- lf-infra-wrappers:
build-timeout: '{build-timeout}'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
parameters:
- string:
name: executorNode
default: 'qa-testvm-pod'
description: 'Name of the Jenkins node to run the job on. This node must have access to the maas server'
- string:
name: maas_ip
default: ''
description: 'IP of MAAS Server'
- string:
name: maas_api_key
default: ''
description: 'MAAS API Key'
- string:
name: node_id
default: 'rrwkmn'
description: 'Node Id of node to release acquire and deploy'
- string:
name: notificationEmail
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: 'List of email recipients'
project-type: pipeline
concurrent: false
dsl: !include-raw-escape: pipeline/redeploy-node-maas.groovy