slurm-operator/slurm-operator.spec
Christian Goll 23880706f3
added vendor
Signed-off-by: Christian Goll <cgoll@suse.com>
2025-02-12 16:24:39 +01:00

52 lines
1.6 KiB
RPMSpec

#
# spec file for package slurm-operator
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: slurm-operator
Version: 0.1.0
Release: 0
Summary: Provides a framework that runs Slurm in Kubernetes
License: Apache-2.0
URL: https://github.com/SlinkyProject/slurm-operator
Source0: https://github.com/SlinkyProject/slurm-operator/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go
BuildRequires: helm
%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
%build
export CGO_ENABLED=0
export GOOS=${VENDIOR}
export GOARCH=${TARGETARCH}
go build -a -o manager cmd/manager/main.go
%install
%make_install
%files
%license COPYING
%doc ChangeLog README
%changelog