Skip to content

Commit

Permalink
some ci-related fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Jan 8, 2025
1 parent 78db133 commit 85d56a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/integration/vertica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eo pipefail
# Debug log for test containers
export DEBUG=testcontainers

export TEST_VERTICA_VERSION=11.1.1-0
export TEST_VERTICA_VERSION=12.0.4-0

echo "::group::Vertica ${TEST_VERTICA_VERSION}"
docker pull vertica/vertica-ce:${TEST_VERTICA_VERSION}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { DbRunnerAbstract } from './db-runner.abstract';

export class VerticaDBRunner extends DbRunnerAbstract {
public static startContainer() {
const version = process.env.TEST_VERTICA_VERSION || '11.1.1-0';
const version = process.env.TEST_VERTICA_VERSION || '12.0.4-0';

const container = new GenericContainer(`vertica/vertica-ce:${version}`)
.withEnvironment({ TZ: 'Antarctica/Troll', VERTICA_DB_NAME: 'test' })
.withEnvironment({ TZ: 'Antarctica/Troll', VERTICA_DB_NAME: 'test', VMART_ETL_SCRIPT: '', VMART_ETL_SQL: '' })
.withExposedPorts(5433)
.withStartupTimeout(60 * 1000)
.withWaitStrategy(
Wait.forLogMessage('Node Status: v_test_node0001: (UP)')
Wait.forLogMessage('Vertica is now running')
);

return container.start();
Expand Down

0 comments on commit 85d56a0

Please sign in to comment.