Skip to content

Commit 7fae320

Browse files
committed
workflow: add variable DLE_HOST
1 parent 1fb92fc commit 7fae320

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
with:
1717
dbname: test
1818
commands: |
19-
flyway -url=jdbc:postgresql://${PGHOST}:${PGPORT}/${PGDATABASE} -user=${PGUSER} -password=${PGPASSWORD} -locations=filesystem:/repo/flyway/sql migrate
20-
flyway -url=jdbc:postgresql://${PGHOST}:${PGPORT}/${PGDATABASE} -user=${PGUSER} -password=${PGPASSWORD} -locations=filesystem:/repo/flyway/sql info
19+
flyway -url=jdbc:postgresql://${DLE_HOST}:${PGPORT}/${PGDATABASE} -user=${PGUSER} -password=${PGPASSWORD} -locations=filesystem:/repo/flyway/sql migrate
20+
flyway -url=jdbc:postgresql://${DLE_HOST}:${PGPORT}/${PGDATABASE} -user=${PGUSER} -password=${PGPASSWORD} -locations=filesystem:/repo/flyway/sql info
2121
migration_envs: |
2222
DATABASE_LAB_CI=true
2323
FLYWAY_CONNECT_RETRIES=60
2424
FLYWAY_BASELINE_ON_MIGRATE=true
25+
DLE_HOST=172.17.0.1
2526
download_artifacts: true
2627
observation_interval: "1"
2728
max_lock_duration: "1"

0 commit comments

Comments
 (0)