feat(namespace): handle request on vault namespace (#5)

* feat(namespace): handle request on vault namespace
This commit is contained in:
Antoine Méausoone 2019-11-24 22:21:11 +01:00 committed by Richard Simpson
parent 0104a02854
commit 3747195c5f
9 changed files with 214 additions and 6 deletions

View file

@ -34,6 +34,39 @@ jobs:
VAULT_PORT: ${{ job.services.vault.ports[8200] }}
CI: true
test-ent:
runs-on: ubuntu-latest
services:
vault:
image: hashicorp/vault-enterprise:1.3.0_ent
ports:
- 8200/tcp
env:
VAULT_DEV_ROOT_TOKEN_ID: testtoken
options: --cap-add=IPC_LOCK
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: npm install
run: npm ci
- name: npm build
run: npm run build
- name: npm run test
run: npm run test
env:
CI: true
- name: npm run test:integration-ent
run: npm run test:integration-ent
env:
VAULT_HOST: localhost
VAULT_PORT: ${{ job.services.vault.ports[8200] }}
CI: true
e2e:
runs-on: ubuntu-latest