From 3968d6ed6eee70db4e1d7107a39d45d304ec7d93 Mon Sep 17 00:00:00 2001 From: IlarioJs Date: Wed, 18 Mar 2026 15:08:51 -0300 Subject: [PATCH] feat: Exclui action de vault da enterprise --- .github/workflows/build.yml | 51 ------------------------------------- docker-compose.yml | 8 ------ 2 files changed, 59 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d128bc0..3713f63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 417de3d..7d2d64a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,14 +11,6 @@ services: ports: - 8200:8200 privileged: true - vault-enterprise: - image: hashicorp/vault-enterprise:latest - environment: - VAULT_DEV_ROOT_TOKEN_ID: testtoken - VAULT_LICENSE: ${VAULT_LICENSE_CI} - ports: - - 8200:8200 - privileged: true vault-tls: image: hashicorp/vault:latest hostname: vault-tls