From 5b36bd05c9f0044100407638a126011c7948fbd9 Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Fri, 22 Nov 2024 16:38:38 -0800 Subject: [PATCH] [FEAT] Create new run workflow (#3402) # Overview - create workflow to just minimally setup stuff on ray-cluster - not fully working yet :( --- .github/workflows/run-command-on-ray.yaml | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/run-command-on-ray.yaml diff --git a/.github/workflows/run-command-on-ray.yaml b/.github/workflows/run-command-on-ray.yaml new file mode 100644 index 0000000000..b85e34dd1f --- /dev/null +++ b/.github/workflows/run-command-on-ray.yaml @@ -0,0 +1,33 @@ +name: Run some given command on a Ray Cluster + +on: + workflow_dispatch: + inputs: + daft_version: + type: string + description: The wheel artifact to use + required: false + python_version: + type: string + description: The version of python to use + required: false + default: "3.9" + +jobs: + run-tpch: + runs-on: [self-hosted, linux, x64, ci-dev] + timeout-minutes: 15 # Remove for ssh debugging + permissions: + id-token: write + contents: read + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - uses: aws-actions/configure-aws-credentials@v4 + with: + aws-region: us-west-2 + role-session-name: run-command-workflow + - uses: ./.github/actions/install + with: + python_version: ${{ inputs.python_version }}