From 4da2131c5ac456497bb928a6504d972e25a5a25d Mon Sep 17 00:00:00 2001 From: j-dunham Date: Wed, 10 Aug 2022 13:25:04 -0400 Subject: [PATCH] Update valet-configure-lab.md --- gitlab/valet-configure-lab.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/gitlab/valet-configure-lab.md b/gitlab/valet-configure-lab.md index 07b247a..bec4920 100644 --- a/gitlab/valet-configure-lab.md +++ b/gitlab/valet-configure-lab.md @@ -1,4 +1,4 @@ -# Configure Valet To Work With GitLab Using The `configure` Command +# Configure Valet to work with GitLab using The `configure` command In this lab, you will use Valet's `configure` command to set up the required secrets to communicate with the GitLab and GitHub instances. The `configure` command can be used for all of the supported providers, but in this lab we will be focusing on GitLab. - [Prerequisites](#prerequisites) @@ -18,7 +18,7 @@ In this lab, you will use Valet's `configure` command to set up the required sec 3. Hover over the address under the `Local Address` column, and click the globe to open in browser 4. Login to the GitLab server and following [instructions](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token) to generate a token that has `read_api` scope. 5. Record token for a later step. -3. Create a GitHub personal access token. +3. Create a GitHub personal access token (PAT). - Navigate to your GitHub `Settings` - click your profile photo and then click `Settings`. - Go to `Developer Settings` - Go to `Personal Access Tokens` -> `Legacy tokens (if present)` @@ -28,11 +28,13 @@ In this lab, you will use Valet's `configure` command to set up the required sec - Copy the token somewhere safe and temporary. 4. In the codespace terminal window click back to the `TERMINAL` tab and run `gh valet configure`. 5. Using the down arrow key to highlight `GitLab CI`, press the spacebar to select, then hit enter to accept. -6. Enter the previously generated GitHub access token from step 3. -7. Enter the GitHub instance url or hit enter to accept the default, if you are using github.com then the default is the right choice. -8. Enter the GitLab access token from step 2 and press enter. -9. Enter `http://localhost` for the GitLab instance url -10. If all went well you should see a similar output in your terminal +6. Enter your GitHub Username and press enter. +7. Enter the GitHub PAT generated in step 3 and press enter +8. Enter the GitHub PAT generated in step 3 and press enter. +9. Enter the GitHub instance url or hit enter to accept the default, if you are using github.com then the default is the right choice. +10. Enter the GitLab access token from step 2 and press enter. +11. Enter `http://localhost` for the GitLab instance url +12. If all went well you should see a similar output in your terminal ADD_IMAGE_HERE ## Verify Valet Works