-
Notifications
You must be signed in to change notification settings - Fork 43
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
Documentation updates #3738
Merged
Merged
Documentation updates #3738
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1aa8370
Update "installing the CLI" documentation
ethomson f602ada
Update docs main page
ethomson b2a2239
Documentation: some readability tweaks
ethomson 636f709
Update the "enrolling the GitHub Provider" documentation
ethomson 1b8d436
Documentation: tidy up register repos
ethomson 1a31302
Update profile creation documentation
ethomson 5997c45
Move status documentation to its own page
ethomson b4a0c7c
Documentation: use sentence case
ethomson f0f28bc
Documentation: Use sentence case
ethomson 8593ac9
Documentation: merge the two "add users to project" pages
ethomson 0f9d28a
Documentation: keep getting started bits separate and simpler
ethomson f0acac2
Reorder sidebar
ethomson 3648cd4
Documentation: give repository registration its own page
ethomson b697a80
Move the Minder CLI configuration documentation out of getting started
ethomson 9b89632
Update protocol documentation to use sentence case in title
ethomson a6034e0
Merge branch 'main' into ethomson/docs
ethomson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: Architecture | ||
title: Architecture overview | ||
sidebar_position: 60 | ||
--- | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: Get Hacking | ||
title: Get hacking | ||
sidebar_position: 1 | ||
--- | ||
|
||
|
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,2 +1,2 @@ | ||
label: Getting Started | ||
position: 20 | ||
label: Getting started | ||
position: 10 |
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,30 +1,38 @@ | ||
--- | ||
title: Enrolling a Provider | ||
title: Enrolling the GitHub Provider | ||
sidebar_position: 40 | ||
--- | ||
|
||
# Enrolling a Provider | ||
# Enrolling the GitHub Provider | ||
|
||
Once you have authenticated to Minder, you'll want to enroll your GitHub credentials to allow Minder to manage your GitHub repositories. In the future, Minder will support other source control and artifact repositories, and you will be able to enroll credentials for those providers in the same manner. | ||
Once you have authenticated to Minder, you'll need to enroll your GitHub credentials to allow Minder to manage your GitHub repositories. This allows Minder to inspect and manage your repository configuration. You will be prompted to grant Minder access. | ||
|
||
In the future, Minder will support other source control and artifact repositories, and you will be able to enroll credentials for those providers in the same manner. | ||
|
||
:::note | ||
If you used the [minder `quickstart` command](quickstart), the GitHub Provider was enrolled as part of the quickstart, and you do not need to enroll a second time. | ||
::: | ||
|
||
## Prerequisites | ||
|
||
* A running Minder server, including a running KeyCloak installation | ||
* A GitHub account | ||
* [The `minder` CLI application](./install_cli.md) | ||
* [Logged in to Minder server](./login.md) | ||
Before you can enroll the GitHub Provider, you must [log in to Minder using the CLI](login). | ||
|
||
## Enrolling the GitHub Provider | ||
## Enrolling and granting access | ||
|
||
To enroll your GitHub credentials in your Minder account, run: | ||
|
||
```bash | ||
minder provider enroll | ||
``` | ||
|
||
A browser session will open, and you will be prompted to login to your authorize the Minder application to access your GitHub account and select the organizations you want to install the application for. | ||
A browser session will open. If you are a member of multiple GitHub organizations, then you will be prompted which organization you want to enroll. You can select your personal account, or a GitHub organization that contains the repositories that you want to manage with Minder. | ||
|
||
![Selecting a GitHub organization](images/select-github-organization.png) | ||
|
||
Then you will need to select which repositories you want to allow Minder to manage. You can select all repositories within your GitHub organization, or you can choose individual repositories. If you select individual repositories, they will not be visible within Minder, and you will not be able to [register them](register_repos). | ||
|
||
![Selecting GitHub repositories](images/select-repositories.png) | ||
|
||
![Enrollment screenshot](./minder-authorize.png) | ||
![Enrollment screenshot](./minder-enroll.png) | ||
You can change your repository selection within GitHub at any time. | ||
|
||
Once you have granted Minder access, you will be redirected back, and the user will be enrolled. The `minder` CLI application will report the session is complete. | ||
Once you authorize Minder within GitHub, the browser window will close, and you will have enrolled the GitHub Provider. The `minder` CLI application will report the session is complete. |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this is not strictly a prerequisite, but I guess this is the desired experience for a user going through the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. 😁 I worded it as should because of that. I didn't really want to untangle all the details in the getting started page. 😁