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:
|
options:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
files:
|
files:
|
||||||
- script=kubectl_get_node.sh
|
- script=kubectl_wait_node.sh
|
@ -5,6 +5,8 @@ resources:
|
|||||||
- cluster-map.yaml
|
- cluster-map.yaml
|
||||||
- ../function/clusterctl
|
- ../function/clusterctl
|
||||||
- ../function/airshipctl-base-catalogues
|
- ../function/airshipctl-base-catalogues
|
||||||
|
# Scripts for generic containers
|
||||||
|
- ../function/phase-helpers
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
- clusterctl_init_options.yaml
|
- clusterctl_init_options.yaml
|
||||||
transformers:
|
transformers:
|
||||||
|
@ -282,7 +282,7 @@ config:
|
|||||||
apiVersion: airshipit.org/v1alpha1
|
apiVersion: airshipit.org/v1alpha1
|
||||||
kind: Phase
|
kind: Phase
|
||||||
metadata:
|
metadata:
|
||||||
name: kubectl-get-node-ephemeral
|
name: kubectl-wait-node-ephemeral
|
||||||
clusterName: ephemeral-cluster
|
clusterName: ephemeral-cluster
|
||||||
config:
|
config:
|
||||||
executorRef:
|
executorRef:
|
||||||
|
@ -2,6 +2,5 @@ resources:
|
|||||||
- ../kubeconfig
|
- ../kubeconfig
|
||||||
- ../../../phases
|
- ../../../phases
|
||||||
- catalogue.yaml
|
- catalogue.yaml
|
||||||
- helpers
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../function/bootstrap/replacements
|
- ../../../function/bootstrap/replacements
|
||||||
|
@ -23,7 +23,7 @@ echo "Deploy ephemeral node using redfish with iso"
|
|||||||
airshipctl phase run remotedirect-ephemeral --debug
|
airshipctl phase run remotedirect-ephemeral --debug
|
||||||
|
|
||||||
echo "Wait for apiserver to become available"
|
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"
|
echo "List all pods"
|
||||||
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT get pods --all-namespaces
|
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT get pods --all-namespaces
|
||||||
|
Loading…
Reference in New Issue
Block a user