aboutsummaryrefslogtreecommitdiffstats
path: root/pharoslaas/actions/workflows/clean-workflow.yaml
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2017-12-20 13:21:16 -0500
committerParker Berberian <pberberian@iol.unh.edu>2017-12-20 13:21:16 -0500
commit7c82beda82b39539b7125771835600aed9c5ae64 (patch)
tree958bae83abc73c1459a206009f26b4685e82e7b4 /pharoslaas/actions/workflows/clean-workflow.yaml
parent53a564fab5c147b7c8d84a74b6d935c787c85172 (diff)
Adds workflows to deploy and clean hosts
JIRA: PHAROS-322 JIRA: PHAROS-333 Adds the workflows that deploy a host on the start of a booking and cleans the host at the end of the booking automatically. Change-Id: Ice1477df5caf12386402528c4e59637bf0f46670 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'pharoslaas/actions/workflows/clean-workflow.yaml')
-rw-r--r--pharoslaas/actions/workflows/clean-workflow.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/pharoslaas/actions/workflows/clean-workflow.yaml b/pharoslaas/actions/workflows/clean-workflow.yaml
new file mode 100644
index 0000000..c0a13e7
--- /dev/null
+++ b/pharoslaas/actions/workflows/clean-workflow.yaml
@@ -0,0 +1,16 @@
+---
+chain:
+ -
+ name: "image"
+ ref: "pharoslaas.fog_imageWorkflow"
+ parameters:
+ host: "{{host}}"
+ on-success: "delete_vpn_user"
+
+ -
+ name: "delete_vpn_user"
+ ref: "pharoslaas.vpn_delete_user"
+ parameters:
+ key: "{{key}}"
+
+default: "image"