-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Change BATS image #259
Change BATS image #259
Conversation
Updated the URL's for ST2_STREAM_URL and ST2_AUTH_URL |
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.
Thanks for the contribution!
And good find it's bats
that's failing 👍
Looking at the history, we had a similar PR in the K8s repo:
StackStorm/stackstorm-k8s#338
Let's rely on the official bats
image so we'll be consistent with the testing approach across the projects.
Oh, and please update the https://github.com/StackStorm/st2-docker/blob/master/CHANGELOG.md as well mentioning your fixes.
@armab
You have to start the container with the entrypoint /bin/ash, then it works. A st2test Docker container should be built so that you don't have to install bats and the helper tools at each runtime. |
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.
Thanks for the fix! Installing bats
via apt
looks good to me.
Noticed one minor typo to fix before merging, otherwise looks good.
remove dash Co-authored-by: Eugen C. <[email protected]>
The BATS image from Damien Duportal is no longer available in docker hub.
I have forked his repository and pushed the image to my private repository
zoeleah/bats
.This is a quick fix, I think the best would be to host the image in the StackStorm Docker Hub Repository or to refactor the tests to use
bats/bats
.