mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
fix canton bump (#17494)
We've got a few failures recently that report not having delete access on GCS. This should address those.
This commit is contained in:
parent
9990ec658d
commit
33929d12ae
@ -211,13 +211,16 @@ jobs:
|
||||
os_url_path=canton-stable/$canton_version/$os_sha/canton-open-source-$canton_version.tar.gz
|
||||
os_upload_url=gs://daml-binaries/$os_url_path
|
||||
os_download_url=https://storage.googleapis.com/daml-binaries/$os_url_path
|
||||
if ! gcs "$GCRED" ls $os_upload_url; then
|
||||
gcs "$GCRED" cp $os_tmp $os_upload_url
|
||||
fi
|
||||
|
||||
ee_url="https://digitalasset.jfrog.io/artifactory/assembly/canton/$canton_version/canton-enterprise-$canton_version.tar.gz"
|
||||
ee_tmp=$(mktemp)
|
||||
curl -u $AUTH --fail --location --silent "$ee_url" > $ee_tmp
|
||||
ee_sha=$(sha256sum $ee_tmp | awk '{print $1}')
|
||||
ee_target_url=https://digitalasset.jfrog.io/artifactory/assembly/daml/canton-backup/$canton_version/$ee_sha/canton-enterprise-$canton_version.tar.gz
|
||||
if ! curl -u $AUTH -f -I $ee_target_url; then
|
||||
curl -u $AUTH \
|
||||
-f \
|
||||
-X PUT \
|
||||
@ -226,6 +229,7 @@ jobs:
|
||||
-H "X-Checksum-SHA256: $(sha256sum $ee_tmp | awk '{print $1}')" \
|
||||
-T $ee_tmp \
|
||||
$ee_target_url
|
||||
fi
|
||||
|
||||
sed -i 's|SKIP_DEV_CANTON_TESTS=.*|SKIP_DEV_CANTON_TESTS=false|' build.sh
|
||||
sed -e 's/^/# /' COPY > canton_dep.bzl
|
||||
|
Loading…
Reference in New Issue
Block a user