Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions .github/workflows/invite-gate-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ on:
description: "moonlight-pay branch or ref (e.g. feat/my-branch)"
type: string
default: "main"
provider_platform_ref:
description: "provider-platform branch or ref (e.g. feat/my-branch)"
type: string
default: "main"
council_platform_ref:
description: "council-platform branch or ref (e.g. feat/my-branch)"
type: string
default: "main"
pay_platform_ref:
description: "pay-platform branch or ref (e.g. feat/my-branch)"
type: string
default: "main"
secrets:
E2E_TRIGGER_TOKEN:
required: true
Expand Down Expand Up @@ -60,23 +72,23 @@ jobs:
uses: actions/checkout@v4
with:
repository: ${{ env.ORG }}/provider-platform
ref: main
ref: ${{ inputs.provider_platform_ref }}
token: ${{ secrets.E2E_TRIGGER_TOKEN }}
path: provider-platform

- name: Checkout council-platform
uses: actions/checkout@v4
with:
repository: ${{ env.ORG }}/council-platform
ref: main
ref: ${{ inputs.council_platform_ref }}
token: ${{ secrets.E2E_TRIGGER_TOKEN }}
path: council-platform

- name: Checkout pay-platform
uses: actions/checkout@v4
with:
repository: ${{ env.ORG }}/pay-platform
ref: main
ref: ${{ inputs.pay_platform_ref }}
token: ${{ secrets.E2E_TRIGGER_TOKEN }}
path: pay-platform

Expand All @@ -90,6 +102,12 @@ jobs:
PAY_PLATFORM_PATH: ./pay-platform
run: |
set +e
# Pre-create the BadgerDB trace dir with permissive mode so the
# jaeger container (non-root) can write to the bind mount. test.sh
# does this locally; CI invokes docker compose directly so we
# replicate the prep here.
mkdir -p .traces/invite-gate
chmod 777 .traces/invite-gate
docker compose -f docker-compose.invite-gate.yml up -d
UP_EXIT=$?
if [ "$UP_EXIT" -ne 0 ]; then
Expand Down
Loading