From 17a68d18c636f2b53705a471f4226cc573ceaf5a Mon Sep 17 00:00:00 2001 From: Jack Kleeman Date: Wed, 31 Jan 2024 11:52:02 +0000 Subject: [PATCH] Use older e2e repo for tests as we are backporting --- .github/workflows/ci.yml | 8 +++++++- .github/workflows/release.yml | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 423c706d5b..84226dc8ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,12 @@ name: CI on: pull_request: workflow_call: + inputs: + e2eRef: + description: 'e2e repo ref to execute tests from' + required: false + default: main + type: string workflow_dispatch: push: branches: @@ -82,4 +88,4 @@ jobs: uses: restatedev/e2e/.github/workflows/e2e.yaml@main with: restateCommit: ${{ github.event.pull_request.head.sha || github.sha }} - e2eRef: main + e2eRef: ${{ inputs.e2eRef }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73c4e277a0..4853bdea0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,8 @@ jobs: needs: [verify-version] uses: ./.github/workflows/ci.yml secrets: inherit + with: + e2eRef: 5e28a0c7e0539425165493d046501968e6b41239 # use e2e repo from the time of 0.7.0 build-docker-image: name: Build release Docker image