Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Raunak Bhagat committed Nov 14, 2024
1 parent 2d3fb4d commit e3e41ff
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/benchmark-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,30 +105,21 @@ jobs:
sed -i 's|<<COMMIT>>|${{ matrix.commit }}|g' .github/assets/ray.yaml
sed -i 's|<<WHEEL>>|${{ needs.build.outputs.wheel }}|g' .github/assets/ray.yaml
- name: Manual breakpoint to check ssh-key
uses: lhotari/action-upterm@v1

- name: Get private ssh-key to boot up ray-cluster
id: private-ssh-key
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
parse-json-secrets: true
secret-ids: |
SSH_KEY,ci-github-actions-ray-cluster-key-2
- name: Write ssh-key to file
run: |
echo "${{ steps.get-secret.outputs.secret }}" >> ~/.ssh/ci-github-actions-ray-cluster-key.pem
KEY=aws secretsmanager get-secret-value --secret-id ci-github-actions-ray-cluster-key-2 --query SecretString --output text | jq -r '.private'
echo $KEY >> ~/.ssh/ci-github-actions-ray-cluster-key.pem
chmod 600 ~/.ssh/ci-github-actions-ray-cluster-key.pem
- name: Manual breakpoint to check ssh-key
uses: lhotari/action-upterm@v1

# - name: Spin up ray cluster
# run: |
# uv v
# source .venv/bin/activate
# uv pip install ray boto3
# ray up .github/assets/ray.yaml -y
- name: Spin up ray cluster
run: |
uv v
source .venv/bin/activate
uv pip install ray boto3
ray up .github/assets/ray.yaml -y
# - name: Run commit ${{ matrix.commit }}
# run: |
Expand Down

0 comments on commit e3e41ff

Please sign in to comment.