added changes file

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll 2025-02-13 12:08:57 +01:00
parent 23880706f3
commit bc806a259e
No known key found for this signature in database
GPG Key ID: 1C8A3C66D870B18B
2 changed files with 14 additions and 6 deletions

4
slurm-operator.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Feb 13 11:08:24 UTC 2025 - Christian Goll <cgoll@suse.com>
- inital commit of slurm-operator from slinky

View File

@ -26,26 +26,30 @@ Source0: https://github.com/SlinkyProject/slurm-operator/archive/v%{versi
Source1: vendor.tar.gz
BuildRequires: go
BuildRequires: helm
BuildRequires: kubernetes-controller-manager
%description
This project deploys Slurm on Kubernetes. These pods coexist with other running workloads on Kubernetes. This project provides controls over the Slurm cluster configuration and deployment, along with configurable autoscaling policy for Slurm compute nodes.
%prep
%autosetup -p1
%autosetup -p1 -a1
%build
export CGO_ENABLED=0
export GOOS=${VENDIOR}
export GOARCH=${TARGETARCH}
export GOOS=linux
export GOARCH=$TARGETARCH
go build -a -o manager cmd/manager/main.go
go build -a -o webhook cmd/webhook/main.go
%install
%make_install
install -D manager %{buildroot}%{_bindir}/manager
install -D webhook %{buildroot}%{_bindir}/webhook
%files
%license COPYING
%doc ChangeLog README
%doc CHANGELOG.md README.md
%{_bindir}/manager
%{_bindir}/webhook
%changelog