Skip to content

Commit

Permalink
fix(cohort-deploy-logic): Updated kube-roll-all to not deploy cohort …
Browse files Browse the repository at this point in the history
…middleware twice and swapped order to fix dependency issues (#2333)

Co-authored-by: Edward Malinowski <edwardmalinowski@Eds-MacBook-Pro.attlocal.net>
  • Loading branch information
emalinowski and Edward Malinowski authored Aug 24, 2023
1 parent c45853f commit 6bbde2a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions gen3/bin/kube-roll-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ else
gen3_log_info "not deploying dicom-viewer - no manifest entry for '.versions[\"dicom-viewer\"]'"
fi

if g3k_manifest_lookup '.versions["ohdsi-atlas"]' && g3k_manifest_lookup '.versions["ohdsi-webapi"]' 2> /dev/null; then
gen3 kube-setup-ohdsi &
else
gen3_log_info "not deploying OHDSI tools - no manifest entry for '.versions[\"ohdsi-atlas\"]' and '.versions[\"ohdsi-webapi\"]'"
fi

if g3k_manifest_lookup '.versions["cohort-middleware"]' 2> /dev/null; then
gen3 kube-setup-cohort-middleware
else
Expand Down Expand Up @@ -340,18 +346,6 @@ else
gen3_log_info "not deploying argo-wrapper - no manifest entry for '.versions[\"argo-wrapper\"]'"
fi

if g3k_manifest_lookup '.versions["cohort-middleware"]' 2> /dev/null; then
gen3 roll cohort-middleware &
else
gen3_log_info "not deploying cohort-middleware - no manifest entry for '.versions[\"cohort-middleware\"]'"
fi

if g3k_manifest_lookup '.versions["ohdsi-atlas"]' && g3k_manifest_lookup '.versions["ohdsi-webapi"]' 2> /dev/null; then
gen3 kube-setup-ohdsi &
else
gen3_log_info "not deploying OHDSI tools - no manifest entry for '.versions[\"ohdsi-atlas\"]' and '.versions[\"ohdsi-webapi\"]'"
fi

gen3_log_info "enable network policy"
gen3 kube-setup-networkpolicy "enable" || true &

Expand Down

0 comments on commit 6bbde2a

Please sign in to comment.