Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Updating docker tests to make it easier to follow & ensure it listens on the right interface on docker #1851

Merged
merged 5 commits into from
Aug 15, 2019
Merged

Updating docker tests to make it easier to follow & ensure it listens on the right interface on docker #1851

merged 5 commits into from
Aug 15, 2019

Conversation

joshuafernandes
Copy link
Contributor

@joshuafernandes joshuafernandes commented Aug 14, 2019

PR description

  • Updating docker tests to make it easier to follow & ensure it listens on the right interface on docker

Fixed Issue(s)

  • Updating docker tests to make it easier to follow & ensure it listens on the right interface on docker

@joshuafernandes joshuafernandes changed the title removing env vars in the dockerfile for consistency; updating tests t… Updating docker tests to make it easier to follow & ensure it listens on the right interface on docker Aug 14, 2019
bash tests/dgoss dockerfile $DOCKER_FILE \
> ./reports/00.xml || i=`expr $i + 1`
# fail fast if we dont pass static checks
if [[ $i != 0 ]]; then exit $i; fi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checks for the dockerfile too

# Test for normal startup with ports opened
GOSS_FILES_PATH=tests/01 \
bash tests/dgoss \
run $DOCKER_IMAGE \
--network=dev \
--p2p-host=0.0.0.0 \
--rpc-http-enabled \
--rpc-http-host=0.0.0.0 \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing duplicity since these are specified in the docker image

tcp:8545:
listening: true
tcp:8546:
listening: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing duplicate test fie - see goss_wait.yaml

Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@joshuafernandes joshuafernandes merged commit 623f750 into PegaSysEng:master Aug 15, 2019
@joshuafernandes joshuafernandes deleted the IT-125_goss_tests_for_dockerfile branch August 15, 2019 04:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants