Skip to content

Commit

Permalink
feat(ci): Reformat commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mlissner authored Jun 5, 2023
1 parent b8399b5 commit 785a1fe
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,27 @@ jobs:
#----------------------------------------------
# Download Testing File
#
# We generated our testing datasets with the following command
# We generated our testing datasets with the following command:
#
# root@maintenance:/opt/courtlistener# PGPASSWORD=$DB_PASSWORD psql --command 'set statement_timeout to 0;
# COPY (SELECT id, plain_text, html, html_lawbox, html_columbia, html_anon_2020, xml_harvard FROM search_opinion TABLESAMPLE BERNOULLI (0.1)) TO STDOUT WITH (FORMAT csv, ENCODING utf8, HEADER)' --host $DB_HOST --username $DB_USER --dbname courtlistener | bzip2 | aws s3 cp - s3://com-courtlistener-storage/bulk-data/eyecite/tests/ten-percent.csv.bz2 --acl public-read
# root@maintenance:/opt/courtlistener# PGPASSWORD=$DB_PASSWORD psql \
# --host $DB_HOST \
# --username $DB_USER \
# --dbname courtlistener \
# --command \
# 'set statement_timeout to 0;
# COPY (
# SELECT \
# id, plain_text, html, html_lawbox, html_columbia, html_anon_2020, xml_harvard \
# FROM \
# search_opinion \
# TABLESAMPLE BERNOULLI (0.1) \
# ) \
# TO STDOUT \
# WITH (FORMAT csv, ENCODING utf8, HEADER); \
# ' \
# | bzip2 \
# | aws s3 cp - s3://com-courtlistener-storage/bulk-data/eyecite/tests/ten-percent.csv.bz2 \
# --acl public-read
#----------------------------------------------
- name: Download Testing File
run: |
Expand Down

0 comments on commit 785a1fe

Please sign in to comment.