mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-06 17:56:55 +00:00
feat: Exclui action de vault da enterprise
This commit is contained in:
parent
e0103d915b
commit
3968d6ed6e
2 changed files with 0 additions and 59 deletions
51
.github/workflows/build.yml
vendored
51
.github/workflows/build.yml
vendored
|
|
@ -63,57 +63,6 @@ jobs:
|
|||
VAULT_PORT: 8200
|
||||
CI: true
|
||||
|
||||
integrationEnterprise:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Run docker compose
|
||||
run: docker compose up -d vault-enterprise
|
||||
env:
|
||||
VAULT_LICENSE_CI: ${{ secrets.VAULT_LICENSE_CI }}
|
||||
|
||||
- name: Wait for Vault to be ready
|
||||
run: |
|
||||
echo "Waiting for Vault to start..."
|
||||
for i in $(seq 1 30); do
|
||||
if curl -sf http://localhost:8200/v1/sys/health > /dev/null 2>&1; then
|
||||
echo "Vault is ready!"
|
||||
exit 0
|
||||
fi
|
||||
echo "Attempt $i/30 - waiting..."
|
||||
sleep 2
|
||||
done
|
||||
echo "Vault did not start in time"
|
||||
docker compose logs vault-enterprise
|
||||
exit 1
|
||||
|
||||
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Setup NPM Cache
|
||||
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: NPM Install
|
||||
run: npm ci
|
||||
|
||||
- name: NPM Build
|
||||
run: npm run build
|
||||
|
||||
- name: NPM Run test:integration:enterprise
|
||||
run: npm run test:integration:enterprise
|
||||
env:
|
||||
VAULT_HOST: localhost
|
||||
VAULT_PORT: 8200
|
||||
CI: true
|
||||
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue