Commit Graph

12561 Commits

Author SHA1 Message Date
azure-pipelines[bot]
8cbb7f79e7
update NOTICES file (#18134)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-11 11:10:11 +01:00
mziolekda
576560428f
remove non-repudiation (#18089)
run-all-tests: true
2024-01-10 20:23:04 +00:00
mziolekda
36fe0abb09
Remove ledger api test tool (#18088)
* Remove ledger api test tool

* Force full compat

run-full-compat: true

* Force run all tests

run-all-tests: true

---------

Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-01-10 16:48:12 +00:00
Paul Brauner
bef1938a21
fix calls to open_pr (#18129) 2024-01-10 16:57:05 +01:00
Gary Verhaegen
ee94820b4c
small fix to precommit (#18126) 2024-01-10 14:38:23 +00:00
Paul Brauner
489916a1e2
Fix the canton-2.x code drop (#18125)
When deciding whether it's worth creating a PR, diff against the main-2.x branch, not the main one.
2024-01-10 14:19:55 +00:00
azure-pipelines[bot]
a139a44527
update NOTICES file (#18119)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-10 14:01:26 +01:00
Gary Verhaegen
67a1b6a4c8
ci: fix daily-reset (#18121)
I wasn't sure what exactly was causing the issue so I removed everything
I thought might be:

- Added quotes to the GET_TARGETS heredoc.
- Remove the jq invocation at the end of the heredoc.
- Removed the subshells in crontab.

This now seems to work, though the (limited) output I'm seeing on the
machine is still not quite what I expected. Some of the changes may not
have been strictly needed, but given how slow the turnaround for this is
I'd prefer not to try and see which ones.
2024-01-10 13:09:22 +01:00
Gary Verhaegen
e67f988baf
fix daily snapshot for 2.x (#18123) 2024-01-10 11:39:55 +00:00
Paul Brauner
2a77ae5d0d
Use different branch names for the two code drops (#18120)
The code drop task targeting main-2.x uses the same feature branch name for its PR as the task targeting main. First one wins. This PR fixes that.
2024-01-10 10:30:51 +01:00
Moisés Ackerman
53372e3795
Add pre-commit and ./fmt.sh --test checks for yarn.lock file (#18112)
* Add yarn-lock-check pre-commit check

* Invoke yarn-lock-check pre-commit check from './fmt.sh --test'

* Run yarn-lock-check when yarn.lock changes
2024-01-10 10:16:09 +01:00
Moisés Ackerman
da51efa1d1
Set 'optDetailLevel = PrettyLevel (-1)' in integration tests (#18113)
This means we don't need to postprocess the damlc output to remove package ids
2024-01-10 10:14:18 +01:00
azure-pipelines[bot]
e0fb4d31cd
update canton to 20240109.12206.0.vcf1c3d60/2.9.0-snapshot.20240109.11690.0.vbbd2ff67/3.0.0-snapshot.20240109.12206.0.vcf1c3d60 (#18117)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-10 09:08:09 +01:00
Gary Verhaegen
546211105f
only notify canton if upgrade build fails (#18114) 2024-01-10 06:46:38 +01:00
Paul Brauner
54009a41e6
also code drop on main-2.x (#18111) 2024-01-09 18:20:53 +01:00
azure-pipelines[bot]
5e25e08f34
update canton to 20240108.12193.0.vfed0b7df/2.9.0-snapshot.20240108.11687.0.v4072644f/3.0.0-snapshot.20240108.12193.0.vfed0b7df (#18100)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-09 17:52:18 +01:00
azure-pipelines[bot]
2ea4403a90
update NOTICES file (#18095)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-09 17:21:50 +01:00
Paul Brauner
3f92c83316
Revert "Run the CI on PRs targetting main-3.x (#18068)" (#18106)
This reverts commit af7545ff46.
2024-01-09 17:16:43 +01:00
Gary Verhaegen
bab51e6304
main-2.x: run daily-snapshot job (#18109) 2024-01-09 16:30:31 +01:00
Gary Verhaegen
ef2a5e23c7
bump nightly (#18104) 2024-01-09 16:28:02 +01:00
Gary Verhaegen
559a633557
enable prs builds on PRs targeting main-2.x (#18105) 2024-01-09 16:08:17 +01:00
Samuel Williams
9a4d6a403d
Daml3-Script Submit refactor (#17974)
* Replace daml submits with single question

* Remove old submits in scala
Implement new submit in grpc client

* Replace old submits in IDE and json

* Assorted fixes

* Fix stack trace issues with submit

* Fix integration tests with backwards compat

* Move explicit package id to each command

* Remove Upgrading.Internal

* Formatting

* Self review

* Apply review suggestions

* Trigger tests

run-all-tests: true
2024-01-09 09:42:53 +00:00
Moisés Ackerman
89cdb8d8a0
Haskell SdkVersion inversion (#18066)
* Remove //:sdk-version-hs-lib

* Add //sdk-version/hs:sdk-version-{class-,}lib

* Use //sdk-version/hs:sdk-version-{class-,}lib instead of //:sdk-version-hs-lib

* Fix //daml-assistant/daml-helper:test-deployment

* Fix da-hs-base.cabal

* Fix daml-project-config.cabal

* Move DA.Service.Logger.Impl.GCP out of da-hs-base

This means that da-hs-base no longer depends on sdk-version-class-lib, so users of the cabal file don't need to make any changes

* Move version data types out of daml-project-config

* Now //sdk-version/hs:sdk-version-class-lib depends on //libs-haskell/da-version-types

* back to the past (fmt.sh)

* yarn.lock changes to appease fmt.sh
2024-01-09 10:24:31 +01:00
azure-pipelines[bot]
a483cabf16
update canton to 20240105.12177.0.v3ee6912f/2.9.0-snapshot.20240105.11680.0.v260fdcb4/3.0.0-snapshot.20240105.12177.0.v3ee6912f (#18094)
* update canton to 20240105.12177.0.v3ee6912f/2.9.0-snapshot.20240105.11680.0.v260fdcb4/3.0.0-snapshot.20240105.12177.0.v3ee6912f

tell-slack: canton

* fix canton-3x build

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-01-08 22:44:17 +01:00
Moisés Ackerman
c8d0bc4ffc
infra/azure.tf: add /root/get-targets.sh script to select CI scaling targets (#18052)
This is used to modify the scaling targets during the holiday break while avoiding cron infelicities
2024-01-08 13:27:24 +00:00
Simon Maxen
5cc9ae7dc4
Remove deprecated global key constructors (#18060) 2024-01-08 12:58:40 +00:00
Gary Verhaegen
730d377f23
fix package.json (#18092)
This is currently preventing BlackDuck from running.
2024-01-05 21:14:20 +00:00
Gary Verhaegen
7dc3439c9a
manual canton bump (#18091)
I've manually ran through the steps in ci/cron/daily-compat.yml. This is
a do-over of #18090 because the diff hadn't changed after rebasing on
\#18081 and that seemed weird, and I didn't want anyone to spend time on
a build failure that may just be an artifact of some wires crossing at
the git level.

---------

* add a missing scala_library "sequencer-driver"

---------

Co-authored-by: Meriam Lachkar <meriam.lachkar@digitalasset.com>
2024-01-05 16:42:09 +01:00
Meriam Lachkar
de9ce628d3
fix build_canton_3x_with_bazel (#18081)
* fix build_canton_3x_with_bazel

* Code pull

* fixing issues with admin-api new project

* fix the way we were passing java_conversions to scalapb plugin

* Enable `proto_gen` to correctly generate Java conversions when using the `scalapb` plugin (#18087)

* Enable `proto_gen` to correctly generate Java conversions when using the `scalapb` plugin

* Remove reference to removed parameter

---------

Co-authored-by: Rafael Guglielmetti <rafael.guglielmetti@digitalasset.com>
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2024-01-05 12:10:14 +01:00
Gary Verhaegen
0b5c4b2a08
remove hourly canton-3x build (#18085)
We want to run this daily instead, which already happens as part of the
daily canton bump PR.
2024-01-04 19:07:41 +01:00
Gary Verhaegen
d48f3130ea
tell team-canton-notifications on canton update failures (#18086) 2024-01-04 19:07:31 +01:00
Gary Verhaegen
faf1604308
infra: remove stale GCP resources (#18082) 2024-01-03 17:32:22 +01:00
azure-pipelines[bot]
40d963b50e
rotate release duty after 2023-12-20 (#18054)
@akrmn is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-02 13:55:35 +00:00
Remy
ca9bd5e620
Engine: support for upgradable interface instance (#18072) 2023-12-31 18:55:07 +01:00
Paul Brauner
af7545ff46
Run the CI on PRs targetting main-3.x (#18068) 2023-12-21 22:00:39 +00:00
Remy
04684e2c41
ad-hoc snapshot (#18065) 2023-12-21 15:50:03 +00:00
azure-pipelines[bot]
6a98310923
update canton to 20231221.12090.0.va8191d44/2.9.0-snapshot.20231220.11662.0.v3fffed35/3.0.0-snapshot.20231221.12090.0.va8191d44 (#18062)
* update canton to 20231221.12090.0.va8191d44/2.9.0-snapshot.20231220.11662.0.v3fffed35/3.0.0-snapshot.20231221.12090.0.va8191d44

CHANGELOG_BEGIN
CHANGELOG_END

* fix canton

* fix the build of the pingpong vacuum package

---------

Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2023-12-21 14:48:46 +01:00
Remy
c998203f59
update logback & grpc (#18063)
Fix logback CVE: https://www.cve.org/cverecord?id=CVE-2023-6378
Follow GRPC recommendations of https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty
2023-12-21 14:24:05 +01:00
azure-pipelines[bot]
9ab22ec903
update canton to 20231219.12068.0.v5a57880a/2.9.0-snapshot.20231219.11658.0.vf7fbf8cf/3.0.0-snapshot.20231219.12068.0.v5a57880a (#18055)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-21 09:30:31 +00:00
Remy
a3217f67ce
Fix akka deps in compatibility test (#18057)
* akka binding are not available anymore in 2.8.0
* do not test pre 2.0.0 SDKs anymore
2023-12-21 10:18:53 +01:00
Remy
ea4085bd28
do not build canton as separate task (#18058) 2023-12-21 09:47:48 +01:00
Bas van Gijzel
92c22580d0
Update UNRELEASED.md after 2.8.0 release (#18059) 2023-12-20 16:20:41 +00:00
Moisés Ackerman
67351efbfc
Fix //compiler/damlc/tests:multi-package on main (#18056) 2023-12-20 14:08:12 +00:00
Remy
daa3f87f00
Propagate PackageRef to submit (#18041) 2023-12-20 12:11:36 +01:00
Raphael Speyer
dbe2b0217b
JSON API HTTPS: use a library to be more flexible in the private keys we support (#18047)
The original implementation parsed the private key file manually to avoid adding any library deps in the middle of the CVE-quake, where libraries were already being changed. To avoid inscrutable errors, I added an assertion to ensure the input was exactly what was expected.
Now that dependency flux has settled down, we can switch to BouncyCastle, which is more flexible in its formats, and remove the extra assertion.
2023-12-20 11:57:09 +11:00
Moisés Ackerman
4ecee766b6
Revert "ci holiday: even CI nodes deserve a break (#18045)" (#18051)
This reverts commit 5a0f0a18af.
2023-12-19 18:03:39 +00:00
Samuel Williams
6a88119637
Multi package test (#17746)
* Multi package test scaffold and first batch

* Add next set of tests

* Rearrange, add source testing

* Explicit imports

* Install sdk in tests

* Blank setEnv is different to normal setEnv >:(

* Fix paths for windows

* Add daml.yaml changes tests (that fail)

* Update from comments, add sdk-version check

* Update tests to match changes to CLI behaviour
2023-12-19 11:03:29 +00:00
azure-pipelines[bot]
e01b623477
update canton to 20231218.12048.0.v12ec1f16/2.9.0-snapshot.20231218.11653.0.v6d6cda48/3.0.0-snapshot.20231218.12048.0.v12ec1f16 (#18050)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-19 10:56:26 +00:00
azure-pipelines[bot]
58a51f2151
rotate release duty after 2023-12-13 (#18019)
@samuel-williams-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-19 10:29:17 +00:00
Gary Verhaegen
5a0f0a18af
ci holiday: even CI nodes deserve a break (#18045)
This updates the daily-reset cron to make a special case of December 23
through 31 and essentially count those days as weekend days.
2023-12-15 18:05:53 +01:00