Skip to content

Commit

Permalink
workflow: Add cockroach-unstable to test matrix
Browse files Browse the repository at this point in the history
This change runs tests against the cockroach-unstable image, with the caveat
that the job may fail without breaking the build.
  • Loading branch information
bobvawter committed May 24, 2024
1 parent 164a6b3 commit a638c3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ services:
entrypoint: /cockroach/cockroach
command: start-single-node --insecure --store type=mem,size=2G

cockroachdb-unstable:
image: cockroachdb/cockroach-unstable:latest
network_mode: host
entrypoint: /cockroach/cockroach
command: start-single-node --insecure --store type=mem,size=2G

# This target exists to verify split-mode operation, where staging is separate from the target.
target-cockroachdb-v23.2:
image: cockroachdb/cockroach:latest-v23.2
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/go-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
tests:
name: Integration Tests
runs-on: ${{ matrix.runs-on || 'ubuntu-latest-8-core' }}
continue-on-error: ${{ matrix.experimental || false }}
timeout-minutes: 10
strategy:
fail-fast: false
Expand All @@ -93,6 +94,10 @@ jobs:
- cockroachdb: v23.2
- cockroachdb: v23.1

# Builds that are allowed to fail.
- cockroachdb: unstable
experimental: true

# Run a test with a separate CockroachDB source and target
# instance to ensure there are no accidental dependencies
# between the source, staging, and target schemas.
Expand Down

0 comments on commit a638c3b

Please sign in to comment.