Commit Graph

773 Commits

Author SHA1 Message Date
Gary Verhaegen
17119166ab
[release] tell commit sha to canton (#18800) 2024-03-20 15:45:54 +00:00
Gary Verhaegen
41d0265f16
[sync] fix canton pull (#18789) 2024-03-19 10:40:56 +01:00
Gary Verhaegen
e0963a7cd4
[sync] fix canton pull (#18781) 2024-03-18 18:17:52 +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
Stefano Baghino
0d8b4d8553
Remove @stefanobaghino-da (#18758) 2024-03-15 08:56:09 +00:00
Gary Verhaegen
55a5b6d18c
[daily] fix compatibility matrix update (#18752) 2024-03-14 16:16:25 +00:00
Gary Verhaegen
3071720dfe
[release] update check-releases to work with ARM workaround (#18749) 2024-03-14 16:52:06 +01:00
Moisés Ackerman
dca4b98ddf
Switch {akrmn=>moisesackerman-da} github user (#18730) 2024-03-13 13:17:14 +01:00
Gary Verhaegen
1938d516c0
[release] try to fix 2.x arm again (#18710) 2024-03-11 23:58:00 +01:00
Gary Verhaegen
4c82f93a5f
[release] fix split-release step name (#18707) 2024-03-11 14:36:21 +00:00
Gary Verhaegen
504b2c1cac
[release] skip arm on 2.8 and earlier (#18705) 2024-03-11 14:52:53 +01:00
Gary Verhaegen
1e671b6356
try to fix release branches (#18693)
Right now building Linux/ARM fails on release branches. This is because:
- Release branches do not support Linux/ARM.
- Releases are built from `main`, using `main`'s version of YAML files.

This should skip over the Linux/ARM build when running on release
branches.
2024-03-11 12:16:33 +01:00
Gary Verhaegen
5a85f72b09
re-enable macOS (#18700)
This reverts commit 8f2e425b0b.
2024-03-11 10:58:22 +01:00
Gary Verhaegen
8f2e425b0b
disable macOS over the weekend (#18659) 2024-03-08 19:15:31 +01:00
Gary Verhaegen
b978f97970
fix check-protobuf-stability (#18682)
Currently fails in the presence of release candidates.
2024-03-08 18:22:09 +01:00
azure-pipelines[bot]
6b63b00786
bump blackduck script to 13991807 (#18676)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-08 15:36:54 +01:00
Moisés Ackerman
41e4848eb1
Make CI steps 'publish_npm_mvn', 'publish' and 'PublishPipelineArtifact@0' only run on 'main{,-2.x}' (#18620)
This is a partial revert of https://github.com/digital-asset/daml/pull/18597, which removed the condition 'in(variables['Build.SourceBranchName'], 'main', 'main-2.x')' from those steps
2024-03-01 15:19:21 +01:00
Gary Verhaegen
8b8e95d0e0
[release] push to maven again (#18597) 2024-02-28 17:37:30 +01:00
Gary Verhaegen
888a639953
fix release script again (#18582) 2024-02-27 01:08:15 +01:00
Gary Verhaegen
ecea0e12a4
try to fix release script for arm addition (#18577) 2024-02-26 15:17:33 +01:00
Gary Verhaegen
261a405b50
build on linux arm (#18484) 2024-02-25 15:43:12 +01:00
Gary Verhaegen
39f0c5c6c8
fix blackduck script update (#18557)
This job runs on both `main` and `main-2.x`, and generates the same
branch name. This results in only the first of the two that runs
generating a PR.

With this change the branch name will be different so when an update is
needed we'll update both on the same day.
2024-02-22 19:03:04 +01:00
Gary Verhaegen
92fcbb6a3b
remove canton ee integration (#18501) 2024-02-16 13:30:55 +01:00
Remy
190eefe266
rationalize transaction proto (#18490) 2024-02-16 08:49:00 +01:00
Gary Verhaegen
17f37c7d23
cron: new canton snapshot format (#18483) 2024-02-15 14:31:06 +01:00
Gary Verhaegen
b9b3c16fbf
check if m1 became more stable (#18476) 2024-02-15 12:00:15 +01:00
Gary Verhaegen
ce46fec9ac
remove infra folder (#18378)
Moved to DACH-NY/daml-ci.
2024-02-02 14:51:21 +01:00
Paul Brauner
d18d501204
fix dangling curly brace in code drop code, remove call to function that doesn't exist anymore (#18347) 2024-01-31 14:13:44 +00:00
Paul Brauner
9c4cccc9d3
add copy canton script (#18329)
* add copy canton script

* cleanup

* remove old comments

* make sure the script runs from anywhere
2024-01-31 13:03:39 +00:00
Gary Verhaegen
6207e2ef80
tweak release notification (#18343) 2024-01-31 12:55:06 +01:00
Gary Verhaegen
c720361b7b
check-releases: fix typo (#18324) 2024-01-30 10:31:30 +01:00
Gary Verhaegen
5f7f9784a4
check-releases: record verified releases (#18313)
With the current setup, every single day we download every single
artifact of evry single release we've ever made on GitHub, twice (once
from GitHub, once from GCS). Then we check signatures and compare the
two.

With this change, we save a representation of the state of both GCS and
GitHub, and if that representation hasn't changed, we assume the
artifacts haven't changed either. The assumption seems reasonable to me
as the representation includes platform timestamps, which no user can
tamper with as far as I'm aware.

Note: we do not save the entire GitHub release representation, and
instead just save relevant metadata for the associated artifacts. The
goal of this job is to verify that the artifacts haven't changed; it is
acceptable (and even expected in routine circumstances) that the
release description will change, as well as its "prerelease" and "latest
release" flags.
2024-01-29 16:18:37 +01:00
Gary Verhaegen
c590c6c942
fix daily report (#18309)
broken by #18203
2024-01-29 12:24:18 +00:00
azure-pipelines[bot]
e82166fe7b
bump blackduck script to 745a1566 (#18292)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-26 09:55:37 +01:00
Gary Verhaegen
939e2240cf
smaller title/branch name for canton update PRs (#18265) 2024-01-25 13:37:54 +01:00
azure-pipelines[bot]
7ec33db439
update canton to 20240123.12376.0.vce2030db/3.0.0-snapshot.20240123.12376.0.vce2030db (#18256)
* update canton to 20240123.12376.0.vce2030db/3.0.0-snapshot.20240123.12376.0.vce2030db

tell-slack: canton

* Resolve import warnings

* Add ledger-api v2 experimental_features proto

to adapt to https://github.com/DACH-NY/canton/pull/16603/files#diff-3b3a96cb2f2ad9cfe33444f1327479d8d0ca48663fb7dd0a6a5e53c5d86afede

* Removing compatiblity_target_protobuf

as the corresponding compatibility change would move into the
canton repo as per https://github.com/DACH-NY/canton/issues/16637

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-01-24 14:26:56 +01:00
Gary Verhaegen
0b9c7faad2
fix external PRs (#18251) 2024-01-23 17:42:31 +01:00
Paul Brauner
6393fd084c
Remove LF1 in the compiler (#18203)
* make lf v2 and daml3-script the default

* delete V1 integration tests

* Remove LF major version V1 from the compiler

run-all-tests: true

* fix security evidence

* fix //compiler/damlc/tests:damlc-test

* fix //compiler/damlc/tests:data-dependencies

* fix //compiler/damlc/tests:integration-v2*

* fix //compiler/damlc/tests:packaging

* fix //compiler/damlc/tests:platform-independence-dar-hash-file-matches

* fix //compiler/damlc/tests:stable-packages

* fix DarReaderTest.scala

* fix DecodeCommonSpec.scala

* fix //daml-lf/archive:proto_immutability_check

* fix DamlLfEncoderTest.scala

* fix //language-support/java/codegen:test

* fix //daml-assistant/integration-tests:integration-tests

* fix artifacts.yaml

run-all-tests: true
run-full-compat: true

* Disable scenario-perf for now

See https://github.com/digital-asset/daml/pull/18217.

run-all-tests: true
run-full-compat: true

* restore explicit target version in docs template

run-all-tests: true
run-full-compat: true

* Restore DamlLfEncoderTest.scala.

Introduce a ENGINE_LF_VERSIONS constant in daml-lf.bzl instead.

run-all-tests: true
run-full-compat: true

* delete daml-lf/scenario-interpreter/src/perf

run-all-tests: true
run-full-compat: true

* Address review comments.

* Apply

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>

* Restore golden/BUILD.bazel and port to 2.1

run-all-tests: true
run-full-compat: true

---------

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
2024-01-19 15:19:34 +00:00
Gary Verhaegen
39ea58901e
fix daily test report (#18215) 2024-01-18 14:05:27 +00:00
Paul Brauner
c6cf5b787b
Only drop canton3 code into canton on main (#18204) 2024-01-17 18:38:45 +01:00
Gary Verhaegen
73f4cdd5bd
don't run update_canton on run-full-compat PRs (#18196) 2024-01-16 20:42:26 +01:00
Gary Verhaegen
1c8cbb7c05
daily: fix report (#18191) 2024-01-16 14:41:26 +00:00
Gary Verhaegen
fd0494fe41
canton bump pr: better branch name (#18190) 2024-01-16 14:06:51 +01:00
Gary Verhaegen
179d85362d
update copyright (#18167)
* update copyright

* undo hack from #18168

* update hash in platform-independence-pre-check
2024-01-15 20:27:42 +01:00
Gary Verhaegen
2e28102699
ci/cron/daily: fix typo (#18176) 2024-01-15 18:02:22 +01:00
Gary Verhaegen
7be5899f5c
try to fix split-release job for main-2.x (#18161) 2024-01-15 10:55:40 +00: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
Gary Verhaegen
79107eff7b
fix release scripts for http-json removal (#18149) 2024-01-12 14:54:09 +01:00
mziolekda
576560428f
remove non-repudiation (#18089)
run-all-tests: true
2024-01-10 20:23:04 +00:00