daml/compatibility
Moritz Kiefer 629ec732dd
Include puppeteer tests in compat tests (#6018)
* Include puppeteer tests in compat tests

This PR adds the puppeteer based tests to the compatibility
tests. This also means that they are now actually compatibility
tests. Before, we only tested the SDK side.

Apart from process management being a nightmare on Windows as usually,
there are two things that might stick out here:

1. I’ve replaced the `sh_binary` wrapper by a `cc_binary`. There is a
   lengthy comment explaining why. I think at the moment, we could
   actually get rid of the wraper completely and add JAVA to path in
   the tests that need it but at least for now, I’d like to keep it
   until we are sure that we don’t need to add more to it (and then
   it’s also in the git history if we do need to resurrect it).
2. These tests are duplicated now similar to the `daml ledger *`
   tests. The reasoning here is different. They depend on the SDK
   tarball either way so performance wise there is no reason to keep
   them. However, we reference the other file in the docs which means
   we cannot change it freely. What we could do is to make this
   sufficiently flexible to handle both the `daml start` case and
   separate `daml sandbox`/`daml json-api` processes and then we can
   reference it in the docs. There is still added complexity for
   Windows but that’s necessary for users as well that want to run
   this on Windows so that seems unavoidable. (I should probably also
   remove my snarky comments 😇) I’d like to kee it duplicated
   for this PR and then we can clean it up afterwards.

changelog_begin
changelog_end

* Bump timeouts

changelog_begin
changelog_end
2020-05-22 14:02:59 +02:00
..
bazel_tools Include puppeteer tests in compat tests (#6018) 2020-05-22 14:02:59 +02:00
head_sdk Include the first feature in compat tests for create-daml-app (#6002) 2020-05-18 14:37:16 +02:00
sandbox-migration Add basic Sandbox data continuity tests (#5826) 2020-05-05 14:46:58 +02:00
versions Include the first feature in compat tests for create-daml-app (#6002) 2020-05-18 14:37:16 +02:00
.bazelignore Extend compatibility tests to test against HEAD (#5714) 2020-04-24 14:43:35 +02:00
bazel-haskell-deps.bzl Include puppeteer tests in compat tests (#6018) 2020-05-22 14:02:59 +02:00
BUILD Print the postgres log on failures (#5860) 2020-05-06 10:22:56 +00:00
build-release-artifacts-windows.ps1 Include the first feature in compat tests for create-daml-app (#6002) 2020-05-18 14:37:16 +02:00
build-release-artifacts.sh Include the first feature in compat tests for create-daml-app (#6002) 2020-05-18 14:37:16 +02:00
build-ts-libs.sh Include create-daml-app tests in compatibility tests (#5945) 2020-05-13 10:39:51 +02:00
deps.bzl Enforce a dependency on node_nix (#6035) 2020-05-19 16:58:00 +00:00
README.md Initial boilerplate for cross-version compatibility testing (#5665) 2020-04-23 12:58:11 +02:00
stack-snapshot.yaml Initial boilerplate for cross-version compatibility testing (#5665) 2020-04-23 12:58:11 +02:00
test-windows.ps1 Apply platform_suffix on all Windows pipelines (#5846) 2020-05-05 18:02:39 +00:00
test.sh Make compat tests work on windows (#5732) 2020-04-28 16:06:36 +02:00
update-versions.sh Update SDK versions in compatibility tests (#5844) 2020-05-05 19:40:03 +02:00
versions.bzl Include the first feature in compat tests for create-daml-app (#6002) 2020-05-18 14:37:16 +02:00
WORKSPACE Hermetic nixpkgs_cc_toolchain (#5976) 2020-05-18 18:03:51 +02:00
workspace_status.sh Initial boilerplate for cross-version compatibility testing (#5665) 2020-04-23 12:58:11 +02:00

This directory contains the infrastructure and test setup for cross-version compatibility testing. We make this a separate Bazel workspace to make it easier to enforce that we only depend on release artifacts.