diff --git a/.github/workflows/run-jepsen-tests.yml b/.github/workflows/run-jepsen-tests.yml index c92300a..1381919 100644 --- a/.github/workflows/run-jepsen-tests.yml +++ b/.github/workflows/run-jepsen-tests.yml @@ -33,6 +33,11 @@ on: type: string required: false default: --nodes n1,n2,n3,n4,n5 --postgres-nodes n1 + powersync-image-tag: + description: PowerSync Image Tag + type: string + required: false + default: latest workflow_call: inputs: @@ -66,6 +71,11 @@ on: type: string required: false default: --nodes n1,n2,n3,n4,n5 --postgres-nodes n1 + powersync-image-tag: + description: PowerSync Image Tag + type: string + required: false + default: latest jobs: tests: @@ -82,6 +92,7 @@ jobs: env: test-title: ${{ matrix.workload }}-${{ matrix.backend-connector }}-${{ matrix.nemesis }}-${{ matrix.rate }}tps-${{ matrix.time-limit }}s + POWERSYNC_IMAGE_TAG: ${{ inputs.powersync-image-tag }} steps: - name: Checkout jepsen-powersync diff --git a/docker/powersync-compose.yaml b/docker/powersync-compose.yaml index dbacdc0..3ffbf03 100644 --- a/docker/powersync-compose.yaml +++ b/docker/powersync-compose.yaml @@ -15,7 +15,7 @@ services: depends_on: - mongo - pg-db - image: journeyapps/powersync-service:latest + image: journeyapps/powersync-service:${POWERSYNC_IMAGE_TAG:-latest} # The unified service runs an API server and replication worker in the same container. # These services can be executed in different containers by using individual entry commands e.g. # Start only the API server with