5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-08 15:46:56 +00:00

fix lint and pass token to build

This commit is contained in:
JM Faircloth 2023-07-05 12:30:19 -05:00
parent 788264dddd
commit e5605de996
3 changed files with 9 additions and 3 deletions

View file

@ -16,4 +16,7 @@ jobs:
# in our e2e tests. # in our e2e tests.
# This error occurs because vault-action's outputs are dynamic but # This error occurs because vault-action's outputs are dynamic but
# actionlint expects action.yml to define them. # actionlint expects action.yml to define them.
args: '-ignore "property \"othersecret\" is not defined in object type"' args: >
-ignore "property \"othersecret\" is not defined in object type"
-ignore "property \"jsonstring\" is not defined in object type"
-ignore "property \"jsonstringmultiline\" is not defined in object type"

View file

@ -190,10 +190,10 @@ jobs:
uses: ./ uses: ./
with: with:
url: https://localhost:8200 url: https://localhost:8200
token: ${{ env.VAULT_TOKEN }} token: testtoken
secrets: | secrets: |
secret/data/test-json-string jsonString; secret/data/test-json-string jsonString;
secret/data/test-json-multiline jsonStringMultiline; secret/data/test-json-string-multiline jsonStringMultiline;
- name: Test Parsing Secrets (part 2/2) - name: Test Parsing Secrets (part 2/2)
# this step will call a JS script to test that we can successfully parse # this step will call a JS script to test that we can successfully parse

View file

@ -1,3 +1,6 @@
// This script is used by the e2e tests in build.yml to test that we can
// successfully parse JSON string data into JS objects
try { try {
let inputs = [ let inputs = [
process.env.JSONSTRING, process.env.JSONSTRING,