Skip to content

Commit

Permalink
upgrade to pgrx 0.11.0 (#163)
Browse files Browse the repository at this point in the history
* upgrade to pgrx 0.11.0

* fix pgrx version
  • Loading branch information
ChuckHend authored Nov 18, 2023
1 parent c18e4ee commit 8ab3d80
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 30 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/extension_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ jobs:
- name: trunk build
working-directory: ./
run: trunk build
# use below when trunk build supports --dockerfile for pgrx
# run: |
# pgmq_ver=$(stoml extension/Cargo.toml package.version)
# trunk build --path . --dockerfile ./Dockerfile.build --install-command "cd extension && cargo pgrx install" --name pgmq --version ${pgmq_ver}
- name: trunk publish
working-directory: ./
env:
Expand Down
52 changes: 29 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg_test = []

[dependencies]
pgrx = "0.10.2"
pgrx = "0.11.0"
serde = "1.0.152"
pgmq_core = { package = "pgmq-core", path = "./core" }
serde_json = "1.0.91"
thiserror = "1.0.38"

[dev-dependencies]
pgrx-tests = "0.10.2"
pgrx-tests = "0.11.0"
chrono = { version = "0.4.23", features = ["serde"] }
rand = "0.8.5"
sqlx = { version = "0.7.2", features = [
Expand Down
2 changes: 1 addition & 1 deletion images/pgmq-pg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN $HOME/.cargo/bin/rustup default stable

# init pgrx
RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version=0.10.2 --locked
RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version=0.11.0 --locked
RUN $HOME/.cargo/bin/cargo pgrx init --pg15 $(which pg_config)

# install pgmq
Expand Down

0 comments on commit 8ab3d80

Please sign in to comment.