Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dihedron committed Jul 28, 2023
1 parent 44df9f3 commit 29cf717
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ _test/.cq
_test/cloudquery
_test/*.log
_test/*.sqlite
_test/*.sqlite-journal
_test/*.yaml
_test/.env

.DS_Store

Expand Down
23 changes: 17 additions & 6 deletions _test/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
SHELL := /bin/bash

.PHONY: lab
lab: build
cloudquery sync lab.yaml --log-level=debug --telemetry-level=none
lab: build
source .env/lab && cloudquery sync openstack.yaml --log-level=warn --telemetry-level=none

.PHONY: silver
silver: build
cloudquery sync silver.yaml --log-level=debug --telemetry-level=none
.PHONY: slv
slv: build
source .env/silver && cloudquery sync openstack.yaml --log-level=warn --telemetry-level=none

.PHONY: build
build:
cd .. && make && cd _test

.PHONY: reset
reset:
rm -rf *.log *.sqlite
rm -rf *.log *.sqlite

.PHONY: connect
connect:
psql --dbname=superset --host=localhost --port=15432 --username=superset

# create database cloudquery
# create schema cloudquery
# create user cloudquery with encrypted password 'cloudquery'
# grant all privileges on database cloudquery to cloudquery

0 comments on commit 29cf717

Please sign in to comment.