Sha256: 21fff1300cab7b5dccaf087aeac1301fc0afd438e49d9d119e08b95e2467be59
Contents?: true
Size: 779 Bytes
Versions: 19
Compression:
Stored size: 779 Bytes
Contents
# frozen_string_literal: true TEST_MYSQL_HOST = ENV['DOCKER_HOST'] ? ENV['DOCKER_HOST'].gsub(%r{\Atcp://|:\d+\z}, '') : '127.0.0.1' TEST_MYSQL_PORT = ENV['MYSQL57'] == '1' ? 13_317 : 13_316 TEST_MYSQL_USER = 'root' TEST_MYSQL_PASS = 'password' MYSQL_CLI = "mysql -h #{TEST_MYSQL_HOST} -P #{TEST_MYSQL_PORT} -u #{TEST_MYSQL_USER} -p#{TEST_MYSQL_PASS} 2>/dev/null" TEST_PG_HOST = ENV['DOCKER_HOST'] ? ENV['DOCKER_HOST'].gsub(%r{\Atcp://|:\d+\z}, '') : '127.0.0.1' TEST_PG_PORT = 15_442 TEST_PG_USER = 'postgres' TEST_PG_PASS = 'password' PG_CLI_OPTS = "PGPASSWORD=#{TEST_PG_PASS} %s -h #{TEST_PG_HOST} -p #{TEST_PG_PORT} -U #{TEST_PG_USER}" PG_PSQL = PG_CLI_OPTS % 'psql' PG_CREATEDB = PG_CLI_OPTS % 'createdb' PG_DUMP = PG_CLI_OPTS % 'pg_dump' TEST_SCHEMA = 'ridgepole_test'
Version data entries
19 entries across 19 versions & 1 rubygems