From 0b5c4b2a08d785f9f5b20425ab2bddfb6938a130 Mon Sep 17 00:00:00 2001 From: Gary Verhaegen Date: Thu, 4 Jan 2024 19:07:41 +0100 Subject: [PATCH] remove hourly canton-3x build (#18085) We want to run this daily instead, which already happens as part of the daily canton bump PR. --- azure-cron.yml | 16 --------------- ci/build-canton-3x.sh | 47 ------------------------------------------- 2 files changed, 63 deletions(-) delete mode 100755 ci/build-canton-3x.sh diff --git a/azure-cron.yml b/azure-cron.yml index 59dff0dd9f..b045111a73 100644 --- a/azure-cron.yml +++ b/azure-cron.yml @@ -211,19 +211,3 @@ jobs: - template: ci/tell-slack-failed.yml - template: ci/refresh-get-daml-com.yml - - - job: build_canton_3x_with_bazel - timeoutInMinutes: 120 - pool: - name: 'ubuntu_20_04' - demands: assignment -equals default - steps: - - checkout: self - - bash: | - set -euo pipefail - git fetch - git checkout origin/main - ci/build-canton-3x.sh - env: - GITHUB_TOKEN: $(CANTON_READONLY_TOKEN) - - template: ci/tell-slack-failed.yml diff --git a/ci/build-canton-3x.sh b/ci/build-canton-3x.sh deleted file mode 100755 index 687768dd5f..0000000000 --- a/ci/build-canton-3x.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. -# SPDX-License-Identifier: Apache-2.0 - -set -euo pipefail - -eval "$(./dev-env/bin/dade-assist)" - -tmp=$(mktemp -d) -trap 'rm -rf ${tmp}' EXIT - -if [ -z "${GITHUB_TOKEN:-}" ]; then - repo_url="git@github.com:DACH-NY/canton.git" -else - repo_url="https://$GITHUB_TOKEN@github.com/DACH-NY/canton" -fi - -git clone --depth 1 --branch main $repo_url $tmp -head=$(git -C $tmp rev-parse HEAD) -echo "cloned at revision $head" - -daml_common_staging_src="$tmp/daml-common-staging" -community_src="$tmp/community" - -daml_common_staging_dst="canton-3x/daml-common-staging" -community_dst="canton-3x/community" - -# Clean-up existing dirs -rm -rf $daml_common_staging_dst $community_dst - -# Copy files from the cloned Canton repo /community and exclude symlinks to Daml sources -rsync -a \ - --exclude="$community_src/participant/src/main/resources/ledger-api/VERSION" \ - --exclude="$community_src/lib/daml-copy-testing/sample-service-test-symlink/scala/com" \ - --exclude="$community_src/lib/daml-copy-testing/rs-grpc-pekko-test-symlink/scala/com" \ - --exclude="$community_src/lib/daml-copy-protobuf-java/protobuf-daml-symlinks/transaction/com" \ - --exclude="$community_src/lib/daml-copy-protobuf-java/protobuf-daml-symlinks/archive/com" \ - --exclude="$community_src/lib/daml-copy-testing-0/rs-grpc-bridge-test-symlink/java/com" \ - --exclude="$community_src/lib/daml-copy-testing-0/ledger-resources-test-symlink/scala/com" \ - --exclude="$community_src/lib/daml-copy-testing-0/protobuf-daml-symlinks/ledger-api-sample-service/hello.proto" \ - --exclude="$community_src/lib/daml-copy-testing-0/observability-metrics-test-symlink/scala/com" \ - --exclude="$community_src/lib/daml-copy-testing-0/observability-tracing-test-symlink/scala/com" \ - $community_src canton-3x - -rsync -a $daml_common_staging_src canton-3x - -bazel build //canton-3x/...