[arch-commits] Commit in nomad/repos/community-testing-x86_64 (8 files)

George Rawlinson grawlinson at archlinux.org
Tue Jun 22 19:52:18 UTC 2021


    Date: Tuesday, June 22, 2021 @ 19:52:18
  Author: grawlinson
Revision: 966942

archrelease: copy trunk to community-testing-x86_64

Added:
  nomad/repos/community-testing-x86_64/PKGBUILD
    (from rev 966939, nomad/trunk/PKGBUILD)
  nomad/repos/community-testing-x86_64/defaults.hcl
    (from rev 966939, nomad/trunk/defaults.hcl)
  nomad/repos/community-testing-x86_64/systemd.service
    (from rev 966940, nomad/trunk/systemd.service)
  nomad/repos/community-testing-x86_64/tmpfiles.conf
    (from rev 966941, nomad/trunk/tmpfiles.conf)
Deleted:
  nomad/repos/community-testing-x86_64/PKGBUILD
  nomad/repos/community-testing-x86_64/defaults.hcl
  nomad/repos/community-testing-x86_64/systemd.service
  nomad/repos/community-testing-x86_64/tmpfiles.conf

-----------------+
 PKGBUILD        |  128 +++++++++++++++++++++++++++---------------------------
 defaults.hcl    |   14 ++---
 systemd.service |   40 ++++++++--------
 tmpfiles.conf   |    4 -
 4 files changed, 93 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-22 19:52:03 UTC (rev 966941)
+++ PKGBUILD	2021-06-22 19:52:18 UTC (rev 966942)
@@ -1,64 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=nomad
-pkgver=1.1.1
-pkgrel=2
-pkgdesc="A simple and flexible workload orchestrator"
-arch=('x86_64')
-url="https://www.nomadproject.io"
-license=('MPL2')
-depends=('glibc' 'iptables')
-makedepends=('go' 'git')
-optdepends=(
-  'docker: for docker driver'
-  'java-runtime: for java driver'
-  'java-runtime-headless: for java driver - headless'
-  'qemu: for qemu driver'
-  'nomad-driver-nspawn: for systemd-nspawn driver'
-  'nomad-driver-podman: for podman driver'
-  'nomad-driver-lxc: for lxc driver'
-  'nomad-driver-containerd: for containerd driver'
-)
-backup=(etc/nomad.d/defaults.hcl)
-source=(
-  "$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/nomad/archive/v$pkgver.tar.gz"
-  'systemd.service'
-  'tmpfiles.conf'
-  'defaults.hcl'
-)
-b2sums=('85384697dc3da8846804e1e116b9048a662b90c1942254959f564da806a9cab7f42140f4c6947a5ccb02550b0b6902bde15c0fc607b32894ee5efb0f1ca95062'
-        '0f931868e9d7465f3be176ab789b7c7b5a4c35713a82e4d3bb94460254011779d814d4708f4f8cc76ba0dd1928ac7eeda42e01ed43be675a5d26d0b75ba986b9'
-        '4142a758057382846b48e9bfc443c1218c8fde866544d56c6e773933d67a0824e365280d39864249f355aee6080e0b4b969fd8cc4c5826583821ad1843b07e35'
-        'abbf4c69d70e03b318f73ef84ccf258e39b25ac956ec68c82bebe277662ddd1677719c3b693c04a8cc38554c562a127aa2ba4061e20e594440d432d729bab3b3')
-
-prepare() {
-	cd "$pkgname-$pkgver"
-  mkdir build
-  go mod vendor
-}
-
-build() {
-  # nonvidia: https://github.com/hashicorp/nomad/issues/8330
-  local GO_TAGS="ui release nonvidia"
-	cd "$pkgname-$pkgver"
-  CGO_ENABLED=1 go build -v \
-    -buildmode=pie \
-    -trimpath \
-    -mod=vendor \
-    -modcacherw \
-    -ldflags "-extldflags $LDFLAGS -X "main.GitCommit=${pkgver}"" \
-    -tags "$GO_TAGS" \
-    -o build .
-}
-
-package() {
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" "$pkgname-$pkgver/build/$pkgname"
-
-  # configuration
-  install -vDm644 -t "$pkgdir/etc/nomad.d" defaults.hcl
-
-  # systemd integration
-  install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
-}

