-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add acceptance test for 'experimental.scripts' #2240
Conversation
@@ -146,4 +146,8 @@ func AddHandlers(server *TestServer) { | |||
}, | |||
}, nil | |||
}) | |||
|
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.
Why adding this call if deploy errors out anyway?
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.
It proceeds further with this call and executes more scripts.
prebuild: "python3 ./myscript.py 0 prebuild" | ||
postbuild: "python3 ./myscript.py 0 postbuild" | ||
predeploy: "python3 ./myscript.py 0 predeploy" | ||
postdeploy: "python3 ./myscript.py 0 postdeploy" |
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.
We don't really test this one, correct? Should we have an integration test instead which does successful deploy so we can cover this as well?
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.
It is useful to have it there to see that it was not run.
No description provided.