Skip to content

Commit

Permalink
Merge pull request wolfi-dev#18011 from Aditvil-Dev/main
Browse files Browse the repository at this point in the history
Separating monitor package
jamonation authored Apr 29, 2024
2 parents 4fe5734 + 4b36de0 commit 004756f
Showing 3 changed files with 48 additions and 9 deletions.
46 changes: 46 additions & 0 deletions neuvector-monitor-5.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package:
name: neuvector-monitor-5.3
version: 5.3.2
epoch: 0
description: NeuVector Full Lifecycle Container Security Platform.
copyright:
- license: Apache-2.0
dependencies:
provides:
- neuvector-monitor=${{package.full-version}}

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- gcc
- glibc-dev
- make

pipeline:
- uses: git-checkout
with:
repository: https://github.com/neuvector/neuvector
tag: v${{package.version}}
expected-commit: edbdcba632835d56dcc92ba86323c8a196471289

- runs: |
make -C monitor
mkdir -p ${{targets.contextdir}}/usr/local/bin
install -Dm755 monitor/monitor ${{targets.contextdir}}/usr/bin/neuvector-monitor
subpackages:
- name: ${{package.name}}-compat
description: NeuVector Monitor binary symlink
pipeline:
- runs: |
mkdir -p ${{targets.contextdir}}/usr/local/bin
ln -s /usr/bin/neuvector-monitor ${{targets.contextdir}}/usr/local/bin/monitor
update:
enabled: true
github:
identifier: neuvector/neuvector
strip-prefix: v
tag-filter: v5.3.
8 changes: 0 additions & 8 deletions neuvector-scanner.yaml
Original file line number Diff line number Diff line change
@@ -51,14 +51,6 @@ subpackages:
subpackage: "true"
vendor: true

- name: ${{package.name}}-monitor
description: NeuVector Scanner Monitor
pipeline:
- runs: |
make -C monitor
mkdir -p ${{targets.contextdir}}/usr/local/bin
install -Dm755 monitor/monitor ${{targets.contextdir}}/usr/local/bin/${{package.name}}-monitor
test:
pipeline:
- runs: |
3 changes: 2 additions & 1 deletion withdrawn-packages.txt
Original file line number Diff line number Diff line change
@@ -45,4 +45,5 @@ node-cleanup-controller-compat-2.7.0-r1.apk
sig-storage-local-static-provisioner-2.7.0-r0.apk
sig-storage-local-static-provisioner-2.7.0-r1.apk
sig-storage-local-static-provisioner-compat-2.7.0-r0.apk
sig-storage-local-static-provisioner-compat-2.7.0-r1.apk
sig-storage-local-static-provisioner-compat-2.7.0-r1.apk
neuvector-scanner-monitor-0_git20240417-r1.apk

0 comments on commit 004756f

Please sign in to comment.