UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 12dca621 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'micah.nagel-master-patch-54833' into 'master'

Update `wait_crd` to run on addons

Closes #900

See merge request platform-one/big-bang/bigbang!1039
parents 12ed3c51 ce06e2a3
No related branches found
No related tags found
2 merge requests!1386Master,!1039Update `wait_crd` to run on addons
Pipeline #543512 passed with warnings
......@@ -135,8 +135,8 @@ function wait_daemonset(){
# Check for and run the wait_project function within <repo>/tests/wait.sh to wait for custom resources
function wait_crd(){
yq e '. | keys | .[] | ... comments=""' "${VALUES_FILE}" | while IFS= read -r package; do
if [[ "$(yq e ".${package}.enabled" "${VALUES_FILE}")" == "true" ]]; then
yq e '(.,.addons) | .[] | ... comments="" | (path | join("."))' "${CI_VALUES_FILE}" | while IFS= read -r package; do
if [[ "$(yq e ".${package}.enabled" "${CI_VALUES_FILE}")" == "true" ]]; then
gitrepo=$(yq e ".${package}.git.repo" "${VALUES_FILE}")
version=$(yq e ".${package}.git.tag" "${VALUES_FILE}")
if [[ -z "$version" || "$version" == "null" ]]; then
......
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