diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2017-12-20 13:21:16 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2017-12-20 13:21:16 -0500 |
commit | 786079a1057edd45cd5b929b75d7d2f968d6e4e6 (patch) | |
tree | ebd0b52a06e5031adc9cdd89eda12a36da9b27d1 /laas-fog/pharoslaas/actions/clean-workflow.yaml | |
parent | a09a9d14fc8247e39d1d7bf0df5c14703831212e (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 'laas-fog/pharoslaas/actions/clean-workflow.yaml')
-rw-r--r-- | laas-fog/pharoslaas/actions/clean-workflow.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/laas-fog/pharoslaas/actions/clean-workflow.yaml b/laas-fog/pharoslaas/actions/clean-workflow.yaml new file mode 100644 index 0000000..cc93afb --- /dev/null +++ b/laas-fog/pharoslaas/actions/clean-workflow.yaml @@ -0,0 +1,31 @@ +--- +############################################################################## +# Copyright 2017 Parker Berberian and Others # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +############################################################################## + +name: "clean-workflow" +runner_type: "action-chain" +description: "This workflow cleans a host after a deployment" +entry_point: "workflows/clean-workflow.yaml" +enabled: true +parameters: + host: + type: "string" + required: true + description: "hostname of host to be cleaned" + key: + type: "string" + required: false + description: "st2 key of vpn user to delete" |