forked from linkerd/linkerd2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: Use markdownlint-cli2 (linkerd#8612)
VSCode extensions tend to use `markdownlint-cli2`. This change replaces our uses of `markdownlint-cli` with `markdownlint-cli2`. We update CI to use `DavidAnson/markdownlint-cli2-action` and we remove the `bin/markdown*` scripts. The devcontainer is updated to v16 including the appropriate set of tools. Signed-off-by: Oliver Gould <[email protected]>
- Loading branch information
Showing
8 changed files
with
49 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: markdown | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**/*.md' | ||
- .github/workflows/markdown.yml | ||
|
||
jobs: | ||
markdownlint: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
- uses: DavidAnson/markdownlint-cli2-action@744f913a124058ee903768d3adb92a4847e5d132 | ||
with: | ||
globs: | | ||
**/*.md | ||
!**/node_modules/** | ||
!target/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
# Fuzzing Linkerd | ||
|
||
The scripting setup for fuzzing is used by | ||
[google/oss-fuzz](https://github.com/google/oss-fuzz) which performs continuous | ||
fuzzing for the Linkerd project. | ||
The scripting setup for fuzzing is used by [google/oss-fuzz] which | ||
performs continuous fuzzing for the Linkerd project. | ||
|
||
The fuzzing configuration for Linkerd is located in the | ||
[linkerd2](https://github.com/google/oss-fuzz/tree/master/projects/linkerd2) | ||
project which handles the docker build and execution of the fuzzers. | ||
The fuzzing configuration for Linkerd is located in the [linkerd2 | ||
project directory][of-l2] which handles the docker build and execution of the | ||
fuzzers. | ||
|
||
## Running locally | ||
|
||
Instructions for running the fuzzers locally can be found in the oss-fuzz | ||
[docs](https://google.github.io/oss-fuzz/getting-started/new-project-guide/#testing-locally). | ||
[docs]. | ||
|
||
This will require cloning the [oss-fuzz](https://github.com/google/oss-fuzz) | ||
repository locally and running the commands outlined in the instructions. | ||
This will require cloning the [google/oss-fuzz] repository locally and running | ||
the commands outlined in the instructions. | ||
|
||
### oss-fuzz File Setup | ||
|
||
- [Dockerfile](https://github.com/google/oss-fuzz/blob/master/projects/linkerd2/Dockerfile) | ||
provides the necessary environment for running the fuzzer; the main thing | ||
being the `oss-fuzz-base` image which provides the `compile_go_fuzzer` | ||
funtions seen in this directory's `build.sh`. | ||
- [build.sh](https://github.com/google/oss-fuzz/blob/master/projects/linkerd2/build.sh) | ||
is responsible for calling the fuzzing functions for each fuzzer in the | ||
linkerd2 project. | ||
- [Dockerfile] provides the necessary environment for running the | ||
fuzzer; the main thing being the `oss-fuzz-base` image which provides the | ||
`compile_go_fuzzer` funtions seen in this directory's `build.sh`. | ||
- [build.sh] is responsible for calling the fuzzing functions for each | ||
fuzzer in the linkerd2 project. | ||
|
||
<!-- refs --> | ||
[google/oss-fuzz]: https://github.com/google/oss-fuzz | ||
[of-l2]: https://github.com/google/oss-fuzz/tree/master/projects/linkerd2 | ||
[docs]: https://google.github.io/oss-fuzz/getting-started/new-project-guide/#testing-locally | ||
[Dockerfile]: https://github.com/google/oss-fuzz/blob/master/projects/linkerd2/Dockerfile | ||
[build.sh]: https://github.com/google/oss-fuzz/blob/master/projects/linkerd2/build.sh |