Skip to content

Commit

Permalink
remove PATH hack
Browse files Browse the repository at this point in the history
was needed for #408 to pass CI
  • Loading branch information
rtwalker committed May 25, 2022
1 parent 73d1a7e commit abcaf0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion docker/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN cargo install cargo-pgx --version '=0.2.4' --root /home/postgres/pgx/0.2 \
&& cargo install cargo-pgx --version '=0.4.5' --root /home/postgres/pgx/0.4

# TODO After we upgrade to 0.4 change this to 0.4 and remove the hack in tools/build .
ENV PATH "/home/postgres/pgx/0.2/bin/:${PATH}"
ENV PATH "/home/postgres/pgx/0.4/bin/:${PATH}"

RUN set -ex \
&& cargo pgx init --pg12 download --pg13 download --pg14 download \
Expand Down
3 changes: 0 additions & 3 deletions tools/build
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

set -ex

# TODO After we upgrade to 0.4 make this change in docker/ci/Dockerfile and then remove this line.
export PATH=/home/postgres/pgx/0.4/bin:$PATH

print() {
printf '%s\n' "$*"
}
Expand Down

0 comments on commit abcaf0f

Please sign in to comment.