Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ jobs:
run: ./gost fetch --dbtype sqlite3 ubuntu
- name: fetch mysql
if: ${{ steps.build.conclusion == 'success' && ( success() || failure() )}}
run: ./gost fetch --dbtype mysql --dbpath "root:password@tcp(127.0.0.1:3306)/test?parseTime=true" ubuntu
# The Ubuntu data no longer fits in one transaction under MySQL's default
# 128MB buffer pool (Error 1206: lock table size exceeded), so double it.
run: |
docker exec "${{ job.services.mysql.id }}" mysql -uroot -ppassword -e "SET GLOBAL innodb_buffer_pool_size = 256 * 1024 * 1024"
Comment thread
shino marked this conversation as resolved.
./gost fetch --dbtype mysql --dbpath "root:password@tcp(127.0.0.1:3306)/test?parseTime=true" ubuntu
Comment thread
shino marked this conversation as resolved.
- name: fetch postgres
if: ${{ steps.build.conclusion == 'success' && ( success() || failure() )}}
run: ./gost fetch --dbtype postgres --dbpath "host=127.0.0.1 user=postgres dbname=test sslmode=disable password=password" ubuntu
Expand Down
Loading