Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
add "dns_list" to other jobs too in dockerfiles!
Browse files Browse the repository at this point in the history
  • Loading branch information
shitong01 committed Sep 11, 2018
1 parent 48359ef commit c44d996
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docker/hysds-io.json.cron
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
{
"name": "endpoint",
"from": "submitter"
},
{
"name": "dns_list",
"from": "submitter",
"type": "text"
}
]
}
5 changes: 5 additions & 0 deletions docker/hysds-io.json.qquery_iterate
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"from": "submitter",
"type": "jobspec_version",
"version_regex": "sling"
},
{
"name": "dns_list",
"from": "submitter",
"type": "text"
}
]
}
4 changes: 4 additions & 0 deletions docker/job-spec.json.cron
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
{
"name": "endpoint",
"destination": "positional"
},
{
"name": "dns_list",
"destination": "positional"
}
]
}
4 changes: 4 additions & 0 deletions docker/job-spec.json.qquery_iterate
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
{
"name": "sling_version",
"destination": "positional"
},
{
"name": "dns_list",
"destination": "positional"
}
]
}
2 changes: 1 addition & 1 deletion qquery/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("qtype", help="query endpoint, e.g. (asf|scihub|unavco)")
parser.add_argument("--dns_list", help="dns list for qtype to use from .netrc, comma separated", required=False)
parser.add_argument("--dns_list", help="dns list for qtype to use from .netrc, comma separated", required=True)
parser.add_argument("--tag", help="PGE docker image tag (release, version, " +
"or branch) to propagate",
default="master", required=False)
Expand Down

0 comments on commit c44d996

Please sign in to comment.