UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 3289ea9f authored by Ismail Ahmad's avatar Ismail Ahmad
Browse files

adds echo statements

parent 32ebc4c4
No related branches found
No related tags found
2 merge requests!60BB-694 Test and Script Abstraction,!57BB-694 Tests and Script Abstraction
Pipeline #90793 passed
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
set -e set -e
# Deploy flux and wait for it to be ready # Deploy flux and wait for it to be ready
echo "Installing Flux"
flux --version flux --version
flux install flux install
kubectl get namespaces,pods,gitrepositories,helmrelease -A
# Deploy BigBang # Deploy BigBang
echo "Installing BigBang"
helm upgrade -i bigbang chart -n bigbang --create-namespace --set registryCredentials.username='robot$bigbang' --set registryCredentials.password=${REGISTRY1_PASSWORD} --set addons.argocd.enabled=true --set addons.authservice.enabled=true helm upgrade -i bigbang chart -n bigbang --create-namespace --set registryCredentials.username='robot$bigbang' --set registryCredentials.password=${REGISTRY1_PASSWORD} --set addons.argocd.enabled=true --set addons.authservice.enabled=true
# Apply secrets kustomization pointing to current branch # Apply secrets kustomization pointing to current branch
......
...@@ -4,7 +4,10 @@ set -e ...@@ -4,7 +4,10 @@ set -e
# Wait for components to be ready # Wait for components to be ready
for package in $(kubectl get --no-headers helmrelease -n bigbang | awk '{print $1}'); for package in $(kubectl get --no-headers helmrelease -n bigbang | awk '{print $1}');
do kubectl wait --for=condition=Ready --timeout 500s helmrelease -n bigbang $package; do
echo "Waiting on package $package"
kubectl wait --for=condition=Ready --timeout 500s helmrelease -n bigbang $package;
done done
echo "Waiting on Secrets Kustomization"
kubectl wait --for=condition=Ready --timeout 30s kustomizations.kustomize.toolkit.fluxcd.io -n bigbang secrets kubectl wait --for=condition=Ready --timeout 30s kustomizations.kustomize.toolkit.fluxcd.io -n bigbang secrets
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment