aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nomad/static-assets.patch
diff options
context:
space:
mode:
authorMatthias Neugebauer <mtneug@mailbox.org>2019-09-17 12:29:23 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-10-06 13:00:22 +0200
commit9cf030c0125db320ba4f344a189ab55dd9cd1100 (patch)
tree3a354091f0cf319a412159dec8521a323bc82fd7 /testing/nomad/static-assets.patch
parent966c30eff15a2885de24ff11ed297fcb1a24a02a (diff)
downloadaports-9cf030c0125db320ba4f344a189ab55dd9cd1100.tar.bz2
aports-9cf030c0125db320ba4f344a189ab55dd9cd1100.tar.xz
testing/nomad: new aport
An easy-to-use, flexible, and performant workload orchestrator https://www.nomadproject.io/
Diffstat (limited to 'testing/nomad/static-assets.patch')
-rw-r--r--testing/nomad/static-assets.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/nomad/static-assets.patch b/testing/nomad/static-assets.patch
new file mode 100644
index 0000000000..8068ece4ee
--- /dev/null
+++ b/testing/nomad/static-assets.patch
@@ -0,0 +1,15 @@
+This patch removes the custom output name option that is handled properly only
+in the master branch of go-bindata-assetfs (see https://github.com/elazarl/go-bindata-assetfs/pull/32)
+diff --git a/GNUmakefile b/GNUmakefile
+index 2168ed8de..76bb2c3cd 100644
+--- a/GNUmakefile
++++ b/GNUmakefile
+@@ -317,7 +317,7 @@ testcluster: ## Bring up a Linux test cluster using Vagrant. Set PROVIDER if nec
+ .PHONY: static-assets
+ static-assets: ## Compile the static routes to serve alongside the API
+ @echo "--> Generating static assets"
+- @go-bindata-assetfs -pkg agent -prefix ui -modtime 1480000000 -tags ui -o bindata_assetfs.go ./ui/dist/...
++ @go-bindata-assetfs -pkg agent -prefix ui -modtime 1480000000 -tags ui ./ui/dist/...
+ @mv bindata_assetfs.go command/agent
+
+ .PHONY: test-website