Skip to content

Commit

Permalink
Export variables to docker-build
Browse files Browse the repository at this point in the history
This commit export the `GENERATE_DOWNGRADE_SCRIPT` and `PG_VERSION`
variables from `test_downgrade_to_tag.sh` to `docker-build.sh`.
  • Loading branch information
mkindahl committed Jun 28, 2021
1 parent 4a599ba commit 4a99a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/test_downgrade_from_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ DO_CLEANUP=${DO_CLEANUP:-true}
PGOPTS="-v TEST_VERSION=${TEST_VERSION} -v TEST_REPAIR=${TEST_REPAIR} -v WITH_SUPERUSER=${WITH_SUPERUSER} -v WITH_ROLES=true -v WITH_CHUNK=true"
GENERATE_DOWNGRADE_SCRIPT=${GENERATE_DOWNGRADE_SCRIPT:-ON}

# The following variables are exported to called scripts.
export GENERATE_DOWNGRADE_SCRIPT PG_VERSION

# PID of the current shell
PID=$$

Expand Down

0 comments on commit 4a99a9c

Please sign in to comment.