Commit Graph

12546 Commits

Author SHA1 Message Date
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
Gary Verhaegen
6005779dcf
bump semver in /yarn.lock, which I have no idea what we do with (#18044) 2023-12-15 17:01:59 +01:00
Gary Verhaegen
e80615ea01
bump semver in ts tests for real (#18043) 2023-12-15 16:31:13 +01:00
Gary Verhaegen
461bd36935
bump semver in ts tests (#18042) 2023-12-15 15:42:55 +01:00
Samuel Williams
2e17f19786
Add multi-package brief doc (#17849)
* Add multi-package brief doc

* Add introduction to CLI usage

* Because --enable-multi-package=yes by default, remove references to flag

* Address Curtis comments by moving multi-package.yaml in trees

* Apply review comments

---------

Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
2023-12-15 13:37:53 +00:00
Gary Verhaegen
a2eb43eaaa
bump goyaml again (#18040) 2023-12-15 13:04:45 +00:00
Remy
c20215028c
Introduce PackageRef (#18023)
this advance the state of #17995

We propagate in ApiCommand and fix preprocessing
2023-12-15 11:45:08 +00:00
Gary Verhaegen
df5fe426f8
update go-yaml in nix proxy (#18026)
This code hasn't changed since it was first created 4 years ago. I
wasn't able to find any way to go through the generation steps again
(`go mod download` to go from `go.mod` to `go.sum`, then `vgo2nix` -
which doesn't exist anymore - to go from `go.sum` to `deps.nix`) so
instead I:

1. Deleted the `go.sum` file as it's mostly misdirection at this point.
2. Manually udpated the yaml version to the first non-vulnerable version
   so dependabot is happy, in both `go.mod` (which dependabot looks at)
   and `deps.nix` (which is the one we really use to resolve
   dependencies).
2023-12-15 10:47:20 +01:00
azure-pipelines[bot]
542f3d318d
update canton to 20231213.12002.0.v13a51ee5/2.8.0-snapshot.20231213.11635.0.vb363e85f/3.0.0-snapshot.20231213.12002.0.v13a51ee5 (#18028)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-12-14 23:51:38 +00:00
Gary Verhaegen
e84c82aeba
stable 2.8.0 (#18006) 2023-12-14 22:23:36 +01:00
Marton Nagy
0d5481b933
Improve ResourceOwner teardown for Timers and ExecutorServices (#18027)
* Introduce additional parameters to factory functions with new functionality
* Set default parameters as such, so previous behavior does not change
* Add possibility to Timer Resources to not wait for all running tasks to finish
* Add configurable graceful and forceful shutdown to ExecutorServiceResourceOwner
2023-12-14 15:26:24 +01:00
Paul Brauner
16f677f660
restore package name default None value (#18031) 2023-12-14 12:53:26 +00:00
Paul Brauner
e0de619624
fix canton 3 build (#18030) 2023-12-14 09:35:36 +01:00
azure-pipelines[bot]
0edfdad0ad
update NOTICES file (#18029)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-14 07:51:52 +00:00
Remy
da4033170c
Interpreter populate package name (#17990)
this advances the state of #17995
2023-12-13 16:01:20 +01:00
dependabot[bot]
6ab8f3875e
Bump semver from 5.7.1 to 5.7.2 in /navigator/frontend (#18022)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 13:11:58 +00:00