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

Release v1 - Albula #2263

Merged
merged 17 commits into from
Nov 24, 2022
Merged

Release v1 - Albula #2263

merged 17 commits into from
Nov 24, 2022

Conversation

vimukthi-git
Copy link
Contributor

@vimukthi-git vimukthi-git commented Nov 11, 2022

Release v1

  • If it is the first release of the v<Major> (eg: v5) line then create a branch release-v<Major>. Execute the following steps on that branch.
  • Generate weights, i.e run benchmark
  • Runtime versioning updates
    • Update spec_version (automate-able)
  • Update composable node version if the code has changed
  • Update composableJs version (if necessary to be released)
  • Update FE version (if necessary to be released)
  • Update Subsquid version (if necessary to be released)
  • Update relevant frame pallets being released in runtimes to the latest node version
  • Consider and list possible proxy filter updates for available calls.
  • Categorize (and give a title) the release according to the types of changes it does, eg: security patch, bugfix, feature etc.
  • Run cargo build once to update the Cargo.lock file.
  • Update the v<Major> branch on Github and make PR to master. Get it merged to main before next step. Note that v<Major> branch must not be deleted.
  • Get the tip of the branch signed according to 3.2.4 section.
  • Finally, create a tag v<Branch.Spec_version> (eg: v5.4201) to trigger the release artifact build.

@vimukthi-git vimukthi-git requested review from a team as code owners November 11, 2022 11:40
@vimukthi-git vimukthi-git requested review from a team November 11, 2022 11:40
@vimukthi-git vimukthi-git requested review from a team as code owners November 11, 2022 11:40
@vercel
Copy link

vercel bot commented Nov 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pablo-nightly ✅ Ready (Inspect) Visit Preview Nov 24, 2022 at 0:37AM (UTC)
pablo-staging ✅ Ready (Inspect) Visit Preview Nov 24, 2022 at 0:37AM (UTC)
picasso-nightly ✅ Ready (Inspect) Visit Preview Nov 24, 2022 at 0:37AM (UTC)

@vimukthi-git vimukthi-git changed the title Release v1 Release v1 - Albula Nov 11, 2022
@github-actions
Copy link

github-actions bot commented Nov 11, 2022

Nix commands for this PR

NOTE: You can also run our Nix commands in Docker. See the bottom of this comment.

Make sure you have setup the Composable community cache:

(you only need to run it once on your machine)

nix-shell -p cachix --command "cachix use composable-community"

Show all possible apps, shells and packages:

nix flake show "github:ComposableFi/composable/66935bdfb2398e70211606b5b35a018122a439bb --allow-import-from-derivation

Run the Composable node alone:

nix run "github:ComposableFi/composable/66935bdfb2398e70211606b5b35a018122a439bb#composable-node" -L

Spin up a local devnet:

nix run "github:ComposableFi/composable/66935bdfb2398e70211606b5b35a018122a439bb#devnet" -L --option sandbox relaxed --show-trace

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/66935bdfb2398e70211606b5b35a018122a439bb#devnet-xcvm" -L

View the docs:

nix run ".#docs-server"

Run this without Nix in Docker.

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v nix:/nix -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/Composable/66935bdfb2398e70211606b5b35a018122a439bb#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"

NOTE: You can swap devnet-dali in the command above with any Nix package

For more info on how to use Nix, check out our Nix docs

Note that the initial build may take about one hour if it has not been cached by our CI yet. Once it is cached, builds should take about one minute. We currently do not provide build caches for ARM machines such as M1 Macs, but building on ARM is supported.

@vercel vercel bot temporarily deployed to Preview – pablo-staging November 11, 2022 11:44 Inactive
@hussein-aitlahcen
Copy link
Contributor

hussein-aitlahcen commented Nov 11, 2022

Was not aware of such limitation, lol:

error: Minor version needs to fit into `u8`
  --> parachain/frame/crowdloan-rewards/src/lib.rs:69:1

@vimukthi-git
Copy link
Contributor Author

Yeah I'm trying to fix that up by not using the same release minor version for the runtime code modules :D

@vercel vercel bot temporarily deployed to Preview – pablo-staging November 11, 2022 16:22 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 11, 2022 16:27 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-staging November 11, 2022 16:47 Inactive
@github-actions
Copy link

github-actions bot commented Nov 11, 2022

Visit the preview URL for this PR (updated for commit 66935bd):

https://picasso-f0d16--pr2263-release-v1-5e2h6krm.web.app

(expires Thu, 01 Dec 2022 01:18:02 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d4e030ec330173845b1768cd217beee9791d20f1

@github-actions
Copy link

github-actions bot commented Nov 11, 2022

Visit the preview URL for this PR (updated for commit 66935bd):

https://pablo-afa5d--pr2263-release-v1-40ec0oed.web.app

(expires Thu, 01 Dec 2022 01:18:21 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 8ef316967fc7aa470dc109d617260c43c009e4e3

@vercel vercel bot temporarily deployed to Preview – pablo-staging November 12, 2022 15:38 Inactive
@vimukthi-git vimukthi-git requested a review from a team as a code owner November 14, 2022 09:51
@vercel vercel bot temporarily deployed to Preview – pablo-staging November 14, 2022 09:57 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-staging November 15, 2022 20:59 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 15, 2022 21:04 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-staging November 16, 2022 09:56 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 16, 2022 10:01 Inactive
@benluelo
Copy link
Contributor

@vimukthi-git
Copy link
Contributor Author

@benluelo We allow individual packages to follow different schemes for versions refer RFC-0011 for details

@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 22, 2022 17:18 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 22, 2022 17:54 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 24, 2022 00:32 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 24, 2022 00:37 Inactive
mergify bot added a commit that referenced this pull request Nov 24, 2022
@mergify mergify bot merged commit 35b8b7b into main Nov 24, 2022
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

Successfully merging this pull request may close these issues.

None yet

7 participants