mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-07-25 16:03:15 +03:00
fix lint and pass token to build
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user