mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
de03425664
* Include the first feature in compat tests for create-daml-app This adds the step from the create-daml-app tests that applies the patch for the messaging feature and tests that things will build. This is the last step before we can actually run the puppeteer tests which will turn this into an actual compatibility test. changelog_begin changelog_end * temporarily run all tests changelog_begin changelog_end * Fix exclusions changelog_begin changelog_end * Revert "temporarily run all tests" This reverts commit 7425dd09cf48f2bfd6064b55d857c76d51afc821. * Remove accidentally committed messaging.patch changelog_begin changelog_end
27 lines
960 B
Bash
Executable File
27 lines
960 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
# Build the release artifacts required for running the compatibility
|
|
# tests against HEAD. At the moment this includes the SDK release tarball
|
|
# and the ledger-api-test-tool fat JAR.
|
|
|
|
set -eou pipefail
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
eval "$(./dev-env/bin/dade-assist)"
|
|
|
|
# We allow overwriting this since on CI we build this in a separate step and upload it first
|
|
# before fetching it in another step.
|
|
HEAD_TARGET_DIR=${1:-compatibility/head_sdk}
|
|
|
|
bazel build \
|
|
//release:sdk-release-tarball \
|
|
//ledger/ledger-api-test-tool:ledger-api-test-tool_deploy.jar
|
|
|
|
cp -f bazel-bin/release/sdk-release-tarball.tar.gz "$HEAD_TARGET_DIR"
|
|
cp -f bazel-bin/ledger/ledger-api-test-tool/ledger-api-test-tool_deploy.jar "$HEAD_TARGET_DIR"
|
|
cp -f templates/create-daml-app-test-resources/messaging.patch "$HEAD_TARGET_DIR"
|