Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Pass license public key to test Docker builds

rcourtman91178d2b2480
diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml
index 56e64a1d3d..99ed1a6f8b 100644
--- a/.github/workflows/test-e2e.yml
+++ b/.github/workflows/test-e2e.yml
@@ -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
-
diff --git a/.github/workflows/test-updates.yml b/.github/workflows/test-updates.yml
index ab3ea75330..8662af9a8b 100644
--- a/.github/workflows/test-updates.yml
+++ b/.github/workflows/test-updates.yml
@@ -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