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

Synchronize templates #4040

Merged
merged 5 commits into from
Apr 12, 2024
Merged

Synchronize templates #4040

merged 5 commits into from
Apr 12, 2024

Conversation

rzadp
Copy link
Contributor

@rzadp rzadp commented Apr 9, 2024

What's inside

A job, that will take each of the three templates, yank them out of the monorepo workspace, and push to individual repositories (1, 2, 3).

In case the build/test does not succeed, a PR such as this one gets created instead.

I'm proposing a manual dispatch trigger for now - so we can test and iterate faster - and change it to fully automatic triggered by releases later.

The manual trigger looks like this:

How it works

The job replaces dependencies referenced by git with a reference to released crates using psvm.

It creates a new workspace for the template, and adapts what's needed from the polkadot-sdk workspace.

See the results

The action has been tried out in staging, and the results can be observed here:

These are based on the 1.9.0 release (using release-crates-io-v1.9.0 branch).

@rzadp rzadp added R0-silent Changes should not be mentioned in any release notes T11-documentation This PR/Issue is related to documentation. labels Apr 9, 2024
@rzadp rzadp requested review from kianenigma and gupnik April 9, 2024 10:26
@rzadp rzadp requested review from a team as code owners April 9, 2024 10:26
@paritytech-review-bot paritytech-review-bot bot requested a review from a team April 11, 2024 16:30
@rzadp rzadp added this pull request to the merge queue Apr 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 12, 2024
@rzadp rzadp added this pull request to the merge queue Apr 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 12, 2024
@rzadp rzadp added this pull request to the merge queue Apr 12, 2024
Merged via the queue into master with commit c963dc2 Apr 12, 2024
149 of 152 checks passed
@rzadp rzadp deleted the rzadp/sync-templates branch April 12, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T11-documentation This PR/Issue is related to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants