Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/start-additional-kas/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
name: Start another KAS server in background
with:
run: >
<opentdf.yaml >opentdf-${{ inputs.kas-name }}.yaml yq e '
<opentdf-dev.yaml >opentdf-${{ inputs.kas-name }}.yaml yq e '
(.server.port = ${{ inputs.kas-port }})
| (.mode = ["kas"])
| (.sdk_config = {"endpoint":"http://localhost:8080","plaintext":true,"client_id":"opentdf","client_secret":"secret"})
Expand Down
17 changes: 14 additions & 3 deletions test/start-up-with-containers/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ inputs:
description: 'The ref to check out for the platform'
default: 'main'

outputs:
platform-working-dir:
description: 'The working directory for the running platform instance'
value: 'otdf-test-platform'

runs:
using: 'composite'
steps:
Expand All @@ -30,9 +35,15 @@ runs:
otdf-test-platform/sdk/go.sum
- name: Provide the platform with keys
shell: bash
run: |
.github/scripts/init-temp-keys.sh
cp opentdf-dev.yaml opentdf.yaml
run: .github/scripts/init-temp-keys.sh
working-directory: otdf-test-platform
- name: Map the config to the keys
shell: bash
run: >-
<opentdf-dev.yaml >opentdf.yaml yq e '
(.services.kas.keyring = [{"kid":"ec1","alg":"ec:secp256r1"},{"kid":"r1","alg":"rsa:2048"}])
| (.server.cryptoProvider.standard.keys = [{"kid":"ec1","alg":"ec:secp256r1","private":"kas-ec-private.pem","cert":"kas-ec-cert.pem"},{"kid":"r1","alg":"rsa:2048","private":"kas-private.pem","cert":"kas-cert.pem"}])
'
working-directory: otdf-test-platform
- name: Trust the generated certs
shell: bash
Expand Down