Move deployment scripts from test-site to function
Change-Id: I35a83a4e3fbc60c0f25b3969d624bbc370f0a41b
This commit is contained in:
parent
ea534c379f
commit
892bb6a16d
2
manifests/function/phase-helpers/kustomization.yaml
Normal file
2
manifests/function/phase-helpers/kustomization.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- wait_node
|
@ -3,4 +3,4 @@ configMapGenerator:
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
files:
|
||||
- script=kubectl_get_node.sh
|
||||
- script=kubectl_wait_node.sh
|
@ -5,6 +5,8 @@ resources:
|
||||
- cluster-map.yaml
|
||||
- ../function/clusterctl
|
||||
- ../function/airshipctl-base-catalogues
|
||||
# Scripts for generic containers
|
||||
- ../function/phase-helpers
|
||||
patchesStrategicMerge:
|
||||
- clusterctl_init_options.yaml
|
||||
transformers:
|
||||
|
@ -282,7 +282,7 @@ config:
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: Phase
|
||||
metadata:
|
||||
name: kubectl-get-node-ephemeral
|
||||
name: kubectl-wait-node-ephemeral
|
||||
clusterName: ephemeral-cluster
|
||||
config:
|
||||
executorRef:
|
||||
|
@ -2,6 +2,5 @@ resources:
|
||||
- ../kubeconfig
|
||||
- ../../../phases
|
||||
- catalogue.yaml
|
||||
- helpers
|
||||
transformers:
|
||||
- ../../../function/bootstrap/replacements
|
||||
|
@ -23,7 +23,7 @@ echo "Deploy ephemeral node using redfish with iso"
|
||||
airshipctl phase run remotedirect-ephemeral --debug
|
||||
|
||||
echo "Wait for apiserver to become available"
|
||||
airshipctl phase run kubectl-get-node-ephemeral
|
||||
airshipctl phase run kubectl-wait-node-ephemeral
|
||||
|
||||
echo "List all pods"
|
||||
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT get pods --all-namespaces
|
||||
|
Loading…
Reference in New Issue
Block a user