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:
parent
788264dddd
commit
e5605de996
3 changed files with 9 additions and 3 deletions
5
.github/workflows/actionlint.yaml
vendored
5
.github/workflows/actionlint.yaml
vendored
|
|
@ -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"
|
||||||
|
|
|
||||||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue