try building images in ci
This commit is contained in:
parent
37899eb98f
commit
4fe7819052
1 changed files with 5 additions and 2 deletions
7
.github/workflows/test-integration.yml
vendored
7
.github/workflows/test-integration.yml
vendored
|
|
@ -15,7 +15,7 @@ on:
|
||||||
description: 'Build images locally instead of pulling from DockerHub'
|
description: 'Build images locally instead of pulling from DockerHub'
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
|
@ -87,7 +87,10 @@ jobs:
|
||||||
# Disable startup ingest noise unless a test enables it
|
# Disable startup ingest noise unless a test enables it
|
||||||
DISABLE_STARTUP_INGEST: "true"
|
DISABLE_STARTUP_INGEST: "true"
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ inputs.use_local_images }}" == "true" ]; then
|
# For PRs, always build locally since we're testing new code
|
||||||
|
# For workflow_dispatch, use the input (defaults to true)
|
||||||
|
USE_LOCAL="${{ inputs.use_local_images }}"
|
||||||
|
if [ "${{ github.event_name }}" == "pull_request" ] || [ "$USE_LOCAL" != "false" ]; then
|
||||||
echo "Running tests with locally built images..."
|
echo "Running tests with locally built images..."
|
||||||
make test-ci-local
|
make test-ci-local
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue