Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daml Finance Release Journal for SDK 2.8.0 #1141

Closed
81 tasks done
johan-da opened this issue Nov 15, 2023 · 0 comments
Closed
81 tasks done

Daml Finance Release Journal for SDK 2.8.0 #1141

johan-da opened this issue Nov 15, 2023 · 0 comments
Assignees
Milestone

Comments

@johan-da
Copy link
Contributor

johan-da commented Nov 15, 2023

Daml Finance Release Journal for SDK 2.8.0

Release of Daml 2.8.0

Daml Finance: on GitHub
Daml Bundle: on Artifactory (including Daml Finance) and on GitHub
Release notes: 2.8.0

Useful links

Daml Finance Release instructions
Daml Release Planning
Slack temp-release-2-8-0 channel
Github daml-finance rc-8
Github daml release/2.8.x branch
Github docs.daml.com main
SDK release notes
Daml Finance release notes
Release Journal for 2.7.0

Updates to Release Process

  1. Get Daml SDK from github with fallback artifactory: get daml from Artifactory when needed #1166
  2. Create a daml-finance bundle to be included in the SDK bundle: git tag sdk/2.8.0-rc.1 followed by git push origin sdk/2.8.0-rc.1 now creates a bundle including snapshot packages. Consider adjusting the script to optionally include snapshots --> Consider generalizing the CI bundle script #1176
  3. Keep shell.nix in sync (CI will notice & fail): If sdk-version or daml-version is changed (in the daml.yaml file), run bin/update-daml-hashes. You may need to comment out daml from the buildInputs list to get the Nix shell to run while you update the hashes. --> get daml from Artifactory when needed #1166
  4. Test quick-starter and tutorial with a script: There is a new script for testing the quick-starter and tutorials with the newest SDK (installed from os Github with fallback ee Artifactory). We might want to integrate this script in our CI. --> Integrate test of quick-starter and tutorials in the CI #1175
  5. Improvement Idea: For an SDK release, we could consider making use of the Daml Finance bundle as the default package set for both the quick-starter and the tutorials. Initially, this approach eliminates the need for a quick-starter and tutorial configuration file (0.0.4.conf), simplifying the setup. Only in scenarios where we need to override the default packages would we create a configuration file (i.e., 0.0.4.conf). Should such a file exist (in main), it would specify the package versions to be used in the quick-starter and tutorials for the corresponding version (0.0.4) which is set in the daml.yaml.template file. --> Improvement Idea: Consider leveraging the Daml Finance bundle #1177

Release Journal

20231215 Cleanup

20231215 Release Candidate Announced Stable

20231214 Daml RC5

  • Bump SDK version, package versions, and update hashes (in daml-finance rc-2.8) --> https://github.com/digital-asset/daml-finance/tree/test-sdk-rc5
  • Make snapshot release --> Previous was used
  • Update the 0.0.4.conf file in the daml-finance main branch with the latest released snapshot packages --> Previous was used
  • Update version in daml (can be skipped if the quick-starter and tutorials did not change since last update) --> Previous was used
  • Create bundle --> Previous was used
  • Test quick-starter and tutorials (once the new SDK candidate is released)

20231212 Daml RC4

  • Bump SDK version, package versions, and update hashes (in daml-finance rc-2.8) --> a614ab4
  • Test e2e scripts
  • Make snapshot release --> Previous was used
  • Update the 0.0.4.conf file in the daml-finance main branch with the latest released snapshot packages --> Previous was used
  • Update version in daml (can be skipped if the quick-starter and tutorials did not change since last update) --> Previous was used
  • Create bundle --> Previous was used
  • Test quick-starter and tutorials (once the new SDK candidate is released)

