Commit Graph

256 Commits

Author SHA1 Message Date
Gary Verhaegen
444536ba24
fix daily canton bump (#17781) 2023-11-08 16:30:00 +00:00
Remy
44169064ea
fix update_canton_ jobs (#17762) 2023-11-07 11:51:45 +01:00
Remy
dc0b2f71a6
mege bump_canton and update_canton_sources jobs (#17757) 2023-11-06 17:37:31 +01:00
Remy
91b965bd8c
add readme to canton code drop (#17560) 2023-10-16 12:59:20 +02:00
Gary Verhaegen
4a84d2de3c
canton_drop: fix canton credentials (#17551) 2023-10-11 16:13:26 +00:00
Remy
0823af627e
fix name of canton update job (#17544) 2023-10-11 13:12:13 +02:00
Remy
1f31feac2b
Code drop of canton community (#17540)
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-10-10 11:29:37 +00:00
Remy
623f305e9c
Move canton directory to let place for code drop (#17506) 2023-09-29 14:37:01 +00:00
Gary Verhaegen
33929d12ae
fix canton bump (#17494)
We've got a few failures recently that report not having delete access
on GCS. This should address those.
2023-09-27 15:22:44 +02:00
azure-pipelines[bot]
7d74dc0aa9
bump canton to 2.8.0-snapshot.20230919.11183.0.v52763301 (#17457)
* bump canton to 2.8.0-snapshot.20230919.11183.0.v52763301

CHANGELOG_BEGIN
CHANGELOG_END

* fix canton url

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-09-20 18:39:59 +02:00
Gary Verhaegen
3d08291ae6
fix typo in bump-canton job (#17435) 2023-09-19 10:36:14 +00:00
Gary Verhaegen
82655f2f29
keep stable copies of Canton artifacts (#17415) 2023-09-18 18:16:24 +02:00
Gary Verhaegen
2dbfb68080
fix BlackDuck scan (#17400)
The latest udpate of the BlackDuck script broke our run. In order to get
a successful scan tomorrow, this PR:

- Pins us back on yesterday's script version, and
- Adds an auto-update mechanism.

This way, we get to stay reasonably up-to-date with automated update
PRs, but we also get to choose when we upgrade.
2023-09-14 16:29:39 -04:00
Gary Verhaegen
675a325cd3
fix Linux cache (macOS still seems broken) (#17369) 2023-09-06 21:21:56 +02:00
Gary Verhaegen
a87818464e
fix bazel cache use on CI (#17363) 2023-09-05 16:51:18 +00:00
Gary Verhaegen
d03ffb0329
fix bump_canton (#17166) 2023-07-24 13:19:05 +02:00
Gary Verhaegen
eda4698ced
enable manual cnaton bumps (#17155) 2023-07-20 14:59:26 +02:00
Gary Verhaegen
03a2d336d2
fix local canton for compat (#17146) 2023-07-19 12:18:58 +00:00
Gary Verhaegen
cace97977d
fix bump_canton (#17062)
run-full-compat: true
2023-06-29 12:20:38 +00:00
Gary Verhaegen
0e9cb10f7d
optionally get canton EE (#17039) 2023-06-27 11:00:24 +02:00
Gary Verhaegen
77294d35ed
fix bump-canton job (#16959)
run-full-compat: true
2023-06-07 13:41:48 +02:00
Gary Verhaegen
de6f31c4d8
canton: allow depending on arbitrary sha (#16926) 2023-06-01 15:06:35 +00:00
Remy
4845ddf48d
Skip 1.dev integration tests on Windows (#16937) 2023-05-30 14:42:32 +00:00
Gary Verhaegen
8d0357ce02
update bump_canton for new snapshot format (#16919) 2023-05-25 17:05:00 +02:00
Remy
b2eb3224e7
fix canton update hook (#16851) 2023-05-12 09:13:07 +00:00
Remy
a863d69d34
Move CatonFixture in its own bazel module (#16824) 2023-05-10 23:15:26 +00:00
Gary Verhaegen
d37fe6f7e8
fix canton switch (#16785) 2023-05-02 14:21:19 +00:00
Gary Verhaegen
1f3c22cf10
reenable canton tests every day (#16765)
This is obviously not going to do anything until some tests have the
tag.
2023-04-27 21:42:16 +00:00
Gary Verhaegen
f3943c4574
fix canton update (#16622)
Broken by #16595.
2023-03-29 17:03:16 +02:00
Gary Verhaegen
7f6b1fe3e8
Fix blackduck (#16598)
* fix blackduck

BlackDuck is currently failing to run because it creates multiple report
files and then expects a single one. This is due to #16552 changing only
one of the output file names.

This PR resolves this by:

1. Changing the name everywhere, so all runs aggregate their results on
   the same file.
2. Changing the PR step code to expect the given file name, rather than
   try and glob it.

My understanding of the BlackDuck setup is very fuzzy so please
double-check carefully.

See #16600 for an example of what the update would be from this PR.

* Update daily-compat.yml

main instead of local-main-maven

---------

Co-authored-by: Brian Healey <brian.healey@digitalasset.com>
2023-03-27 00:31:25 +00:00
Gary Verhaegen
d2664edbf1
fix bump_canton (#16558)
Broken by #16538 yesterday.

run-full-compat: true
2023-03-16 11:59:52 -04:00
Brian Healey
81107ff834
correct to --detect.bazel.workspace.rules to fix bazel JVM and Haskell scans (#16552) 2023-03-15 14:26:36 -04:00
Gary Verhaegen
8435730ac3
rewrite check-releases in Bash (#16260) 2023-02-15 11:11:41 +01:00
Remy
61eae5c3d3
[compatibility test] update to LF 1.15 (#16259) 2023-02-10 09:10:16 +01:00
Gary Verhaegen
fc8eadf164
stop managing docs (#16226)
The docs S3 bucket will now be entirely managed by the docs repo CI.
2023-02-06 13:29:03 +01:00
Gary Verhaegen
79058cc4fa
comment COPY in canton_dep (#16007) 2023-01-05 16:47:16 +01:00
Gary Verhaegen
9e4a24d198
use COPY in canton_dep update (#16006) 2023-01-05 13:31:40 +01:00
Gary Verhaegen
151e12b81a
bump copyright (#16002)
This is the result of:

- Updating `./COPY` to say `2023`.
- Running `./dev-env/bin/dade-copyright-headers update .`
2023-01-04 18:21:15 +01:00
Gary Verhaegen
f801cd469e
daily compat: fix BlackDuck invocation (#15004)
From output of currently failed jobs:

```
The key 'detect.npm.dependency.types.excluded' in property source
'commandLineArgs' contained a value that could not be reasonably
converted to the properties type. The exception was: Unable to parse raw
value 'NON_PRODUCTION' and coerce it into type 'NoneEnum or
NpmDependencyType'. Value was must be one of NONE,DEV,PEER
```

It looks like I was a bit overeager on #14995.

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-12 11:12:51 +00:00
Gary Verhaegen
eb75f5b9ed
fix blackduck (#14995) 2022-09-09 11:01:46 +00:00
Gary Verhaegen
7d59e3d4a0
daily compat: reduce flakiness (#14664)
- The `check_releases` job seems to take between 4.5h and `TIMEOUT`
  these days, with no clear cause for the large span in running time.
  Hopefully bumping the limit from 4.5 to 8 hours will give us some
  breathing room (this is not by any means a long-term solution, I'm well
  aware of that).
- I couldn't find anybody who seemed to care about running the
  create-daml-app compatibility tests on macOS, and they're super flaky
  (typically requiring 5 reruns to succeed).

CHANGELOG_BEGIN
CHANGELOG_END

run-full-compat: true
2022-08-09 23:56:08 +02:00
Gary Verhaegen
95d9504012
daily: stop running JSON API perf tests (#14611)
After discussion with the team, we've reached the conclusion that the
JSON API is not changing enough for these performance tests to bring
much value: we're not in a situation where we think there's a high risk
of performance regressions, nor trying to focus on performance
improvements.

Note that this is only removing the tests from the daily run; the team
does see value in keeping the code for these tests around in case any
performance-focused work does arise in the future.

(This PR also disables running the `check_releases` job outside of main
branch runs, because there's really never been a good reason to.)

Fixes #14608.

CHANGELOG_BEGIN
CHANGELOG_END

run-full-compat: true
2022-08-04 09:56:42 +02:00
Gary Verhaegen
7387a7c92d
daily: disable http/pg perf test (#14442)
Since yesterday, this test is failing with an OOM error. I hoped I'd
have time to investigate today, but since I didn't and I'm off next week
disabling the test for now seems like the best option to let the overall
daily tests succeed.

The last known success was on 0bf28176a7,
and the first failure was on 444fff1fcf.
We don't test every commit, so any commit in-between could be the cause
of the issue.

Note that the failure does not seem to be flaky, but further testing may
be warranted.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-16 12:29:05 +02:00
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
Gary Verhaegen
6cdb68daca
ci/cron: fix Wednesday (#14297)
There's a small, subtle bug that made its way into #14287: apparently
`/dev/stdout` is not defined on CI.

On the bright side, we don't actually need the `out` parameter, so
removing it seems like the easiest fix here.

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-29 17:57:55 +02:00
Moisés Ackerman
6072629c7a
Request review for release rotation PR (#14287)
* Merge ci/cron/wednesday.yml open_pr function into ci/bash-lib.yml

* remove unused function reset from ci/cron/wednesday.yml

* Request review from current release person for rotation PR

changelog_begin
changelog_end
2022-06-28 19:45:37 +02:00
Gary Verhaegen
d6dd03751f
cron: faster check_releases (hopefully) (#14209)
The check_releases job has been a major player in the flakiness of the
daily test lately, simply by _timing out_ despite its 6h limit.

There are smarter, more "permanent" fixes we could implement here, but
as a quick stopgap measure I wanted to try out how much faster we would
go if we didn't need to reestablish a GCloud identity for each file.

CHANGELOG_BEGIN
CHANGELOG_END

run-full-compat: true
2022-06-17 17:56:51 +02:00
Gary Verhaegen
e78303332a
docs: fix top-level update function (#14204)
After yet another report of a ghost file, I stared at the code even
harder than before and finally figured out what was going wrong (or at
least one way it was going wrong): `listDirectory` is not recursive, so
the current code would only delete top-level files.

Hopefully this fixes that. I'll try to do some manual cleanup too.

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-16 18:42:39 +00:00
Gary Verhaegen
9a98fa04f5
fix compat bump (#13702)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-26 15:46:46 +00:00
Gary Verhaegen
474bbe1327
restore compat update (#13663)
With the new 2.0.0 release process, we're not releasing from the main CI
build anymore, so the compat update PRs are not getting created.

This restores that by making those PR creations part of the daily CI
build.

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-22 17:28:16 +02:00