Skip to content
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

openshiftDiff step unit test #20

Open
dtschan opened this issue Oct 22, 2020 · 0 comments
Open

openshiftDiff step unit test #20

dtschan opened this issue Oct 22, 2020 · 0 comments

Comments

@dtschan
Copy link
Member

dtschan commented Oct 22, 2020

Implement unit test for openshiftDiff step which tests:

  • Works whether oc and openshift-diff are in PATH or not

    • Installs oc and/or openshift-diff if not in PATH
  • Calls openshift-diff -n ${project} <<< '${configuration}'.

  • Prints a colored diff of OpenShift objects in configuration and the corresponding objects in project on cluster to stdout or rather the Jenkins build log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant