Commit Graph

12574 Commits

Author SHA1 Message Date
azure-pipelines[bot]
835c683505
update NOTICES file (#18159)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-15 10:47:46 +01:00
Gary Verhaegen
1168e35455
run more things on main-2.x (#18154)
Specifically:

- m1 builds
- BlackDuck & notices bump
- daily compatibility tests
- daily compat update (if needed)
- daily perf test & report

Also, merge the canton update jobs as that makes a lot more sense at
this point. Future divergences can be expressed by changing the files in
their respective branches.

This PR will need to be backported to main-2.x to fully take effect.
2024-01-12 21:05:47 +01:00
mziolekda
7108f2c76a
Remove triggers (#18142)
* remove triggers

* adopt the codebase to missing triggers

run-all-tests: true

* fix builid

* Remove oracle tests
2024-01-12 17:55:05 +01:00
azure-pipelines[bot]
043dfc55c3
update NOTICES file (#18152)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-12 16:16:55 +01:00
Gary Verhaegen
82996ae635
update oracle readme for json removal (#18150) 2024-01-12 14:55:01 +01:00
Gary Verhaegen
79107eff7b
fix release scripts for http-json removal (#18149) 2024-01-12 14:54:09 +01:00
Gary Verhaegen
78c33feb2b
ci: do not kill busy machines (#18151) 2024-01-12 14:53:35 +01:00
Moisés Ackerman
90fc42180c
Don't warn users of daml script --ide-ledger --all to add --upload-dar yes (#18146)
* daml script: Don't warn about --all legacy behavior when using --ide-ledger

* Test that daml script --ide-ledger --all does not warn users to add --upload-dar yes

* Test that 'daml script --ide-ledger --all --upload-dar' fails
2024-01-12 13:01:43 +00:00
mziolekda
bde7632208
Remove navigator (#18141)
* remove navigator

* remove all apart from assistant

* remove navigator from assistant

* remove navigator from release procedure

* remove mentions of navigator completely
2024-01-12 11:32:57 +00:00
azure-pipelines[bot]
6f3bb7f8ef
update canton to 20240111.12240.0.v78bf0c1c/2.9.0-snapshot.20240111.11698.0.vaec40098/3.0.0-snapshot.20240111.12240.0.v78bf0c1c (#18143)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-12 10:38:51 +00:00
azure-pipelines[bot]
88a271b5dd
update canton to 20240110.12220.0.ve226317e/2.9.0-snapshot.20240110.11694.0.vbbc5a08b/3.0.0-snapshot.20240110.12220.0.ve226317e (#18133)
* update canton to 20240110.12220.0.ve226317e/2.9.0-snapshot.20240110.11694.0.vbbc5a08b/3.0.0-snapshot.20240110.12220.0.ve226317e

tell-slack: canton

* Fix hs-bindings from canton proto change

run-all-tests: true

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2024-01-11 22:30:47 +01:00
mziolekda
f0a0c6d2c2
Remove http json (#18131)
* remove http json from daml-script

* remove http-json from ts

* remove http-json

* Fix daml-assistant

run-full-compat: true

* Fix broken test

* remove drepeated test

* remove commands running via http-json

* fix the build

* changes from code-review:

* anotehr attempt at fixing the build
2024-01-11 18:08:08 +00:00
Gary Verhaegen
acaf8baad9
fix update-versions (#18137) 2024-01-11 17:16:20 +01:00
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