Skip to content

Commit daf33a6

Browse files
start additional kas with reusable workflow
1 parent b075194 commit daf33a6

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/checks.yaml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -225,21 +225,12 @@ jobs:
225225
fi
226226
working-directory: cmdline
227227

228-
- uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635
229-
name: start another KAS server in background
228+
- name: Start additional kas
229+
uses: opentdf/platform/test/start-additional-kas@main
230230
with:
231-
run: >
232-
<opentdf.yaml >opentdf-beta.yaml yq e '
233-
(.server.port = 8282)
234-
| (.mode = ["kas"])
235-
| (.sdk_config = {"endpoint":"http://localhost:8080","plaintext":true,"client_id":"opentdf","client_secret":"secret"})
236-
'
237-
&& go run ./service --config-file ./opentdf-beta.yaml start
238-
wait-on: |
239-
tcp:localhost:8282
240-
log-output-if: true
241-
wait-for: 90s
242-
working-directory: platform
231+
kas-port: 8282
232+
kas-name: beta
233+
243234
- name: Make sure that the second platform is up
244235
run: |
245236
grpcurl -plaintext localhost:8282 kas.AccessService/PublicKey

0 commit comments

Comments
 (0)