Commit Graph

5 Commits

Author SHA1 Message Date
Dustin Specker c234b72abd tools: generalize execute_shipyard_action
This enables passing any combination of actions and parameters to this
script.  This also makes it easier to add scripts for additional actions
by not having to modify execute_shipyard_action.

Updated redeploy_server to pass in servers as a param.

Change-Id: I590183c28e8c66997ab85470902dbe9576c5c5f6
2019-02-28 15:16:06 -06:00
Dustin Specker 2d10945dd8 tools: fix execute typo
Change-Id: I41e45b236472d34eba2c434755373f7a6b706100
2019-02-25 19:16:21 +00:00
Bryan Strassner f3749ca3f9 Add redeploy_server processing
Adds the functionality to redeploy a server in an unguarded fashion,
meaning that the server will not be pre-validated to be in a state that
workloads have been removed.

This is the first targeted action for Shipyard, so a refactoring of the
validators to support more flexibility has been done.

Also adds RBAC controls for specific actions being created, rather than
a binary create action privilege.

Change-Id: I39e3dab6595c5187affb9f2b6edadd0f5f925b0c
2018-08-21 09:42:40 -05:00
Anthony Lin 47e49b3b3b Add update_site script
We will make use of common functions across the deploy_site,
update_site and redeploy_server script.

This will help to reduce common and repetitive codes across
the scripts.

Note that the Shipyard CLI needs to be installed before we
can use these scripts.

Change-Id: I31e5c8723346666a592951f59856008ccb64128b
2018-02-05 05:43:33 +00:00
Anthony Lin 8d0ebfaeb1 Add redeploy_server script
This script can be used to execute the redeploy server
workflow. Note that the Shipyard CLI should be installed
prior to running this script.

Change-Id: Ia5a799b822cbf84099f5373a65e8b0b4a56f5237
2018-02-02 08:08:29 +00:00