Skip to content

Commit

Permalink
test: update to saf scope / drop verifier cli to 0.9
Browse files Browse the repository at this point in the history
- failing on missing interaction keys
- saf scope because some tests require pact-foundation.pactflow.io token
  • Loading branch information
YOU54F committed Apr 25, 2024
1 parent c23051d commit ab0c47c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.88.77/pact-1.88.77-linux-x86_64.tar.gz
tar xzf pact-1.88.77-linux-x86_64.tar.gz
VER=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
pact/bin/pact-broker publish -a "$VER+$GITHUB_SHA" -b https://pact-foundation.pactflow.io -k ${{ secrets.PACTFLOW_TOKEN }} target/pacts
pact/bin/pact-broker publish -a "$VER+$GITHUB_SHA" -b https://saf.pactflow.io -k ${{ secrets.PACTFLOW_TOKEN }} target/pacts
working-directory: drivers/rust/driver_pact_tests
if: runner.os == 'Linux'

Expand Down
14 changes: 10 additions & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ expectest = "0.12.0"
test-log = "0.2.14"
env_logger = "0.10.1"

[profile.release]
strip = true
opt-level = "z"
codegen-units = 1
# [profile.release]
# strip = true
# opt-level = "z"
# codegen-units = 1
# lto = true

# References
# https://doc.rust-lang.org/stable/rustc/codegen-options/
# https://doc.rust-lang.org/rustc/profile-guided-optimization.html
# https://github.com/johnthagen/min-sized-rust
2 changes: 1 addition & 1 deletion drivers/jvm/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ test {

pact {
publish {
pactBrokerUrl = 'https://pact-foundation.pactflow.io'
pactBrokerUrl = 'https://saf.pactflow.io'
consumerVersion = "${project.version}+${gitSha}"
if (project.hasProperty('pactBrokerToken')) {
pactBrokerToken = project.pactBrokerToken
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-verifier-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
set -x

VERSION="1.1.1"
VERSION="0.9.20"

mkdir -p ~/.pact/bin
case "$(uname -s)" in
Expand Down

0 comments on commit ab0c47c

Please sign in to comment.