From bc806a259ecfead6774c89232b5d3c217ff037fb Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Thu, 13 Feb 2025 12:08:57 +0100 Subject: [PATCH] added changes file Signed-off-by: Christian Goll --- slurm-operator.changes | 4 ++++ slurm-operator.spec | 16 ++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 slurm-operator.changes diff --git a/slurm-operator.changes b/slurm-operator.changes new file mode 100644 index 0000000..0b6ac7a --- /dev/null +++ b/slurm-operator.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Feb 13 11:08:24 UTC 2025 - Christian Goll + +- inital commit of slurm-operator from slinky diff --git a/slurm-operator.spec b/slurm-operator.spec index d8ff570..53fc747 100644 --- a/slurm-operator.spec +++ b/slurm-operator.spec @@ -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