Adding hostconfig-operator to the existing zuul gate on treasuremap:v2 branch.

This patchset depends on
https://review.opendev.org/#/c/745176/
where the changes for hostconfig-operator is done.

Change-Id: Ife617020ee3c8833935d0afe03261db9868055be
This commit is contained in:
vrushalisonwani1 2020-08-26 06:35:48 +00:00 committed by SirishaGopigiri
parent 511a4b0850
commit f6734365a0
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,7 @@
resources:
- ../../../../type/airship-core/target/initinfra
- ../../shared/catalogues
- ../../../../function/hostconfig-operator
patchesStrategicMerge:
- patch_bmo_config.yaml
transformers:

View File

@ -14,7 +14,17 @@
set -ex
export KUBECONFIG=${KUBECONFIG:-"$HOME/.airship/kubeconfig"}
NODENAME="node01"
export KUBECONFIG_TARGET_CONTEXT=${KUBECONFIG_TARGET_CONTEXT:-"target-cluster"}
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
cd ${AIRSHIPCTL_PROJECT}
kubectl \
--kubeconfig $KUBECONFIG \
--context $KUBECONFIG_TARGET_CONTEXT \
--request-timeout 10s \
label node $NODENAME node-type=controlplane
./tools/deployment/31_deploy_initinfra_target_node.sh