Update valet-audit-lab.md
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# Audit Azure DevOps pipelines using the Valet audit command
|
||||
|
||||
In this lab, you will use Valet to `audit` an Azure DevOps organization. The `audit` command can be used to scan a CI server and output a summary of the current pipelines. This summary can then be used to plan the timeline and effort required to migrate to GitHub Actions.
|
||||
|
||||
- [Prerequisites](#prerequisites)
|
||||
@@ -14,29 +13,24 @@ In this lab, you will use Valet to `audit` an Azure DevOps organization. The `au
|
||||
2. Create or start a codespace in this repository (if not started)
|
||||
|
||||
## Perform an audit
|
||||
|
||||
You will use the codespace preconfigured in this repository to perform the audit.
|
||||
|
||||
1. Navigate to the codespace Visual Studio Code terminal
|
||||
1. Navigate to the codespace Visual Studio Code terminal
|
||||
2. Verify you are in the `valet` directory
|
||||
3. Now, from the `valet` folder in your repository, run Valet to verify your Azure DevOps configuration:
|
||||
|
||||
```
|
||||
gh valet audit azure-devops --output-dir audit
|
||||
```
|
||||
|
||||
### Example
|
||||
|
||||

|
||||
|
||||
4. Valet displays green log files to indicate a successful audit
|
||||
|
||||
### Example
|
||||
|
||||

|
||||
|
||||
## View audit output
|
||||
|
||||
The audit summary, logs, Azure DevOps yml, and GitHub yml should all be located in the `valet` folder.
|
||||
|
||||
1. Under the `valet` folder find the `audit_summary.md`
|
||||
@@ -45,18 +39,14 @@ The audit summary, logs, Azure DevOps yml, and GitHub yml should all be located
|
||||
4. Review the file.
|
||||
|
||||
### Example
|
||||
|
||||

|
||||
|
||||
## Review the pipelines
|
||||
|
||||
The `audit` command grabs the yml, classic, and release pipelines from Azure DevOps and converts them to GitHub Actions.
|
||||
|
||||
### Example
|
||||
|
||||
View the source yml and the proposed GitHub yml
|
||||

|
||||
|
||||
### Next Lab
|
||||
|
||||
[Dry-run the migration of an Azure DevOps pipeline to GitHub Actions](valet-dry-run-lab.md)
|
||||
[Dry run the migration of an Azure DevOps pipeline to GitHub Actions](valet-dry-run-lab.md)
|
||||
|
||||
Reference in New Issue
Block a user