Skip to content

Commit d529212

Browse files
authored
revert printer: fix clickhouse usage in workflow (#5735)
installs clickhouse and sets up environment variables
1 parent aba7b57 commit d529212

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/revert-tracker.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ jobs:
2525
- id: generate-reverts-file
2626
run: |
2727
cd test-infra/tools
28-
python3 -m pip install rockset==1.0.3
28+
python3 -m pip install clickhouse-connect==0.7.16
2929
python3 -m torchci.reverts
3030
echo "revert_file=$(cat revert_file_name.txt)" >> "${GITHUB_OUTPUT}"
3131
env:
32-
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}
32+
CLICKHOUSE_ENDPOINT: ${{ secrets.CLICKHOUSE_HUD_USER_URL }}
33+
CLICKHOUSE_USERNAME: ${{ secrets.CLICKHOUSE_HUD_USER_USERNAME }}
34+
CLICKHOUSE_PASSWORD: ${{ secrets.CLICKHOUSE_HUD_USER_PASSWORD }}
3335

3436
- name: Push file to this repository
3537
if: steps.generate-reverts-file.outputs.revert_file != 'None'

0 commit comments

Comments
 (0)