20231207 Daml RC3

  • Bump SDK version, package versions, and update hashes (in daml-finance rc-2.8) --> 1a24b27
    - fixed the script: 16e23ce
  • Test e2e scripts
  • Make snapshot release --> Previous was used
  • Update the 0.0.4.conf file in the daml-finance main branch with the latest released snapshot packages --> Previous was used
  • Update version in daml (can be skipped if the quick-starter and tutorials did not change since last update) --> Previous was used
  • Create bundle --> Previous was used
  • Test quick-starter and tutorials (once the new SDK candidate is released)

20231207 Daml RC2

  • Bump SDK version, package versions, and update hashes (in daml-finance rc-2.8) --> bump daml for rc-2 #1182
    - the hash computation was adjusted due to lacking --to-base-64 flag for the nix-hash function
    - the --allow-install-non-release=yes install flag was changed to --install-with-internal-version yes , so had to adjust scripts accordingly
  • Test e2e scripts
  • Make snapshot release --> Previous was used
  • Update the 0.0.4.conf file in the daml-finance main branch with the latest released snapshot packages --> Previous was used
  • Update version in daml (can be skipped if the quick-starter and tutorials did not change since last update) --> Previous was used
  • Create bundle --> Previous was used
  • Test quick-starter and tutorials (once the new SDK candidate is released)

20231205 Scripts

  • Add test-sdk-daml-finance-templates script
    - Install SDK from os with ee as fallback
    - Get latest SDK version from github tag
  • Add script for sorting Daml imports --> Script for sorting daml imports #1181

20231129 Rename conf file (2.8.0.conf to 0.0.4.conf)

20231127 Daml RC1

sdk-version: 2.8.0-snapshot.20231127.12403.0.vf5c2e6da (sourced from Jfrog Artifactory)
daml-version: 2.8.0-rc1 (not used when sourced from artifactory, and will soon be the same as sdk-version again)

20231118 SDK Snapshot

sdk-version: 2.8.0-snapshot.20231118.12382.0.v86cb8054
daml-version: 2.8.0-snapshot.20231122.0

  • Bump SDK versions (in daml-finance rc-2.8) --> Upgrade SDK version #1163
  • Test e2e scripts
  • Test quick-starter and tutorials (with the latest SDK snapshot)

20231116 SDK Snapshot

sdk-version: 2.8.0-snapshot.20231116.12377.0.va821d52f
daml-version: 2.8.0-snapshot.20231117.0

  • Bump SDK version in daml-finance rc-2.8
  • Test e2e scripts
  • Test quick-starter and tutorials (with the latest SDK snapshot)

20231121 Daml Finance Snapshot

sdk-version: 2.8.0-snapshot.20231116.12377.0.va821d52f
daml-version: 2.8.0-snapshot.20231117.0

20231115 Daml Finance Snapshot

sdk-version: 2.7.4

  • Bump SDK version and package versions (in daml-finance rc-2.8) --> fix versions + update SDK #1146
  • Test e2e scripts
  • Make snapshot release
  • Update the 2.8.0.conf file in the daml-finance main branch (NOTE: it was later renamed to 0.0.4.conf)
  • Update version in daml --> Daml Finance: update version daml#17845
  • Test quick-starter and tutorials (with the latest SDK snapshot)

Preparation

Update Docs

Update Quick-Starter and Tutorials

@johan-da johan-da added this to the release-2.8 milestone Nov 15, 2023
@johan-da johan-da self-assigned this Nov 24, 2023
@jsjoedin jsjoedin changed the title 2.8 release prep and execution Daml Finance Release Preparation and Execution for SDK 2.8.0 Nov 30, 2023
@jsjoedin jsjoedin changed the title Daml Finance Release Preparation and Execution for SDK 2.8.0 Daml Finance Release Journal for SDK 2.8.0 Nov 30, 2023
@jsjoedin jsjoedin changed the title Daml Finance Release Journal for SDK 2.8.0 Daml Finance: Release Journal for SDK 2.8.0 Nov 30, 2023
@jsjoedin jsjoedin changed the title Daml Finance: Release Journal for SDK 2.8.0 Daml Finance Release Journal for SDK 2.8.0 Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants