Add target/workload phase to CI jobs
This change adds a script to the deployment job in order to test deployment of the workload phase. Change-Id: I9e17290d53017483ddbe5fdab70af584a2822aed Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
parent
971417cf55
commit
4d6293ee6b
24
tools/deployment/33_deploy_workload.sh
Executable file
24
tools/deployment/33_deploy_workload.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# 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.
|
||||
|
||||
set -ex
|
||||
|
||||
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
|
||||
|
||||
cd ${AIRSHIPCTL_PROJECT}
|
||||
|
||||
echo "Deploy workload"
|
||||
airshipctl config use-context target-cluster-admin@target-cluster
|
||||
airshipctl config set-context target-cluster-admin@target-cluster --manifest dummy_manifest
|
||||
airshipctl phase apply workload
|
@ -71,6 +71,7 @@
|
||||
- ./tools/deployment/30_deploy_controlplane.sh
|
||||
- ./tools/deployment/31_deploy_initinfra_target_node.sh
|
||||
- ./tools/deployment/32_cluster_init_target_node.sh
|
||||
- ./tools/deployment/33_deploy_workload.sh
|
||||
serve_dir: /srv/iso
|
||||
serve_port: 8099
|
||||
voting: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user