Revert "chore: fix running external workflows"

This reverts commit 70c70131bc.
This commit is contained in:
Karol Sójko 2023-10-02 16:18:21 +02:00
parent 7c61dd2ba2
commit 12c4ee4728
No known key found for this signature in database
GPG key ID: C2F813669419D05F
2 changed files with 40 additions and 20 deletions

View file

@ -72,12 +72,17 @@ jobs:
steps:
- name: Run E2E base test suite
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
uses: standardnotes/server/.github/workflows/e2e-test-suite.yml@main
uses: convictional/trigger-workflow-and-wait@master
with:
snjs_image_tag: ${{ github.sha }}
suite: base
author: ${{ github.actor }}
ref_name: "app:${{ github.ref }}"
owner: standardnotes
repo: server
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: e2e-test-suite.yml
wait_interval: 30
client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "base", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
e2e-vaults:
name: E2E Vaults Test Suite
@ -86,12 +91,17 @@ jobs:
steps:
- name: Run E2E vaults test suite
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
uses: standardnotes/server/.github/workflows/e2e-test-suite.yml@main
uses: convictional/trigger-workflow-and-wait@master
with:
snjs_image_tag: ${{ github.sha }}
suite: vaults
author: ${{ github.actor }}
ref_name: "app:${{ github.ref }}"
owner: standardnotes
repo: server
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: e2e-test-suite.yml
wait_interval: 30
client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "vaults", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
publish:
name: Publish to NPM

View file

@ -79,12 +79,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run E2E test suite
uses: standardnotes/server/.github/workflows/e2e-test-suite.yml@main
uses: convictional/trigger-workflow-and-wait@master
with:
snjs_image_tag: ${{ github.sha }}
suite: base
author: ${{ github.actor }}
ref_name: "app:${{ github.ref }}"
owner: standardnotes
repo: server
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: e2e-test-suite.yml
wait_interval: 30
client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "base", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
e2e-vaults:
name: E2E Vaults Test Suite
@ -92,9 +97,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run E2E vaults test suite
uses: standardnotes/server/.github/workflows/e2e-test-suite.yml@main
uses: convictional/trigger-workflow-and-wait@master
with:
snjs_image_tag: ${{ github.sha }}
suite: vaults
author: ${{ github.actor }}
ref_name: "app:${{ github.ref }}"
owner: standardnotes
repo: server
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: e2e-test-suite.yml
wait_interval: 30
client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "vaults", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true