forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests for different connectors in different builds
This allows us to avoid spinning up all the backends (hadoop, mysql, cassandra, and postgres) to reduce memory usage.
- Loading branch information
1 parent
7af8b09
commit 35a17a0
Showing
18 changed files
with
78 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
presto-product-tests/conf/docker/singlenode-cassandra/compose.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source "${BASH_SOURCE%/*}/../common/compose-commons.sh" | ||
|
||
docker-compose \ | ||
-f ${BASH_SOURCE%/*}/../common/standard.yml \ | ||
-f ${BASH_SOURCE%/*}/docker-compose.yml \ | ||
"$@" |
11 changes: 11 additions & 0 deletions
11
presto-product-tests/conf/docker/singlenode-cassandra/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '2' | ||
services: | ||
|
||
cassandra: | ||
hostname: cassandra | ||
image: 'cassandra:3.9' | ||
ports: | ||
- '9042:9042' | ||
environment: | ||
- HEAP_NEWSIZE=128M | ||
- MAX_HEAP_SIZE=512M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
presto-product-tests/conf/docker/singlenode-mysql/compose.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source "${BASH_SOURCE%/*}/../common/compose-commons.sh" | ||
|
||
docker-compose \ | ||
-f ${BASH_SOURCE%/*}/../common/standard.yml \ | ||
-f ${BASH_SOURCE%/*}/docker-compose.yml \ | ||
"$@" |
11 changes: 0 additions & 11 deletions
11
...duct-tests/conf/docker/common/jdbc_db.yml → ...ocker/singlenode-mysql/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
presto-product-tests/conf/docker/singlenode-postgresql/compose.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source "${BASH_SOURCE%/*}/../common/compose-commons.sh" | ||
|
||
docker-compose \ | ||
-f ${BASH_SOURCE%/*}/../common/standard.yml \ | ||
-f ${BASH_SOURCE%/*}/docker-compose.yml \ | ||
"$@" |
13 changes: 13 additions & 0 deletions
13
presto-product-tests/conf/docker/singlenode-postgresql/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: '2' | ||
services: | ||
|
||
postgres: | ||
hostname: postgres | ||
image: 'postgres' | ||
ports: | ||
- '15432:15432' | ||
environment: | ||
POSTGRES_PASSWORD: swarm | ||
POSTGRES_USER: swarm | ||
POSTGRES_DB: test | ||
PGPORT: 15432 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters