Closed thrasher-redhat closed 8 years ago
Other than the one note, this LGTM. We should probably have a test for it.
Added test for this case (and another similar case that wasn't covered in testing).
[test]
LGTM, lets make sure tests pass before we merge.
Looks good but for a grammatical error in a comment.
Evaluated for online test up to 1d2ff2c539a6bfc82b6d7d9f84566232e1d89847
Online Test Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9048/)
[merge]
Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/6636/) (Image: devenv_5709)
Please try to [merge] again, as the failures appear to be unrelated.
Evaluated for online merge up to 1d2ff2c539a6bfc82b6d7d9f84566232e1d89847
deployments_controller.rb: Adds check for REST deployment without arguments
Bug 1223025 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1223025
Currently, attempting to change a deployment and not passing in a target variable (either ref or artifact_url) will result in a false success message.
Adds a check to ensure that a ref or artifact_url variable is present before attempting to deploy.