Skip to content

Commit

Permalink
Adding VersionStream for node-feature-discovery-0.17 (#38476)
Browse files Browse the repository at this point in the history
  • Loading branch information
octo-sts[bot] authored Dec 30, 2024
1 parent 79b10a9 commit e58ac3c
Showing 1 changed file with 101 additions and 0 deletions.
101 changes: 101 additions & 0 deletions node-feature-discovery-0.17.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
package:
name: node-feature-discovery-0.17
version: 0.17.0
epoch: 0
description: Node feature discovery for Kubernetes
copyright:
- license: Apache-2.0
dependencies:
provides:
- node-feature-discovery=${{package.full-version}}

environment:
contents:
packages:
- openssf-compiler-options
- protoc

pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes-sigs/node-feature-discovery
tag: v${{package.version}}
expected-commit: 9ef6b4663cf50b0397f15bc5d63d60bbd2350347

- name: copy conf
runs: |
mkdir -p ${{targets.contextdir}}/etc/kubernetes/node-feature-discovery/
cp ./deployment/components/worker-config/nfd-worker.conf.example ${{targets.contextdir}}/etc/kubernetes/node-feature-discovery/nfd-worker.conf
- uses: go/build
with:
modroot: .
packages: ./cmd/kubectl-nfd
output: kubectl-nfd
tags: osusergo,netgo
ldflags: "-X sigs.k8s.io/node-feature-discovery/pkg/version.version=${{package.version}} -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=/host-"
go-package: go

- uses: go/build
with:
modroot: .
packages: ./cmd/nfd-gc
output: nfd-gc
tags: osusergo,netgo
ldflags: "-X sigs.k8s.io/node-feature-discovery/pkg/version.version=${{package.version}} -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=/host-"
go-package: go

- uses: go/build
with:
modroot: .
packages: ./cmd/nfd-master
output: nfd-master
tags: osusergo,netgo
ldflags: "-X sigs.k8s.io/node-feature-discovery/pkg/version.version=${{package.version}} -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=/host-"
go-package: go

- uses: go/build
with:
modroot: .
packages: ./cmd/nfd-topology-updater
output: nfd-topology-updater
tags: osusergo,netgo
ldflags: "-X sigs.k8s.io/node-feature-discovery/pkg/version.version=${{package.version}} -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=/host-"
go-package: go

- uses: go/build
with:
modroot: .
packages: ./cmd/nfd-worker
output: nfd-worker
tags: osusergo,netgo
ldflags: "-X sigs.k8s.io/node-feature-discovery/pkg/version.version=${{package.version}} -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=/host-"
go-package: go

- uses: strip

update:
enabled: true
github:
identifier: kubernetes-sigs/node-feature-discovery
strip-prefix: v
use-tag: true
tag-filter: v0.17.

test:
pipeline:
- runs: |
kubectl-nfd -h
nfd-gc -version
nfd-master -version
nfd-topology-updater -version
nfd-worker -version
kubectl-nfd --help
nfd-gc --version
nfd-gc --help
nfd-master --version
nfd-master --help
nfd-topology-updater --version
nfd-topology-updater --help
nfd-worker --version
nfd-worker --help

0 comments on commit e58ac3c

Please sign in to comment.