mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
Pass license public key to test Docker builds
This commit is contained in:
5
.github/workflows/test-e2e.yml
vendored
5
.github/workflows/test-e2e.yml
vendored
@@ -52,7 +52,9 @@ jobs:
|
||||
- name: Build Docker images for test environment
|
||||
run: |
|
||||
docker build -t pulse-mock-github:test ./tests/integration/mock-github-server
|
||||
docker build -t pulse:test -f Dockerfile .
|
||||
docker build -t pulse:test -f Dockerfile --build-arg PULSE_LICENSE_PUBLIC_KEY="$PULSE_LICENSE_PUBLIC_KEY" .
|
||||
env:
|
||||
PULSE_LICENSE_PUBLIC_KEY: ${{ secrets.PULSE_LICENSE_PUBLIC_KEY }}
|
||||
|
||||
- name: Start test containers
|
||||
working-directory: tests/integration
|
||||
@@ -95,4 +97,3 @@ jobs:
|
||||
name: test-failures
|
||||
path: tests/integration/test-results/
|
||||
retention-days: 7
|
||||
|
||||
|
||||
4
.github/workflows/test-updates.yml
vendored
4
.github/workflows/test-updates.yml
vendored
@@ -72,7 +72,9 @@ jobs:
|
||||
|
||||
# Build Pulse test image
|
||||
cd ../../
|
||||
docker build -t pulse:test -f Dockerfile .
|
||||
docker build -t pulse:test -f Dockerfile --build-arg PULSE_LICENSE_PUBLIC_KEY="$PULSE_LICENSE_PUBLIC_KEY" .
|
||||
env:
|
||||
PULSE_LICENSE_PUBLIC_KEY: ${{ secrets.PULSE_LICENSE_PUBLIC_KEY }}
|
||||
|
||||
- name: Run diagnostic smoke test
|
||||
working-directory: tests/integration
|
||||
|
||||
Reference in New Issue
Block a user