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

Add document for CI setup with GCP #310

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

kosyfrances
Copy link
Contributor

No description provided.

@kosyfrances kosyfrances self-assigned this Jul 9, 2018

* Open the [Service accounts](https://console.developers.google.com/iam-admin/serviceaccounts) page. If prompted, select a project.
* Click `Create service account`.
* In the `Create service account` window, type a name for the service account, and select `Furnish a new private key`. If you want to grant [G Suite domain-wide authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to the service account, also select `Enable G Suite Domain-wide Delegation`. Then click `Save`.
Copy link
Contributor

Choose a reason for hiding this comment

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

How is this "G Suite domain-wide authority" thing relevant to the setup?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure. Lorenzo did the major part of the initial setup so I am not sure if he used it or not.

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 doubt we need it anyway

* Click `Create service account`.
* In the `Create service account` window, type a name for the service account, and select `Furnish a new private key`. If you want to grant [G Suite domain-wide authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to the service account, also select `Enable G Suite Domain-wide Delegation`. Then click `Save`.

Your new public/private key pair is generated and downloaded to your machine; it serves as the only copy of this key. `You are responsible for storing it securely`.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that instead of using backticks to accent the message about storing the keys securely, you could use double asterisks **this will be bold** -> this will be bold.

@kosyfrances
Copy link
Contributor Author

@krnowak it is ready for another review 🎉

@krnowak
Copy link
Contributor

krnowak commented Jul 11, 2018

Hmph, forgot about this PR. LFAD.

@krnowak
Copy link
Contributor

krnowak commented Jul 11, 2018

I'd like @indradhanush to have a look at it, just in case.

Copy link
Contributor

@indradhanush indradhanush left a comment

Choose a reason for hiding this comment

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

LGTM with some nitpicks. No problem if they are ignored as well. 👍

```

### No Auth Provider found for name "gcp"
k8s.io/client-go/plugin/pkg/client/auth/gcp package was added fix the error
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: `k8s.io/client-go/plugin/pkg/client/auth/gcp` vs k8s.io/client-go/plugin/pkg/client/auth/gcp

Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: "was added to fix the error:"

Copy link
Contributor

@krnowak krnowak left a comment

Choose a reason for hiding this comment

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

Could you also add a short section about existing issues and add one about images and clusters not being deleted if a build was cancelled?

Signed-off-by: Kosy Anyanwu <kosy@kinvolk.io>
@kosyfrances
Copy link
Contributor Author

@krnowak @indradhanush ready for another review 😎

@krnowak krnowak merged commit 940468c into habitat-sh:master Jul 12, 2018
@krnowak krnowak deleted the kosy/ci-docs branch July 12, 2018 09:36
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.

3 participants