Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
962e2977
Commit
962e2977
authored
May 27, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating help and secure-vars arg
parent
5d99ad73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
util/vpc-tools/abbey.py
+8
-7
No files found.
util/vpc-tools/abbey.py
View file @
962e2977
...
...
@@ -48,11 +48,12 @@ def parse_args():
parser
.
add_argument
(
'--noop'
,
action
=
'store_true'
,
help
=
"don't actually run the cmds"
,
default
=
False
)
parser
.
add_argument
(
'--secure-vars'
,
required
=
False
,
metavar
=
"SECURE_VAR_FILE"
,
parser
.
add_argument
(
'--secure-vars
-file
'
,
required
=
False
,
metavar
=
"SECURE_VAR_FILE"
,
default
=
None
,
help
=
"path to secure-vars from the root of "
"the secure repo (defaults to ansible/"
"vars/ENVIRONMENT-DEPLOYMENT.yml)"
)
"the secure repo. By default <deployment>.yml and "
"<environment>-<deployment>.yml will be used if they "
"exist in <secure-repo>/ansible/vars/"
)
parser
.
add_argument
(
'--stack-name'
,
help
=
"defaults to ENVIRONMENT-DEPLOYMENT"
,
metavar
=
"STACK_NAME"
,
...
...
@@ -663,12 +664,12 @@ if __name__ == '__main__':
git_refs_yml
=
""
git_refs
=
{}
if
args
.
secure_vars
:
if
args
.
secure_vars
_file
:
# explicit path to a single
# secure var file
secure_vars
=
args
.
secure_vars
secure_vars
_file
=
args
.
secure_vars_file
else
:
secure_vars
=
'false'
secure_vars
_file
=
'false'
if
args
.
stack_name
:
stack_name
=
args
.
stack_name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment