From a1d55dba6a29d765d107746c0acc9fd0eb46aa88 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Wed, 21 Dec 2022 02:11:46 -0600 Subject: [PATCH] nomad: update to 1.4.3. --- srcpkgs/nomad/files/nomad/run | 5 +++++ srcpkgs/nomad/template | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/nomad/files/nomad/run diff --git a/srcpkgs/nomad/files/nomad/run b/srcpkgs/nomad/files/nomad/run new file mode 100644 index 00000000000..237107aedc5 --- /dev/null +++ b/srcpkgs/nomad/files/nomad/run @@ -0,0 +1,5 @@ +#!/bin/sh +[ -r conf ] && . ./conf +modprobe bridge # Needed for CNI networking +exec 2>&1 +exec nomad agent -config /etc/nomad.d/ diff --git a/srcpkgs/nomad/template b/srcpkgs/nomad/template index 3dcf48d0f9a..7abe1e1028b 100644 --- a/srcpkgs/nomad/template +++ b/srcpkgs/nomad/template @@ -1,19 +1,23 @@ # Template file for 'nomad' pkgname=nomad -version=1.4.2 +version=1.4.3 revision=1 build_style=go go_import_path="github.com/hashicorp/nomad" go_build_tags="ui release" _git_commit=2aa7e66bdb526e25f59883952d74dad7ea9a014e go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}" +depends="cni-plugins" short_desc="Cluster scheduler designed to easily integrate into existing workflows" maintainer="Michael Aldridge " license="MPL-2.0" homepage="https://www.nomadproject.io/" distfiles="https://github.com/hashicorp/nomad/archive/v${version}.tar.gz" -checksum=2d1bef5a219d5bafe76402aa2ccd4f57cadf8a28a8706783211d9b4966f1fe9a +checksum=0710f6bd787ed6fc98003ce63f5b7b44ae6b6672757f5638812af4ca1bca56fc +make_dirs="/etc/nomad.d 0755 root root + /var/lib/nomad 0755 root root" post_install() { vlicense LICENSE + vsv nomad }