Commit Graph

13093 Commits

Author SHA1 Message Date
Gary Verhaegen
6a978927f5
[3.0] fix split_release job (#18848) 2024-03-23 14:50:08 +00:00
Gary Verhaegen
d0b5a13c0b
fix release process (#18829) 2024-03-23 11:19:52 +01:00
azure-pipelines[bot]
16fd0b2a17
update NOTICES file (#18837)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-23 11:17:43 +01:00
Gary Verhaegen
483bfc9a1c
fix hourly cron: docker (#18830) 2024-03-23 11:08:46 +01:00
Gary Verhaegen
e33114bd4e
[cron] fix daily for subdir move (#18819) 2024-03-22 23:47:52 +01:00
Gary Verhaegen
dd4c6ba9ad
[release] faster releases - experiment (#18831)
When we build a release, it is always a "past" commit - typically, one
that has already been tested twice: once when the corresponding PR was
run, and then again as a "main"-branch commit.

Release branches don't run, but their protection rules enforce linear
merges.

Either way, we know we're building a _good_ commit, and, assuming our
builds and tests are hermetic, testing that commit again when we make a
release is a pure waste of time and CPU resources.

The other case, where we make an ad-hoc release from a branch that has
not been merged, has a similar issue: we do not necessarily want to run
the full test suite, because part of the reason we need that commit may
be that it doesn't succeed as is.

Based on that observation, I wondered what might be the minimal set of
things we actually need to build when making a release. This PR is an
experiment in trying to find that out.
2024-03-22 23:47:34 +01:00
Gary Verhaegen
5d0d5027ff
cleanup: remove unused credentials (#18814) 2024-03-22 16:43:39 +01:00
Gary Verhaegen
a6ec4c9b36
cleanup: remove wut.sh (take 2) (#18825) 2024-03-22 16:12:47 +01:00
Gary Verhaegen
77e7258ac1
subdir: fix hourly cron (#18826) 2024-03-22 16:12:33 +01:00
Gary Verhaegen
bd9036e7a2
cleanup: remove wut.sh (#18815) 2024-03-22 14:46:10 +01:00
azure-pipelines[bot]
0f8d25c6b7
update NOTICES file (#18817)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-22 14:45:41 +01:00
Simon Maxen
6e5763b40f
Port upgrading changes from 2.x (#18733)
Includes:
Pass package resolution into reinterpret (#18286)
Enable upgrading based on language version (#18239)
2024-03-22 12:12:15 +00:00
Raphael Speyer
db54939c92
Java Codegen: populate decoders for choice params and return types (#18816)
Fixes https://digitalasset.atlassian.net/browse/ETX-425
2024-03-22 19:02:24 +11:00
Gary Verhaegen
e40aad897f
move to subdir 3.0 (#18520)
* move most files

* update CI configuration
2024-03-22 02:27:46 +01:00
dylant-da
d2a720c567
Remove print statements in validation stage (#18810)
* remove validation print statements

* fix unused param
2024-03-21 17:05:47 +00:00
Gary Verhaegen
276f3b2cc1
[dev-env] remove terraform (#18805) 2024-03-21 12:28:07 +01:00
azure-pipelines[bot]
c1f0a3c42e
update canton to 20240320.12940.v147a56d2 (#18803)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-21 10:08:38 +01:00
azure-pipelines[bot]
99c6b363f4
rotate release duty after 2024-03-20 (#18796)
@dylant-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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-20 17:23:55 +01:00
Moisés Ackerman
aaff75e276
Put interfaces behind a compiler flag (#18791)
* Add flag

* Add flag for bazel macro daml_compile

* Add flag for bazel macro daml_test

* LF Conversion: fail if interfaces or interface instances are defined without --enable-interfaces=yes

* Add --enable-interfaces=yes where needed
2024-03-20 16:49:32 +01:00
Gary Verhaegen
17119166ab
[release] tell commit sha to canton (#18800) 2024-03-20 15:45:54 +00:00
Remy
bf556c420e
Adhoc snapshot for enableInterface compiler flag (#18793)
ad-hoc snapshot to test #18791 in canton
2024-03-20 13:12:31 +01:00
azure-pipelines[bot]
704ced495d
update NOTICES file (#18798)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-20 12:21:13 +01:00
Gary Verhaegen
a108927fb1
[release] 2.7.9 (#18783) 2024-03-20 11:03:37 +01:00
azure-pipelines[bot]
5ec431fc72
update canton to 20240319.12918.v6ad9b204 (#18795)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-20 09:00:53 +00:00
Samuel Williams
2e579bcdce
Add support for env vars in some config files (#18216)
* Add support for env vars in some config files

* Fix interpolation as per design doc

* Allow env var errors to pass through multibuild
Refactor env var logic to provide hasReplaced flag

* Update daml-project-config cabal

* Added daml assistant warning

* Added scala ProjectConfig env var support + tests

* Added haskell ProjectConfig tests

* Formatting

* Refactor haskell interpolation. Remove dot replacement

* Refactor assistant warning logic

* Remove unused annotation from scala test

* Add field for disabling interpolation

* Revert stackage_snapshot change

* Remove unnecessary pragma

* Add interpolation field to scala side

* Add tests for disabling interpolation
2024-03-19 16:58:55 +00:00
dylant-da
d392b6ed85
Make package id check more lax - added TODO (#18790) 2024-03-19 16:29:02 +00:00
azure-pipelines[bot]
7fe88927f5
update canton to 3.0.0-snapshot.100000000.20240318.12906.0.v7607fb22 (#18788)
* update canton to 3.0.0-snapshot.100000000.20240318.12906.0.v7607fb22

tell-slack: canton

* remove offending dependency

* Add missing dependency

* Fix a proto enum rename.

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
Co-authored-by: Marton Nagy <marton.nagy@digitalasset.com>
2024-03-19 14:11:25 +00:00
azure-pipelines[bot]
09483adc8d
update NOTICES file (#18786)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-19 13:42:30 +01:00
Gary Verhaegen
ee17b416fb
test 2.7.9 snapshot (#18784) 2024-03-19 12:12:14 +00:00
Gary Verhaegen
41d0265f16
[sync] fix canton pull (#18789) 2024-03-19 10:40:56 +01:00
Remy
1c415c97a7
Freeze LF 2.1 (#18779)
Co-authored-by: Moisés Ackerman <moises.ackerman@digitalasset.com>
2024-03-18 18:22:44 +00:00
azure-pipelines[bot]
c64ef42291
update canton to 3.0.0-snapshot.100000000.20240315.12889.0.v4db1be96 (#18769)
Co-authored-by: Ratko Veprek <ratko@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-03-18 19:18:26 +01:00
Gary Verhaegen
e0963a7cd4
[sync] fix canton pull (#18781) 2024-03-18 18:17:52 +00:00
Simon Maxen
327fd4115e
Bump testcontainers to 1.19.7 (#18778) 2024-03-18 16:26:48 +00:00
Gary Verhaegen
b08c7b2bb4
[sync] any canton we want (#18780)
This PR moves the whole "update canton" logic to a script anyone can run
locally, and changes it to be able to get any canton commit we want, or
possibly any dirty local workdir.
2024-03-18 17:17:20 +01:00
Remy
d501b409db
[LF] move TextMap to 2.dev (#18725) 2024-03-18 13:14:08 +01:00
azure-pipelines[bot]
44facbb42a
update NOTICES file (#18767)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-18 11:09:20 +01:00
dylant-da
21fe8e99b1
Revert "Disable "hot reload" test since it breaks on Carl's changes" (#18704)
* Revert "Disable "hot reload" test since it breaks on Carl's changes"

This reverts commit 4d1efdfed7.

* Disable upgrade validation for hot reload test only
2024-03-15 18:11:12 +00:00
Andreas Triantafyllos
b5508615d3
Removed deprecated fromValue. (#18652) 2024-03-15 18:19:46 +01:00
Paul Brauner
12e01690bb
make DevValue.is_test dev-only (#18764) 2024-03-15 17:14:02 +01:00
Moisés Ackerman
d1453ece3e
Deprecate DA.{Map,TextMap}.fromListWith, add DA.{Map,TextMap}.fromListWith{L,R} (#18753)
* Fix doctest for TextMap.

* Optimise fromListWith for list-like structures and fix tests.

* Implement fromListWithL and fromListWithR, restore behaviour fromListWith with fromListWithR, deprecate fromListWith.

* Explain combining function in fromListWithL docs

* Regenerate compiler/damlc/tests/platform-independence.dar-hash

---------

Co-authored-by: Ang Hao Yang <yan9za1@gmail.com>
2024-03-15 16:22:13 +01:00
Paul Brauner
614ce5819a
move TransactionVersion.minContractKeys to VDev (#18751)
* move TransactionVersion.minContractKeys to VDev

* test all tx versions in ValidationSpec

* delete obsolete tests
2024-03-15 13:50:26 +00:00
Ratko Veprek
b69cd2b025
Trigger new snapshot release so that I can absorb the metric changes (#18763) 2024-03-15 13:52:22 +01:00
Ratko Veprek
06756ce5aa
Reenabled Canton JVM metrics and prometheus filtering (#18761)
Before this change, we didn't have JVM metrics and we didn't have prometheus filtering.
Now, we do.

Addresses https://github.com/DACH-NY/canton/issues/16647
2024-03-15 12:29:38 +01:00
azure-pipelines[bot]
92843edd62
update canton to 3.0.0-snapshot.100000000.20240314.12870.0.v50448d4d (#18755)
* update canton to 3.0.0-snapshot.100000000.20240314.12870.0.v50448d4d

tell-slack: canton

* fix bazel build

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Meriam Lachkar <meriam.lachkar@digitalasset.com>
2024-03-15 11:03:27 +00:00
azure-pipelines[bot]
762433d083
update NOTICES file (#18757)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-15 11:27:48 +01:00
Ratko Veprek
fbf074ae6b
Upgraded opentelemetry to 1.36.0 and removed deprecated jaeger exporter (#18754) 2024-03-15 10:55:26 +01:00
Stefano Baghino
0d8b4d8553
Remove @stefanobaghino-da (#18758) 2024-03-15 08:56:09 +00:00
Gary Verhaegen
561dc0ab70
warm up 2.3.18 (#18686) 2024-03-14 17:41:32 +01:00
Gary Verhaegen
55a5b6d18c
[daily] fix compatibility matrix update (#18752) 2024-03-14 16:16:25 +00:00