Skip to content

Commit

Permalink
Allow partial deploy
Browse files Browse the repository at this point in the history
Signed-off-by: yzamir <[email protected]>
  • Loading branch information
yaacov committed Feb 11, 2024
1 parent cb3a295 commit dd86790
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ci/deploy-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ you may not be able to start a virtual machine or use some network interfaces.
--with-openstack-provider will install packstack simulator.
--no-kubevirt don't install kubebirt.
--no-console don't install OKD console.
--no-cluster-up don't install Kind cluster.
"
exit 0
fi
Expand All @@ -47,7 +48,9 @@ echo "Found: ${CONTAINER_CMD}"
# ---------------

# Create kind cluster
bash ${script_dir}/deploy-cluster.sh
if [[ $@ != *'--no-cluster-up'* ]]; then
bash ${script_dir}/deploy-cluster.sh
fi

# Install volume poplulator
bash ${script_dir}/deploy-volume-populator.sh
Expand Down
9 changes: 8 additions & 1 deletion ci/deploy-forklift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ echo "============================"

FORKLIFT_IMAGE=quay.io/kubev2v/forklift-operator-index:latest
FORKLIFT_NAMESPACE=konveyor-forklift
MIGRATION_NAMESPACE=konveyor-migration

cat << EOF | kubectl apply -f -
---
Expand Down Expand Up @@ -98,4 +99,10 @@ kubectl patch service -n ${FORKLIFT_NAMESPACE} forklift-inventory --type='merge'
-p '{"spec":{"type":"NodePort","ports":[{"name":"api-https","protocol":"TCP","targetPort":8443,"port":8443,"nodePort":30444}]}}'

# secondary namespace used in test data
kubectl create namespace konveyor-migration
cat << EOF | kubectl apply -f -
---
apiVersion: v1
kind: Namespace
metadata:
name: ${MIGRATION_NAMESPACE}
EOF

0 comments on commit dd86790

Please sign in to comment.