daml/ci
Gary Verhaegen 66f4b243f4
docs: fix top-level update (#14338)
There were two issues:

1. The `Directory.listFilesRecursive` function returns paths that
   include its first argument, so there was never any overlap between
   the sets.
2. That full path doesn't exist on AWS, and was given to AWS because
   `s3Path opts f` returns just `f` if it starts with `/`.

This means that, on the one hand, the script tried to delete
_everything_ from the top-level, which is a bit bad, but, on the other
hand, the script did not actually manage to delete anything at all,
which is basically the status quo.

Note that deleting everything isn't _that_ bad as we reupload right
after and we have a cache in front on the site, so this would only
impact users if they were the first to try and view a given page in that
small time window between deletion and reupload.

This PR should fix both issues by removing the version-specific prefix.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-04 21:27:36 +02:00
..
cron docs: fix top-level update (#14338) 2022-07-04 21:27:36 +02:00
docker fix daml-sdk Docker image (#14055) 2022-06-01 17:58:22 +00:00
assembly-split-release-artifacts.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
bash-lib.yml ci/cron: fix Wednesday (#14297) 2022-06-29 17:57:55 +02:00
BUILD Introduce dependency on Oracle image version (#10597) 2021-08-17 13:28:26 +00:00
build-unix.yml Fix daml script reference in copy-unix-release-artifacts (#12933) 2022-02-15 09:53:15 +01:00
build-windows.yml split: do not push exe (#12574) 2022-01-25 16:29:57 +01:00
build.yml split releases: add parameter (#14032) 2022-06-03 11:40:48 +02:00
check-changelog.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
check-for-release-job.yml nightly split releases (#12744) 2022-02-03 19:05:35 +00:00
check-protobuf-stability.sh Remove kvutils buf configuration and other leftovers [KVL-1427] (#13732) 2022-04-28 16:00:23 +02:00
clean-up.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
clear-shared-segments-macos.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility_ts_libs.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility-windows.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility.yml Disable compat tests for forks (#13964) 2022-05-24 10:07:57 +00:00
configure-bazel.sh bump Bazel cache (#13635) 2022-04-20 02:53:43 +02:00
copy-unix-release-artifacts.sh docs: push source tree deps (#13814) 2022-05-06 15:42:26 +00:00
copy-windows-release-artifacts.sh remove Windows installer (#13586) 2022-04-13 16:18:07 +02:00
daily-snapshot.yml split releases: add parameter (#14032) 2022-06-03 11:40:48 +02:00
dev-env-install.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
dev-env-push.py update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
job-variables.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
oracle_image upgrade to latest released oracle 19.15 (#14079) 2022-06-02 18:33:54 -04:00
postgresql.conf Fix sandbox database config in script & trigger tests (#11655) 2021-11-12 06:18:12 +00:00
prs.yml Drop dependency on hosted nodes (#12901) 2022-02-14 02:49:38 +01:00
publish-artifactory.sh split: flat(ter) files in Artifactory (#12575) 2022-01-25 16:41:55 +01:00
publish-platform-independence-dar.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
remap-scala-test-short-names.ps1 Further copyright updates (#12249) 2022-01-04 16:32:17 +01:00
report-end.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
report-start.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
slack_user_ids remove Samir's accesses (#13247) 2022-03-10 13:55:10 +00:00
split-release-job.yml split: tell slack (#12874) 2022-02-10 15:33:34 +00:00
tell-slack-failed.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
upload-bazel-metrics.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
windows-diagnostics.ps1 windows: CI agent diagnostics (#1146) 2019-05-15 11:59:56 +02:00