Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ops 6395 allow credentials to be configured flexibly #93

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion awx-ee/_build/scripts/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi

if [ "$PKGMGR" = "/usr/bin/microdnf" ]
then
if [ -z $PKGMGR_OPTS ]; then
if [ -z "${PKGMGR_OPTS}" ]; then
# NOTE(pabelanger): skip install docs and weak dependencies to
# make smaller images. Sadly, setting these in dnf.conf don't
# appear to work.
Expand Down
2 changes: 1 addition & 1 deletion awx-ee/_build/scripts/install-from-bindep
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi

if [ "$PKGMGR" = "/usr/bin/microdnf" ]
then
if [ -z $PKGMGR_OPTS ]; then
if [ -z "${PKGMGR_OPTS}" ]; then
# NOTE(pabelanger): skip install docs and weak dependencies to
# make smaller images. Sadly, setting these in dnf.conf don't
# appear to work.
Expand Down
13 changes: 7 additions & 6 deletions awx-ee/_build/scripts/introspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def simple_combine(reqs):
return fancy_lines


def parse_args(args=sys.argv[1:]):
def parse_args(args=None):

parser = argparse.ArgumentParser(
prog='introspect',
Expand All @@ -217,14 +217,15 @@ def parse_args(args=sys.argv[1:]):
)
)

subparsers = parser.add_subparsers(help='The command to invoke.', dest='action')
subparsers.required = True
subparsers = parser.add_subparsers(
help='The command to invoke.',
dest='action',
required=True,
)

create_introspect_parser(subparsers)

args = parser.parse_args(args)

return args
return parser.parse_args(args)


def run_introspect(args, logger):
Expand Down
Loading