Browse Source

Add workload-config-target phase

Change-Id: I41f1e8e36321d2ac13a7947a635c41f81eded0b0
changes/02/793602/9
Ian Howell 5 months ago
parent
commit
ab02dee4e0
  1. 12
      manifests/type/multi-tenant/phases/phases.yaml
  2. 0
      tools/deployment/multi-tenant/360_deploy_workload.sh
  3. 18
      tools/deployment/multi-tenant/361_deploy_workload_config.sh
  4. 3
      zuul.d/jobs.yaml

12
manifests/type/multi-tenant/phases/phases.yaml

@ -21,3 +21,15 @@ config:
kind: GenericContainer
name: calicoctl-delete
documentEntryPoint: target/workload/network-policy
---
apiVersion: airshipit.org/v1alpha1
kind: Phase
metadata:
name: workload-config-target
clusterName: target-cluster
config:
executorRef:
apiVersion: airshipit.org/v1alpha1
kind: KubernetesApply
name: kubernetes-apply
documentEntryPoint: target/workload-config

0
tools/deployment/multi-tenant/36_deploy_workload.sh → tools/deployment/multi-tenant/360_deploy_workload.sh

18
tools/deployment/multi-tenant/361_deploy_workload_config.sh

@ -0,0 +1,18 @@
#!/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 -xe
echo "Deploy workload-config"
airshipctl phase run workload-config-target --debug

3
zuul.d/jobs.yaml

@ -105,7 +105,8 @@
- ./tools/deployment/multi-tenant/32_cluster_init_target_node.sh
- ./tools/deployment/multi-tenant/33_cluster_move_target_node.sh
- ./tools/deployment/multi-tenant/35_deploy_worker_node.sh
- ./tools/deployment/multi-tenant/36_deploy_workload.sh
- ./tools/deployment/multi-tenant/360_deploy_workload.sh
- ./tools/deployment/multi-tenant/361_deploy_workload_config.sh
files:
- ^manifests/site/virtual-network-cloud/.*$
- ^manifests/type/multi-tenant/.*$

Loading…
Cancel
Save