More img -> text

This commit is contained in:
Ethan Dennis
2022-09-20 12:05:36 -07:00
committed by GitHub
parent aa0bdc7607
commit a11044361e
4 changed files with 160 additions and 113 deletions
+14 -2
View File
@@ -7,7 +7,6 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
## Configuring credentials ## Configuring credentials
1. Create an Azure DevOps personal access token (PAT). 1. Create an Azure DevOps personal access token (PAT).
__Note__: you can skip this step if you still have the PAT created during the setup steps [here](./readme.md#bootstrap-your-azure-devops-organization). __Note__: you can skip this step if you still have the PAT created during the setup steps [here](./readme.md#bootstrap-your-azure-devops-organization).
- Navigate to your existing organization (<https://dev.azure.com/:organization>) in your browser. - Navigate to your existing organization (<https://dev.azure.com/:organization>) in your browser.
- In the top right corner of your screen, click `User settings`. - In the top right corner of your screen, click `User settings`.
@@ -48,7 +47,20 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
- At the prompt, enter your Azure DevOps organization name. This should be the same organization used in the setup steps [here](./readme.md#bootstrap-your-azure-devops-organization). - At the prompt, enter your Azure DevOps organization name. This should be the same organization used in the setup steps [here](./readme.md#bootstrap-your-azure-devops-organization).
- At the prompt, enter your Azure DevOps project name. This should be the same project name used in the setup steps [here](./readme.md#bootstrap-your-azure-devops-organization). - At the prompt, enter your Azure DevOps project name. This should be the same project name used in the setup steps [here](./readme.md#bootstrap-your-azure-devops-organization).
![img](https://user-images.githubusercontent.com/18723510/187771230-27c97889-d98a-48f7-af01-c1a9f8df6423.png) ```console
$ gh valet configure
✔ Which CI providers are you configuring?: Azure DevOps
Enter the following values (leave empty to omit):
✔ GitHub handle used to authenticate with the GitHub Container Registry: mona
✔ Personal access token to authenticate with the GitHub Container Registry: ***************
✔ Personal access token for GitHub: ***************
✔ Base url of the GitHub instance: https://github.com
✔ Personal access token for Azure DevOps: ***************
✔ Base url of the Azure DevOps instance: https://dev.azure.com
✔ Azure DevOps organization name: :organization
✔ Azure DevOps project name: :project
Environment variables successfully updated.
```
## Verify your environment ## Verify your environment
+13 -1
View File
@@ -32,7 +32,19 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
- At the access token to fetch source code in GitHub prompt, enter the GitHub PAT generated in step 1 and press enter. - At the access token to fetch source code in GitHub prompt, enter the GitHub PAT generated in step 1 and press enter.
- At the GitHub instance url containing source code prompt, press enter to accept the default value (`https://github.com`). - At the GitHub instance url containing source code prompt, press enter to accept the default value (`https://github.com`).
![configure-screenshot](https://user-images.githubusercontent.com/18723510/188935436-308fa6d3-6eb7-48b9-bbf0-20ab0cdae411.png) ```console
$ gh valet configure
✔ Which CI providers are you configuring?: CircleCI
Enter the following values (leave empty to omit):
✔ GitHub handle used to authenticate with the GitHub Container Registry: mona
✔ Personal access token to authenticate with the GitHub Container Registry: ***************
✔ Personal access token for GitHub: ***************
✔ Base url of the GitHub instance: https://github.com
✔ Personal access token for CircleCI: ***************
✔ Base url of the CircleCI instance: https://circleci.com
✔ CircleCI organization name: valet-labs
Environment variables successfully updated.
```
## Verify your environment ## Verify your environment
+12 -1
View File
@@ -46,7 +46,18 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
- At the GitLab CI token prompt, enter the GitLab CI access token from step 3 and press enter. - At the GitLab CI token prompt, enter the GitLab CI access token from step 3 and press enter.
- At the GitLab CI URL prompt, enter `http://localhost` and press enter. - At the GitLab CI URL prompt, enter `http://localhost` and press enter.
![img](https://user-images.githubusercontent.com/18723510/183990474-d0b2559c-d2bf-40d9-ac43-19af53e45329.png) ```console
$ gh valet configure
✔ Which CI providers are you configuring?: GitLab CI
Enter the following values (leave empty to omit):
✔ GitHub handle used to authenticate with the GitHub Container Registry: mona
✔ Personal access token to authenticate with the GitHub Container Registry: ***************
✔ Personal access token for GitHub: ***************
✔ Base url of the GitHub instance: https://github.com
✔ Private token for GitLab: ***************
✔ Base url of the GitLab instance: https://gitlab.com
Environment variables successfully updated.
```
## Verify your environment ## Verify your environment
+14 -2
View File
@@ -28,6 +28,7 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
- Select the following scopes: `workflow` and `read:packages`. - Select the following scopes: `workflow` and `read:packages`.
- Click `Generate token`. - Click `Generate token`.
- Copy the generated PAT and save it in a safe location. - Copy the generated PAT and save it in a safe location.
4. Run the `configure` CLI command: 4. Run the `configure` CLI command:
- Select the `TERMINAL` tab from within the codespace terminal window. - Select the `TERMINAL` tab from within the codespace terminal window.
- Run the following command: `gh valet configure`. - Run the following command: `gh valet configure`.
@@ -38,9 +39,20 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
- At the GitHub URL prompt, enter the GitHub instance URL or press enter to accept the default value (`https://github.com`). - At the GitHub URL prompt, enter the GitHub instance URL or press enter to accept the default value (`https://github.com`).
- At the Jenkins token prompt, enter the Jenkins access token from step 2 and press enter. - At the Jenkins token prompt, enter the Jenkins access token from step 2 and press enter.
- At the Jenkins URL prompt, enter `http://localhost:8080/` and press enter. - At the Jenkins URL prompt, enter `http://localhost:8080/` and press enter.
- At the Personal access token to fetch source code in GitHub prompt, press enter to accept the default value.
![img](https://user-images.githubusercontent.com/19557880/184041328-ce54ea22-b0cd-4c84-b02c-10ad7b09ad89.png) ```console
$ gh valet configure
✔ Which CI providers are you configuring?: Jenkins
Enter the following values (leave empty to omit):
✔ GitHub handle used to authenticate with the GitHub Container Registry: mona
✔ Personal access token to authenticate with the GitHub Container Registry: ***************
✔ Personal access token for GitHub: ***************
✔ Base url of the GitHub instance: https://github.com
✔ Personal access token for Jenkins: ***************
✔ Username of Jenkins user: admin
✔ Base url of the Jenkins instance: https://localhost
Environment variables successfully updated.
```
## Verify your environment ## Verify your environment