-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
CLI: command to set deployment hooks on deployment configs #9187
Conversation
@bparees ptal |
%[1]s deployment-hook dc/myapp --pre -v data -- /var/lib/migrate-db.sh | ||
|
||
# Set a mid deployment hook along with additional environment variables | ||
%[1]s deployment-hook dc/myapp --mid -v data -e VAR1=value1,VAR2=value2 -- /var/lib/prepare-deploy.sh` |
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.
i thought we were moving away from comma separated env variables and moving to mulitple -e args instead?
03be1d3
to
944a767
Compare
updated |
e44eed4
to
3a5accb
Compare
[test] |
@openshift/api-review |
Evaluated for origin test up to e8c6533 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/4663/) |
lgtm [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/4663/) (Image: devenv-rhel7_4342) |
Evaluated for origin merge up to e8c6533 |
'oc set deployment-hook' command
Implements #9040