mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-08 15:46:56 +00:00
fix test string format
This commit is contained in:
parent
8e836c6e8e
commit
ccc7cef6eb
2 changed files with 5 additions and 10 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
|
@ -180,22 +180,17 @@ jobs:
|
||||||
secrets: |
|
secrets: |
|
||||||
secret/data/subsequent-test secret | SUBSEQUENT_TEST_SECRET;
|
secret/data/subsequent-test secret | SUBSEQUENT_TEST_SECRET;
|
||||||
|
|
||||||
- name: Test Parsing Secrets (part 1/2)
|
- name: Test JSON Secrets
|
||||||
# this step sets up secres to be used in Test Parsing Secrets (part 2/2)
|
# this step sets up secres to be used in Test Parsing Secrets (part 2/2)
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: http://localhost:8200
|
url: http://localhost:8200
|
||||||
token: testtoken
|
token: testtoken
|
||||||
secrets: |
|
secrets: |
|
||||||
|
secret/data/test-json-data jsonData;
|
||||||
secret/data/test-json-string jsonString;
|
secret/data/test-json-string jsonString;
|
||||||
secret/data/test-json-string-multiline jsonStringMultiline;
|
secret/data/test-json-string-multiline jsonStringMultiline;
|
||||||
|
|
||||||
- name: Test Parsing Secrets (part 2/2)
|
|
||||||
# this step will call a JS script to test that we can successfully parse
|
|
||||||
# JSON string data into JS objects
|
|
||||||
run: |
|
|
||||||
node ./scripts/parse.js
|
|
||||||
|
|
||||||
- name: Verify Vault Action Outputs
|
- name: Verify Vault Action Outputs
|
||||||
run: npm run test:integration:e2e
|
run: npm run test:integration:e2e
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue