diff --git a/tools/deployment/33_deploy_workload.sh b/tools/deployment/33_deploy_workload.sh new file mode 100755 index 000000000..c22d7d0e6 --- /dev/null +++ b/tools/deployment/33_deploy_workload.sh @@ -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 diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 96a20ef0d..07d749f27 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -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