Copied: nomad/repos/community-testing-x86_64/PKGBUILD (from rev 966939, nomad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-22 19:52:18 UTC (rev 966942)
@@ -0,0 +1,64 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=nomad
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="A simple and flexible workload orchestrator"
+arch=('x86_64')
+url="https://www.nomadproject.io"
+license=('MPL2')
+depends=('iptables')
+makedepends=('go' 'git')
+optdepends=(
+  'docker: for docker driver'
+  'java-runtime: for java driver'
+  'java-runtime-headless: for java driver - headless'
+  'qemu: for qemu driver'
+  'nomad-driver-nspawn: for systemd-nspawn driver'
+  'nomad-driver-podman: for podman driver'
+  'nomad-driver-lxc: for lxc driver'
+  'nomad-driver-containerd: for containerd driver'
+)
+backup=(etc/nomad.d/defaults.hcl)
+source=(
+  "$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/nomad/archive/v$pkgver.tar.gz"
+  'systemd.service'
+  'tmpfiles.conf'
+  'defaults.hcl'
+)
+b2sums=('b52c4f9504ad1e0dedbd52b3bf0166a0a9ea61c6e9edce0ad182fbb9921d84c95aac543ab6d617c46485eb149a99c116835e896692433792b8d7faecf5c195a6'
+        '0f931868e9d7465f3be176ab789b7c7b5a4c35713a82e4d3bb94460254011779d814d4708f4f8cc76ba0dd1928ac7eeda42e01ed43be675a5d26d0b75ba986b9'
+        '4142a758057382846b48e9bfc443c1218c8fde866544d56c6e773933d67a0824e365280d39864249f355aee6080e0b4b969fd8cc4c5826583821ad1843b07e35'
+        'abbf4c69d70e03b318f73ef84ccf258e39b25ac956ec68c82bebe277662ddd1677719c3b693c04a8cc38554c562a127aa2ba4061e20e594440d432d729bab3b3')
+
+prepare() {
+	cd "$pkgname-$pkgver"
+  mkdir build
+  go mod vendor
+}
+
+build() {
+  # nonvidia: https://github.com/hashicorp/nomad/issues/8330
+  local GO_TAGS="ui release nonvidia"
+	cd "$pkgname-$pkgver"
+  CGO_ENABLED=1 go build -v \
+    -buildmode=pie \
+    -trimpath \
+    -mod=vendor \
+    -modcacherw \
+    -ldflags "-extldflags $LDFLAGS -X "main.GitCommit=${pkgver}"" \
+    -tags "$GO_TAGS" \
+    -o build .
+}
+
+package() {
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "$pkgname-$pkgver/build/$pkgname"
+
+  # configuration
+  install -vDm644 -t "$pkgdir/etc/nomad.d" defaults.hcl
+
+  # systemd integration
+  install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}

Deleted: defaults.hcl
===================================================================
--- defaults.hcl	2021-06-22 19:52:03 UTC (rev 966941)
+++ defaults.hcl	2021-06-22 19:52:18 UTC (rev 966942)
@@ -1,7 +0,0 @@
-## https://www.nomadproject.io/docs/agent/configuration/index.html
-
-# state directory
-data_dir = "/var/lib/nomad"
-
-# binaries shouldn't go in /var/lib
-plugin_dir = "/usr/lib/nomad/plugins"

Copied: nomad/repos/community-testing-x86_64/defaults.hcl (from rev 966939, nomad/trunk/defaults.hcl)
===================================================================
--- defaults.hcl	                        (rev 0)
+++ defaults.hcl	2021-06-22 19:52:18 UTC (rev 966942)
@@ -0,0 +1,7 @@
+## https://www.nomadproject.io/docs/agent/configuration/index.html
+
+# state directory
+data_dir = "/var/lib/nomad"
+
+# binaries shouldn't go in /var/lib
+plugin_dir = "/usr/lib/nomad/plugins"

Deleted: systemd.service
===================================================================
--- systemd.service	2021-06-22 19:52:03 UTC (rev 966941)
+++ systemd.service	2021-06-22 19:52:18 UTC (rev 966942)
@@ -1,20 +0,0 @@
-[Unit]
-Description=Nomad
-Documentation=https://www.nomadproject.io/docs/
-Wants=network-online.target consul.service
-After=network-online.target consul.service
-
-[Service]
-ExecReload=/bin/kill -HUP $MAINPID
-ExecStart=/usr/bin/nomad agent -config /etc/nomad.d
-KillMode=process
-KillSignal=SIGINT
-LimitNOFILE=65536
-LimitNPROC=infinity
-Restart=on-failure
-RestartSec=2
-TasksMax=infinity
-OOMScoreAdjust=-1000
-
-[Install]
-WantedBy=multi-user.target

Copied: nomad/repos/community-testing-x86_64/systemd.service (from rev 966940, nomad/trunk/systemd.service)
===================================================================
--- systemd.service	                        (rev 0)
+++ systemd.service	2021-06-22 19:52:18 UTC (rev 966942)
@@ -0,0 +1,20 @@
+[Unit]
+Description=Nomad
+Documentation=https://www.nomadproject.io/docs/
+Wants=network-online.target consul.service
+After=network-online.target consul.service
+
+[Service]
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStart=/usr/bin/nomad agent -config /etc/nomad.d
+KillMode=process
+KillSignal=SIGINT
+LimitNOFILE=65536
+LimitNPROC=infinity
+Restart=on-failure
+RestartSec=2
+TasksMax=infinity
+OOMScoreAdjust=-1000
+
+[Install]
+WantedBy=multi-user.target

Deleted: tmpfiles.conf
===================================================================
--- tmpfiles.conf	2021-06-22 19:52:03 UTC (rev 966941)
+++ tmpfiles.conf	2021-06-22 19:52:18 UTC (rev 966942)
@@ -1,2 +0,0 @@
-d /var/lib/nomad 0700
-d /usr/lib/nomad/plugins

Copied: nomad/repos/community-testing-x86_64/tmpfiles.conf (from rev 966941, nomad/trunk/tmpfiles.conf)
===================================================================
--- tmpfiles.conf	                        (rev 0)
+++ tmpfiles.conf	2021-06-22 19:52:18 UTC (rev 966942)
@@ -0,0 +1,2 @@
+d /var/lib/nomad 0700
+d /usr/lib/nomad/plugins



More information about the arch-commits mailing list