Skip to content

Commit f9285fd

Browse files
committed
disable db workflow.
1 parent ba7a89c commit f9285fd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/benchmark.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ jobs:
6565
path: benchmarks/${{ env.BASE_PATH }}
6666

6767
# TODO: enable this once the connection problem has been resolved.
68-
- name: Update benchmarking results to DB
69-
env:
70-
PGDATABASE: metrics
71-
PGHOST: ${{ secrets.DIFFUSERS_BENCHMARKS_PGHOST }}
72-
PGUSER: transformers_benchmarks
73-
PGPASSWORD: ${{ secrets.DIFFUSERS_BENCHMARKS_PGPASSWORD }}
74-
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
75-
run: |
76-
commit_id=$GITHUB_SHA
77-
commit_msg=$(git show -s --format=%s "$commit_id" | cut -c1-70)
78-
cd benchmarks && python populate_into_db.py "$BRANCH_NAME" "$commit_id" "$commit_msg"
68+
# - name: Update benchmarking results to DB
69+
# env:
70+
# PGDATABASE: metrics
71+
# PGHOST: ${{ secrets.DIFFUSERS_BENCHMARKS_PGHOST }}
72+
# PGUSER: transformers_benchmarks
73+
# PGPASSWORD: ${{ secrets.DIFFUSERS_BENCHMARKS_PGPASSWORD }}
74+
# BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
75+
# run: |
76+
# commit_id=$GITHUB_SHA
77+
# commit_msg=$(git show -s --format=%s "$commit_id" | cut -c1-70)
78+
# cd benchmarks && python populate_into_db.py "$BRANCH_NAME" "$commit_id" "$commit_msg"
7979

8080
- name: Report success status
8181
if: ${{ success() }}

0 commit comments

Comments
 (0)