diff --git a/.github/workflows/common-e2e.yml b/.github/workflows/common-e2e.yml index e936fb0cc..127d3ac06 100644 --- a/.github/workflows/common-e2e.yml +++ b/.github/workflows/common-e2e.yml @@ -2,6 +2,11 @@ name: Reusable Run E2E Test Suite Workflow on: workflow_call: + inputs: + snjs_image_tag: + type: string + default: latest + description: The Docker image tag used for SNJS container secrets: DOCKER_USERNAME: required: true @@ -18,7 +23,7 @@ jobs: services: snjs: - image: standardnotes/snjs + image: standardnotes/snjs:${{ inputs.snjs_image_tag }} ports: - 9001:9001 mock-event-publisher: diff --git a/.github/workflows/e2e-test-suite.yml b/.github/workflows/e2e-test-suite.yml new file mode 100644 index 000000000..9974d1aea --- /dev/null +++ b/.github/workflows/e2e-test-suite.yml @@ -0,0 +1,17 @@ +name: E2E Test Suite against a stable self hosted server + +on: + workflow_dispatch: + inputs: + snjs_image_tag: + type: string + default: latest + description: The Docker image tag used for SNJS container + +jobs: + e2e: + name: E2E + uses: standardnotes/server/.github/workflows/common-e2e.yml@main + with: + snjs_image_tag: ${{ inputs.snjs_image_tag }} + secrets: inherit