chore: add e2e test suite triggerable externally

This commit is contained in:
Karol Sójko
2023-02-07 14:19:11 +01:00
parent d0c44d1376
commit 95aa0a0024
2 changed files with 23 additions and 1 deletions
+6 -1
View File
@@ -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:
+17
View File
@@ -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