Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding VersionStream for node-feature-discovery-0.17 #38476

Merged
merged 2 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading