Bas Dijkstra
11/09/2022, 12:43 PMTimothy Jones
11/09/2022, 6:55 PMTimothy Jones
11/09/2022, 6:55 PMTimothy Jones
11/09/2022, 6:57 PMMatt (pactflow.io / pact-js / pact-go)
However, Iām not sure if it is possible to publish changes to a contract without an artefact version bump? If thatās not possible, I think we need to start having a serious talk with the various dev teams to get their versioning in order..š
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Iād love to hear some experiences from others about the frequency with which they run their contract tests, what that brought them and what things they had to keep in mind. How much do you really shift to the left with your contract tests?it should really be every single build, and also run on dev machines prior to commit. In the case of the provider, it should be tested against a locally running version of the software with external dependencies stubbed out (i.e. a so called āhermetic serverā) (image taken from https://docs.pact.io/getting_started/testing-scope)
Matt (pactflow.io / pact-js / pact-go)
Bas Dijkstra
11/10/2022, 7:45 AMMatt (pactflow.io / pact-js / pact-go)
Bas Dijkstra
11/10/2022, 12:35 PMTimothy Jones
11/10/2022, 5:57 PMBas Dijkstra
11/11/2022, 12:08 PMBas Dijkstra
11/11/2022, 12:09 PMBas Dijkstra
11/17/2022, 9:59 AMBas Dijkstra
11/17/2022, 10:12 AMpact-jvm-provider-maven
plugin to publish consumer contractsTimothy Jones
11/17/2022, 10:16 AMTimothy Jones
11/17/2022, 10:17 AMBas Dijkstra
11/17/2022, 10:17 AM<projectVersion>${project.version}-${git.shorthash}</projectVersion>
Timothy Jones
11/17/2022, 10:18 AMBas Dijkstra
11/17/2022, 10:18 AMBas Dijkstra
11/17/2022, 10:18 AMTimothy Jones
11/17/2022, 10:18 AMBas Dijkstra
11/17/2022, 10:19 AMTimothy Jones
11/17/2022, 10:19 AMBas Dijkstra
11/17/2022, 10:19 AMTimothy Jones
11/17/2022, 10:20 AMTimothy Jones
11/17/2022, 10:20 AMBas Dijkstra
11/17/2022, 10:24 AMBas Dijkstra
11/17/2022, 10:24 AMBas Dijkstra
11/17/2022, 10:59 AMBas Dijkstra
11/17/2022, 10:59 AMBas Dijkstra
11/17/2022, 11:04 AMBas Dijkstra
11/17/2022, 1:38 PM${git.shorthash}
shortcode as seen here (under Publishing Pact files to a Pact broker)?Matt (pactflow.io / pact-js / pact-go)
uglyog
-Dpact.projectVersion=...
)uglyog
git.shorthash
system property. That is not the default Maven behaviour (Maven knows nothing about Git)uglyog
-Dgit.shorthash=...
to your command line (replacing the ...
with the actual Git SHA, of course)Matt (pactflow.io / pact-js / pact-go)
uglyog
Does Maven support environment variables in the same places as system props?Please refer any Maven questions to the Maven people
Timothy Jones
11/18/2022, 5:24 AMgit describe
output, which is very similar to what absolute-version does (the main difference is that absolute-version is semver compatible)Bas Dijkstra
11/18/2022, 8:05 AMTimothy Jones
11/19/2022, 5:21 AMI'd like to stick to Maven (yes, I said that)You don't have to explain yourself to us š
Matt (pactflow.io / pact-js / pact-go)
Cheers folks! I thought it maybe was a feature I didnāt know of. Looks like Iāll have to take a closer look at that plugin (or see how to pass it through the CLI). Iād like to stick to Maven (yes, I said that) because so much is managed through Maven in this org Iām working with, probably easier to educate people that way.No judgement š¬