-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] Create new run workflow (#3402)
# Overview - create workflow to just minimally setup stuff on ray-cluster - not fully working yet :(
- Loading branch information
Raunak Bhagat
authored
Nov 23, 2024
1 parent
2ae53f4
commit 5b36bd0
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |