Skip to content

Commit 03df9c1

Browse files
committed
chore: mask
1 parent 43a76eb commit 03df9c1

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ jobs:
8888
- name: Claim environment and wait
8989
run: |
9090
echo ENV_ID="$(./selfservice claimAndWait isv_ci_tas_srt_4_0 | jq -r '.id')" >> "$GITHUB_ENV"
91-
echo "::add-mask::$ENV_ID"
9291
9392
- name: Set up Go
9493
uses: actions/setup-go@v3
@@ -117,13 +116,6 @@ jobs:
117116
echo API_CLIENT_PASSWORD="$(hammer -t ./env.json om credentials -- -p cf -t json -c .uaa.admin_client_credentials | jq -r '.password')" >> "$GITHUB_OUTPUT"
118117
echo ENV_ID=$ENV_ID >> "$GITHUB_OUTPUT"
119118
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"
127119
128120
129121
build:
@@ -164,7 +156,6 @@ jobs:
164156
path: splunk-firehose-nozzle
165157

166158
deploy_nozzle:
167-
168159
env:
169160
API_ENDPOINT: ${{ needs.create-env.outputs.API_ENDPOINT }}
170161
API_PASSWORD: ${{ needs.create-env.outputs.API_PASSWORD }}
@@ -184,12 +175,19 @@ jobs:
184175
- create-env
185176
runs-on: ubuntu-latest
186177
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"
187184
188185
- name: Checkout
189186
uses: actions/checkout@v3
190187
with:
191188
ref: ${{github.event.pull_request.head.sha}}
192189
repository: ${{github.event.pull_request.head.repo.full_name}}
190+
193191
- uses: actions/setup-go@v3
194192
with:
195193
go-version: '1.18.1'

0 commit comments

Comments
 (0)