mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Try to fix bdd tests with flag
This commit is contained in:
5
.github/workflows/run-backend-bdd-tests.yml
vendored
5
.github/workflows/run-backend-bdd-tests.yml
vendored
@@ -45,12 +45,13 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
|
|
||||||
- name: Output .env file
|
- name: Output .env file and enable feature flags for BDD tests
|
||||||
run: |
|
run: |
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
echo "ACME_DEVELOPMENT_MODE=true" >> .env
|
echo "ACME_DEVELOPMENT_MODE=true" >> .env
|
||||||
echo "ACME_FEATURE_ENABLED=true" >> .env
|
|
||||||
echo "ACME_DEVELOPMENT_HTTP01_CHALLENGE_HOST_OVERRIDES={\"localhost\": \"host.docker.internal:8087\"}" >> .env
|
echo "ACME_DEVELOPMENT_HTTP01_CHALLENGE_HOST_OVERRIDES={\"localhost\": \"host.docker.internal:8087\"}" >> .env
|
||||||
|
# Enable ACME feature in license for BDD tests
|
||||||
|
sed -i 's/pkiAcme: .*/pkiAcme: true,/g' backend/src/ee/services/license/license-fns.ts
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user