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

Fix -v behaviour; minor cleanups for docker builds #136

Merged
merged 3 commits into from
Aug 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
.git
.pytest_cache
__pycache__
*.egg-info
build
docs
dist
test-reports
4 changes: 2 additions & 2 deletions bin/aca-py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ if ENABLE_PTVSD or "--debug" in sys.argv:

from aries_cloudagent.commands import run_command # noqa

if len(sys.argv) > 1:
if len(sys.argv) > 1 and sys.argv[1] and sys.argv[1][0] != "-":
command = sys.argv[1]
args = sys.argv[2:]
else:
command = None
args = []
args = sys.argv[1:]

run_command(command, args)
2 changes: 1 addition & 1 deletion scripts/run_tests_indy
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ if [ ! -z "$POSTGRES_URL" ]; then
fi

$DOCKER run --rm -ti --name aries-cloudagent-runner \
-v "$(pwd)/../test-reports:/usr/src/app/test-reports" \
-v "$(pwd)/../test-reports:/home/indy/src/test-reports" \
$DOCKER_ARGS \
aries-cloudagent-test "$@"