aboutsummaryrefslogtreecommitdiff
path: root/nix2/pull-upstream.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-29 09:46:43 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-29 09:46:43 +0100
commit153b8f1b9d52e7e5a6d35dfbd4ff4ff359a0dee7 (patch)
tree8d2fa2580f7f2e3bd64a8d7c0b80fd2c8c5c7c92 /nix2/pull-upstream.sh
parent14bd8f2010c3a1f90c6d1297f47ebbf46ee87dde (diff)
downloadnomad-driver-nix2-153b8f1b9d52e7e5a6d35dfbd4ff4ff359a0dee7.tar.gz
nomad-driver-nix2-153b8f1b9d52e7e5a6d35dfbd4ff4ff359a0dee7.zip
Rename driver to nix2
Diffstat (limited to 'nix2/pull-upstream.sh')
-rwxr-xr-xnix2/pull-upstream.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix2/pull-upstream.sh b/nix2/pull-upstream.sh
new file mode 100755
index 0000000..a797951
--- /dev/null
+++ b/nix2/pull-upstream.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+REF=v1.4.3
+
+wget https://github.com/hashicorp/nomad/raw/${REF}/drivers/exec/driver.go -O driver.go
+wget https://github.com/hashicorp/nomad/raw/${REF}/drivers/exec/handle.go -O handle.go
+wget https://github.com/hashicorp/nomad/raw/${REF}/drivers/exec/state.go -O state.go