File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,16 @@ PAYLOAD=${WORKING_DIR}/data.yaml
2
2
PROJECT=$( yq e .project-name ${PAYLOAD} )
3
3
4
4
ENVIRONMENT=moc
5
- CLUSTER=$( yq e .cluster[0] ${PAYLOAD} )
6
- NAMESPACE=$( yq e .project-name ${PAYLOAD} )
7
- REQUESTER=$( yq e .project-owner ${PAYLOAD} )
8
- DISPLAY_NAME=$( yq e .project-name ${PAYLOAD} )
9
- PROJECT_OWNER=$( yq e .project-owner ${PAYLOAD} )
5
+ CLUSTER=$( yq e ' .cluster[0] | downcase ' ${PAYLOAD} )
6
+ NAMESPACE=$( yq e ' .project-name | downcase ' ${PAYLOAD} )
7
+ REQUESTER=$( yq e ' .project-owner' ${PAYLOAD} )
8
+ DISPLAY_NAME=$( yq e ' .project-name' ${PAYLOAD} )
9
+ PROJECT_OWNER=$( yq e ' .project-owner' ${PAYLOAD} )
10
10
ONBOARDING_ISSUE=https://github.com/${ORG_NAME} /${SOURCE_REPO} /issues/${ISSUE_NUMBER}
11
- DOCS=$( yq e .project-docs-link ${PAYLOAD} )
12
- GROUP=$( yq e .team-name ${PAYLOAD} )
11
+ DOCS=$( yq e ' .project-docs-link' ${PAYLOAD} )
12
+ GROUP=$( yq e ' .team-name' ${PAYLOAD} )
13
13
USERS=$( yq ' .users | split(",") | map(trim)' -o json -I=0 ${PAYLOAD} )
14
14
15
-
16
15
echo ENVIRONMENT $ENVIRONMENT
17
16
echo CLUSTER $CLUSTER
18
17
echo NAMESPACE $NAMESPACE
You can’t perform that action at this time.
0 commit comments