UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 53fc8126 authored by Rob Mengert's avatar Rob Mengert
Browse files

Merge branch 'dev-pipeline-changes' into 'main'

feat: add package wait script [SKIP INTEGRATION]

See merge request platform-one/big-bang/apps/third-party/kubevirt!13
parents 100432bb 2d6d61b1
No related branches found
No related tags found
1 merge request!13feat: add package wait script [SKIP INTEGRATION]
Pipeline #835168 failed
......@@ -2,5 +2,8 @@
Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [0.1.3-alpha-bb.1] - unreleased
- Pipeline fixes
## [0.1.3-alpha-bb.0] - 2022-06-24
- Initial Chart creation
\ No newline at end of file
# kubevirt
![Version: 0.1.3-alpha-bb.0](https://img.shields.io/badge/Version-0.1.3--alpha--bb.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.53.0](https://img.shields.io/badge/AppVersion-0.53.0-informational?style=flat-square)
![Version: 0.1.3-alpha-bb.1](https://img.shields.io/badge/Version-0.1.3--alpha--bb.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.53.0](https://img.shields.io/badge/AppVersion-0.53.0-informational?style=flat-square)
KubeVirt Big Bang package
......
......@@ -2,5 +2,5 @@ apiVersion: v2
name: kubevirt
description: KubeVirt Big Bang package
type: application
version: 0.1.3-alpha-bb.0
version: 0.1.3-alpha-bb.1
appVersion: "0.53.0"
#!/bin/bash
custom_package_wait() {
timeElapsed=0
sleepTime=3
timeout=600
while [[ $timeElapsed -le $timeout ]]; do
podCount=$(kubectl get pods -n kubevirt | grep "1/1" -c)
#Note: podCount = 7 assumes .Values.deployment.spec.replicas = 2
if [[ "$podCount" -eq "7" ]]; then
break
fi
sleep $sleepTime
timeElapsed=$(($timeElapsed + $sleepTime))
done
}
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