-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renovate/charset-normalizer-3.x
- Loading branch information
Showing
15 changed files
with
366 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
# How to Contribute | ||
|
||
We'd love to accept your patches and contributions to this project. There are | ||
just a few small guidelines you need to follow. | ||
|
||
## Development Principles (for Googlers) | ||
|
||
There are a few principles for developing or refactoring the service | ||
implementations. Read the [Development Principles | ||
Guide](./docs/development-principles.md). | ||
Thank you so much for your interest in contributing to Online Boutique. | ||
Before contributing, you must: | ||
* Sign the [Contributor License Agreement (CLA)](#contributor-license-agreement). | ||
* Follow the [Google Open Source Community Guidelines](https://opensource.google.com/conduct/). | ||
* Follow the [Contribution Process](#contribution-process). | ||
|
||
## Contributor License Agreement | ||
|
||
Contributions to this project must be accompanied by a Contributor License | ||
Agreement. You (or your employer) retain the copyright to your contribution; | ||
this simply gives us permission to use and redistribute your contributions as | ||
Contributions to Online Boutique must be accompanied by a Contributor License | ||
Agreement (CLA). You (or your employer) retain the copyright to your contribution. | ||
The CLA gives us permission to use and redistribute your contributions as | ||
part of the project. Head over to <https://cla.developers.google.com/> to see | ||
your current agreements on file or to sign a new one. | ||
|
||
You generally only need to submit a CLA once, so if you've already submitted one | ||
(even if it was for a different project), you probably don't need to do it | ||
again. | ||
|
||
## Code reviews | ||
## Contribution Process | ||
|
||
All submissions, including submissions by project members, require review. We | ||
use GitHub pull requests for this purpose. Consult | ||
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more | ||
information on using pull requests. | ||
Here's the process for making a change to this repository: | ||
|
||
## Community Guidelines | ||
1. Review Online Boutique's [purpose](/docs/purpose.md) and [product requirements](/docs/product-requirements.md). | ||
1. If your proposed changes **do not align** with the purpose and product requirements of Online Boutique, you may be asked to instead maintain your own fork of this repository. | ||
1. For **small changes** (such as a bug fixes or spelling corrections): | ||
1. Fork this repository and submit a [pull request](https://help.github.com/articles/about-pull-requests/). | ||
1. Wait for a maintainer of this repository to review your change. | ||
1. For **bigger changes**: | ||
1. Create a [GitHub issue](https://github.com/GoogleCloudPlatform/microservices-demo/issues/new/choose) describing the change **before** working on the implementation. This is important to avoid potentially having to discard your development efforts. | ||
1. Wait for a maintainer of this repository to review your GitHub issue. For significantly complex proposals, you may be asked to start a Google Doc to discuss design decisions. | ||
|
||
This project follows [Google's Open Source Community | ||
Guidelines](https://opensource.google.com/conduct/). | ||
If you have any questions, please [create a GitHub issue](https://github.com/GoogleCloudPlatform/microservices-demo/issues/new/choose). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## Product Requirements | ||
|
||
This document contains a list of requirements that every change made to this repository should meet. | ||
Every change must: | ||
1. Preserve the golden user journey taken by Kubernetes beginners. | ||
1. Preserve the simplicity of demos. | ||
1. Preserve the simplicity of the GKE quickstart. | ||
|
||
These requirements are about the default deployment (default configuration) of Online Boutique. | ||
Changes that will violate any of these rules should not be built into the default configuration of Online Boutique. | ||
Such changes should be opt-in only — ideally, as a [Kustomize Component](https://github.com/GoogleCloudPlatform/microservices-demo/tree/main/kustomize) if they align with the [purpose of Online Boutique](/docs/purpose.md). | ||
|
||
### 1. Preserve the golden user journey taken by Kubernetes beginners | ||
|
||
The following statement about Online Boutique should always be true: | ||
|
||
> A user outside of Google can deploy Online Boutique's default configuration on a [_kind_ Kubernetes cluster](https://kind.sigs.k8s.io/). | ||
This statement describes the golden user journey that we expect new Kubernetes users to take while onboarding to Online Boutique. | ||
|
||
Being able to run Online Boutique on a _kind_ cluster ensures that Online Boutique is free and cloud-agnostic. This is aligned with [Google's mission](https://about.google/) of making information universally accessible and useful. To be specific, Online Boutique should be useful and accessible to developers that are new to Kubernetes. | ||
|
||
### 2. Preserve the simplicity of demos | ||
|
||
New changes should not complicate the primary user journey showcased in live demos and tutorials. | ||
|
||
Today, the primary user journey is as follows: | ||
1. Visit Online Boutique on a web browser. | ||
2. Select an item from the homepage and add the item to the cart. | ||
3. The checkout form is pre-populated with placeholder data (e.g. the shipping address). | ||
4. The user checks out and completes the order. | ||
|
||
### 3. Preserve the simplicity of the GKE quickstart | ||
|
||
New changes should not add additional complexity in the [main Online Boutique quickstart](https://github.com/GoogleCloudPlatform/microservices-demo#quickstart-gke). | ||
|
||
In particular, new changes should not add extra required steps or additional required tools in that quickstart. | ||
|
||
Ideally, extensions to Online Boutique's default functionality (such as a new microservice or a new cloud service integration) should be added as a [Kustomize Component](https://github.com/GoogleCloudPlatform/microservices-demo/tree/main/kustomize/components) which users can optionally opt into. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Purpose | ||
|
||
Today, the primary purpose of Online Boutique is to demonstrate: | ||
|
||
* [Google Kubernetes Engine (GKE)](https://cloud.google.com/kubernetes-engine) | ||
* [Anthos](https://cloud.google.com/anthos) | ||
* [Google Cloud Operations](https://cloud.google.com/products/operations) | ||
* tools and technologies commonly used alongside the above products | ||
|
||
while being accessible and useful to all new Kubernetes users. | ||
|
||
### Why does the purpose matter? | ||
|
||
We filter and prioritize the work to be done in this repository based on the purpose defined above. | ||
If you wish to make changes to this repository that do not align with the above purpose, we encourage you to maintain your own fork of Online Boutique. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.