From f43e5dfe28017aa288bd8c5e3aabb9025f79fbe1 Mon Sep 17 00:00:00 2001 From: rasswanth-s <43314053+rasswanth-s@users.noreply.github.com> Date: Thu, 15 Feb 2024 17:57:02 +0530 Subject: [PATCH] shift to using workflow_call --- .github/workflows/cd-post-release-tests.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd-post-release-tests.yml b/.github/workflows/cd-post-release-tests.yml index a6031d87cec..795b9092833 100644 --- a/.github/workflows/cd-post-release-tests.yml +++ b/.github/workflows/cd-post-release-tests.yml @@ -1,8 +1,6 @@ name: CD - Post Release Tests on: - workflow_call: - workflow_dispatch: inputs: syft_version: @@ -10,6 +8,13 @@ on: required: true type: string + workflow_call: + inputs: + syft_version: + description: "Syft version to test" + required: true + type: string + jobs: notebook-test-hagrid: strategy: @@ -57,12 +62,12 @@ jobs: - name: Launch Domain run: | - hagrid launch test-domain-1 to docker:8081 --tag=${{ github.event.inputs.syft_version }} --low-side + hagrid launch test-domain-1 to docker:8081 --tag=${{ inputs.syft_version }} --low-side - name: Run tests env: NODE_PORT: "8081" - SYFT_VERSION: ${{ github.event.inputs.syft_version }} + SYFT_VERSION: ${{ inputs.syft_version }} EXCLUDE_NOTEBOOKS: "not 11-container-images-k8s.ipynb" run: | tox -e e2e.test.notebook @@ -111,7 +116,7 @@ jobs: - name: Install Syft run: | - pip install syft==${{ github.event.inputs.syft_version }} + pip install syft==${{ inputs.syft_version }} - name: Check Syft version run: |