88
88
- name : Claim environment and wait
89
89
run : |
90
90
echo ENV_ID="$(./selfservice claimAndWait isv_ci_tas_srt_4_0 | jq -r '.id')" >> "$GITHUB_ENV"
91
- echo "::add-mask::$ENV_ID"
92
91
93
92
- name : Set up Go
94
93
uses : actions/setup-go@v3
@@ -117,13 +116,6 @@ jobs:
117
116
echo API_CLIENT_PASSWORD="$(hammer -t ./env.json om credentials -- -p cf -t json -c .uaa.admin_client_credentials | jq -r '.password')" >> "$GITHUB_OUTPUT"
118
117
echo ENV_ID=$ENV_ID >> "$GITHUB_OUTPUT"
119
118
echo AUTH_TOKEN="$AUTH_TOKEN" >> "$GITHUB_OUTPUT"
120
-
121
- - name : Mask environments
122
- run : |
123
- echo "::add-mask::$API_ENDPOINT"
124
- echo "::add-mask::$API_UAA_ENDPOINT"
125
- echo "::add-mask::$API_PASSWORD"
126
- echo "::add-mask::$API_CLIENT_PASSWORD"
127
119
128
120
129
121
build :
@@ -164,7 +156,6 @@ jobs:
164
156
path : splunk-firehose-nozzle
165
157
166
158
deploy_nozzle :
167
-
168
159
env :
169
160
API_ENDPOINT : ${{ needs.create-env.outputs.API_ENDPOINT }}
170
161
API_PASSWORD : ${{ needs.create-env.outputs.API_PASSWORD }}
@@ -184,12 +175,19 @@ jobs:
184
175
- create-env
185
176
runs-on : ubuntu-latest
186
177
steps :
178
+ - name : Mask environments
179
+ run : |
180
+ echo "::add-mask::$API_ENDPOINT"
181
+ echo "::add-mask::$API_UAA_ENDPOINT"
182
+ echo "::add-mask::$API_PASSWORD"
183
+ echo "::add-mask::$API_CLIENT_PASSWORD"
187
184
188
185
- name : Checkout
189
186
uses : actions/checkout@v3
190
187
with :
191
188
ref : ${{github.event.pull_request.head.sha}}
192
189
repository : ${{github.event.pull_request.head.repo.full_name}}
190
+
193
191
- uses : actions/setup-go@v3
194
192
with :
195
193
go-version : ' 1.18.1'
0 commit comments