Skip to content

Commit

Permalink
Support new make command debug-export-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Feb 9, 2022
1 parent 5b97026 commit 4732b8d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ pre-release: update-builder network docker-envfile
hivdb/covid-drdb-builder:latest \
scripts/github-release.sh --pre-release

debug-export-sqlite: update-builder network docker-envfile
@docker run --rm -it \
--volume=$(shell pwd):/covid-drdb/ \
--volume=$(shell dirname $$(pwd))/covid-drdb-payload:/covid-drdb/payload \
--network=covid-drdb-network \
--volume ~/.aws:/root/.aws:ro \
--env-file ./docker-envfile \
hivdb/covid-drdb-builder:latest \
scripts/export-sqlite.sh debug

sync-to-s3: update-builder docker-envfile
@docker run --rm -it \
--volume=$(shell pwd):/covid-drdb/ \
Expand Down Expand Up @@ -119,4 +129,4 @@ psql-devdb:
psql-devdb-no-docker:
@psql -U postgres -h localhost -p 6543

.PHONY: autofill network devdb *-devdb builder *-builder *-sqlite release pre-release sync-* update-builder
.PHONY: autofill network devdb *-devdb builder *-builder *-sqlite release pre-release debug-* sync-* update-builder

0 comments on commit 4732b8d

Please sign in to comment.