-
Notifications
You must be signed in to change notification settings - Fork 79
Travis: Execute acceptance tests on dockerized RMQ. #47
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.travis.yml
Outdated
@@ -17,13 +28,18 @@ script: | |||
- make test | |||
- make vet | |||
- make website-test | |||
- docker-compose -f $(pwd)/scripts/docker-compose.yml up -d | |||
- $(pwd)/scripts/wait-rabbitmq-docker.sh $(pwd)/scripts/docker-compose.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are passing the docker-compose file but it's not really used inside the script, I guess you can remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed 👍 , a bit copy/pasted from another provider where it was used 😅
rabbitmq: | ||
image: rabbitmq:${RABBITMQ_VERSION:-3.8}-management-alpine | ||
ports: | ||
- 15672:15672 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make things more explicit, could you also pass the environment variables that you defined for the username, password in here?
env:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USERNAME:guest}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD:guest}
Thanks @multani for your review ! I updated the PR based on your remarks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, let me know when it's merged and I can rebase #45 on top of it 👍
No description provided.