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 4ea23a0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
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
19 changes: 19 additions & 0 deletions tools/stress-cluster/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@ 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
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
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 4ea23a0

Please sign in to comment.