Skip to content

Commit

Permalink
Merge pull request #13671 from dlorenc/linkerd
Browse files Browse the repository at this point in the history
Add linkerd-network-validator package.
  • Loading branch information
imjasonh authored Feb 26, 2024
2 parents fc25e46 + dadfdc6 commit 838cada
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
9 changes: 9 additions & 0 deletions linkerd-await.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ update:
github:
identifier: linkerd/linkerd-await
strip-prefix: release/v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
linkerd-await --version | grep ${{package.version}}
49 changes: 49 additions & 0 deletions linkerd-network-validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package:
name: linkerd-network-validator
version: 0.1.2
epoch: 0
description: "A program that validates linkerd networks"
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- rust

pipeline:
- uses: git-checkout
with:
repository: https://github.com/linkerd/linkerd2-proxy-init
tag: validator/v${{package.version}}
expected-commit: a18218e878664829d7a4a86905d80a5c45c09a32

- runs: |
cd validator
cargo fetch
cargo build --frozen --release
cd ..
mkdir -p ${{targets.destdir}}/usr/bin
mv target/release/linkerd-network-validator ${{targets.destdir}}/usr/bin
- uses: strip

update:
enabled: true
github:
identifier: linkerd/linkerd2-proxy-init
strip-prefix: validator/v
tag-filter: validator/v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
linkerd-network-validator --version | grep ${{package.version}}

0 comments on commit 838cada

Please sign in to comment.