Skip to content

Commit

Permalink
Merge pull request #1 from langmartin/f-gcs-download
Browse files Browse the repository at this point in the history
new gcs download manual test
  • Loading branch information
langmartin authored Nov 13, 2019
2 parents e8e0b1c + e7feb98 commit e99672b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cfg/raw-archive/agent.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
client {
enabled = true
options {
"driver.raw_exec.enable" = "1"
}
}
18 changes: 18 additions & 0 deletions cfg/raw-archive/job.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
job "job.hcl" {
datacenters = ["dc1"]

group "group" {
task "tasks" {
driver = "raw_exec"

artifact {
source = "gcs::https://www.googleapis.com/storage/v1/gcs-init-test-0101/sleep"
}

config {
command = "sleep"
args = ["900"]
}
}
}
}
6 changes: 6 additions & 0 deletions cfg/raw-archive/repro
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
nomad=nomad-0101

$nomad agent -dev -config=agent.hcl > /tmp/nomad.log 2>&1 &
sleep 10
$nomad job run job.hcl

0 comments on commit e99672b

Please sign in to comment.