Skip to content

Commit

Permalink
Bad order
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Jan 16, 2025
1 parent 913523b commit 0796083
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ spec:
- "-c"
- |
#!/bin/bash
ENVIRONMENT=$(kubectl -n default get configmap global -o jsonpath="{.data.environment}")
if [ "$ENVIRONMENT" = "vhdcprod" ]; then
ENVIRONMENT_TYPE_CODE="production"
elif [ "$ENVIRONMENT" = "va-testing" ]; then
Expand All @@ -49,8 +51,6 @@ spec:
NODECLASS_TEMPLATE="/manifests/nodeclass.yaml"
fi
ENVIRONMENT=$(kubectl -n default get configmap global -o jsonpath="{.data.environment}")
WORKFLOWS=$(kubectl get workflows -n argo -o=jsonpath='{range .items[*]}{.metadata.name}{" "}{.metadata.labels.gen3username}{" "}{.metadata.labels.gen3teamproject}{"\n"}')
WORKFLOW_ARRAY=()
Expand Down

0 comments on commit 0796083

Please sign in to comment.