* Generate dars, WIP
* pass in daml3-script
* pass in upgrades-my-templates dars
* don't delete tmp dir
* define //daml-script/test:upgrade-test-files filegroup
* wip
* Add case class DataDep
* Add case class TestCase
* fix npe
* Add package uploading, package name repeat error
* remove //daml-script/test:upgrades-test.dar
* Add packageId to case class DataDep
* Upload packages via admin-api
* Start moving tests over to new structure
* Move {=>Upgrade}TestLib to its own dar
* Add packageId to case class DataDep
* AdminLedgerClient.uploadDar returns response as Either[String,String]
* wait for listDars to include uploaded dar
* Fix uploading/waiting, tests passing
* Add a little readme to explain our creation
* Small tweaks and tests
run-all-tests: true
* Add additional variant upgrade tests
* Add additional variant upgrades tests
* AdminLedgerClient.uploadDar now takes a File instead of a Path+name
* Make the test bigger (in bazel)
* Make validation upgrade tests large
* Extract testing-only parts of AdminLedgerClient
* Extract dar construction from UpgradesITDev
* Extract PackageDefinition functions to an object
* Decouple PackageDefinition from PackageComment
* Move packageBuild into PackageDefinition
* Decouple MODULE definitions from PACKAGEs
* Move UpgradesIT test to non-Dev
* Add comment to TestingAdminLedgerClient explaining that we should switch to a Canton-provided client when there is one
* Depend directly on //canton:community_base
* Rename UpgradesIT{Dev=>}
* Clean up regexes
* Split UpgradesIT off //daml-script/test, skip on windows
* Make buildTestCaseDar return a Future
---------
Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
* Participant upload package map upgrade checks: step 1 - Daml side changes with tests disabled
* Fix to ensure we only test on non-windows environments
* Merge changes to UpgradesSpec, disable test on Windows
* disable double uploading tests
---------
Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
* Run upgrade tests on Admin API
* lint
* clean up
* lint
* refactor different apis into separate test suites
* Dedupe test logic, split upload logic into uploadPackagePair
* lint
* disable `upgrades:` field in tests
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.
@paulbrauner-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>
@remyhaemmerle-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>