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

Contribution guide updates for Quickstart authors #977

Draft
wants to merge 9 commits into
base: release-1.14
Choose a base branch
from
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ All contributions come through pull requests. To submit a proposed change, we re
1. Commit and open a PR
1. Wait for the CI process to finish and make sure all checks are green
1. A maintainer of the project will be assigned, and you can expect a review within a few days
1. Make sure the checks/test actions pass with your changes. See [Test authoring] for information around how this works and how to troubleshoot.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See [Test authoring] - Needs a URL reference


#### Use work-in-progress PRs for early feedback

Expand Down Expand Up @@ -176,6 +177,30 @@ A non-exclusive list of code that must be places in `vendor/`:

**Thank You!** - Your contributions to open source, large or small, make projects like this possible. Thank you for taking the time to contribute.

### Updating Quickstarts for new releases of Dapr
1. Create a PR to create a new branch of of `master` named `release-<version>`, e.g. `release-1.3`. This is the right place to put version dependent quickstarts, any stabilization work in the endgame of a release. [Example branch](https://github.com/dapr/quickstarts/tree/release-1.13).
paulyuk marked this conversation as resolved.
Show resolved Hide resolved
2. Create a PR to change to the global Dapr runtime version in `/.github/env/global.env` to be used by Dapr CLI in all CI/CD actions and tests. [Example PR](https://github.com/dapr/quickstarts/pull/976)
3. Analyze checks/tests and push on maintainers to revert or address any breaks to existing quickstarts.
4. Ensure clean tests that match stability in `master`.

This branch is now ready to release and/or take incoming PRs for new Quickstarts.

### Adding a new Quickstart
TODO

### Authoring tests for new Quickstarts
TODO
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When this is a community call recording can add a link here


### Troubleshooting tests
TODO

### Cutting a release of quickstarts
1. Change to the release branch created above.
2. Make sure the matching runtime and CLI versions are set to match intent in `global.env` file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you point to where this file is.

3. Create a new [Tag](https://github.com/dapr/quickstarts/tags) from this release branch in the form of v.M.mm-rcN, e.g. `v1.13-rc1`.
paulyuk marked this conversation as resolved.
Show resolved Hide resolved
4. After the final RC is promoted to a full release, create a new Tag dropping the RC, e.g. `v1.13.0`.
5. Create a new [Release]() in the form of `v1.13` and reference the tag from last step. Note the releases have convention of no dot releases (e.g. v1.13.0) unless patched (e.g. v1.13.1). Include highlights and changelist in the release notes, and double check that contributors get credit.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Brackets are empty for Release
  • What are you saying here "Note the releases have convention of no dot releases (e.g. v1.13.0) unless patched (e.g. v1.13.1)" - do not understand the "no dot releases" reference here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will clarify that sentence. good catch.


## Code of Conduct

This project has adopted the [Contributor Covenant Code of Conduct](https://github.com/dapr/community/blob/master/CODE-OF-CONDUCT.md)
3 changes: 2 additions & 1 deletion state_management/javascript/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ sleep: 60
```bash
dapr run --app-id order-processor --resources-path ../../../resources/ -- npm start
```
<!-- END_STEP -->

2. Stop and cleanup the process

```bash
dapr stop --app-id order-processor
```
<!-- END_STEP -->

Loading