Skip to content

Commit

Permalink
Add link checking for stress CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Aug 3, 2022
1 parent a3c131e commit 2aea0dc
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/common/pipelines/templates/steps/verify-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ steps:
-branchReplacementName ${{ parameters.BranchReplacementName }}
-devOpsLogging: $true
-checkLinkGuidance: ${{ parameters.CheckLinkGuidance }}
-inputCacheFile "https://azuresdkartifacts.blob.core.windows.net/verify-links-cache/verify-links-cache.txt"
-inputCacheFile "https://azuresdkartifacts.blob.core.windows.net/verify-links-cache/verify-links-cache.txt"
4 changes: 2 additions & 2 deletions tools/stress-cluster/chaos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ spec:

For more detailed examples, see:

- [Chaos Experiments](https://chaos-mesh.org/docs/chaos_experiments/networkchaos_experiment) docs for all possible types
- [Chaos Experiments](https://chaos-mesh.org/docs/simulate-network-chaos-on-kubernetes/) docs for all possible types
- `./examples/network_stress_example/templates/network_loss.yaml` for an example network loss manifest within a helm chart
- The [Faults via Dashboard section](#faults-via-dashboard) for generating the configs from the UI

Expand Down Expand Up @@ -575,7 +575,7 @@ kubectl logs -n <stress test namespace> <stress test pod name>

## Configuring faults

Faults can be configured via kubernetes manifests or via the UI (which is a helper for building the manifests under the hood). For docs on the manifest schema, see [here](https://chaos-mesh.org/docs/user_guides/run_chaos_experiment).
Faults can be configured via kubernetes manifests or via the UI (which is a helper for building the manifests under the hood). For docs on the manifest schema, see [here](https://chaos-mesh.org/docs/define-chaos-experiment-scope/).

### Faults via Dashboard

Expand Down
21 changes: 21 additions & 0 deletions tools/stress-cluster/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,27 @@ pr:
- tools/stress-cluster

jobs:
- job: Analyze
pool:
name: 'azsdk-pool-mms-ubuntu-2004-general'
vmImage: 'MMSUbuntu20.04'
steps:
- template: /eng/common/pipelines/templates/steps/verify-links.yml
parameters:
Directory: tools/stress-cluster
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
Urls: (eng/common/scripts/get-markdown-files-from-changed-files.ps1)
${{ else }}:
Urls: '(Get-ChildItem -Path ./tools/stress-cluster -Recurse -Include *.md)'
- template: /eng/common/pipelines/templates/steps/verify-links.yml
parameters:
Directory: eng/common/scripts/stress-testing
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
Urls: (eng/common/scripts/get-markdown-files-from-changed-files.ps1)
${{ else }}:
Urls: '(Get-ChildItem -Path ./eng/common/scripts/stress-testing -Recurse -Include *.md)'


- template: /eng/pipelines/templates/jobs/stress-test-release.yml
parameters:
Environment: pg
Expand Down

0 comments on commit 2aea0dc

Please sign in to comment.