-
Notifications
You must be signed in to change notification settings - Fork 7
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
Test sample app in CI #165
Conversation
In addition to the conformance test suite, we should also start to test our samples. This change updates the spring-petclinic sample to use kapp to deploy and updates the sample readme to describe the benefits of kapp and how we leverage them for the sample. Signed-off-by: Scott Andrews <andrewssc@vmware.com>
- name: Test samples | ||
run: | | ||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
echo "##[group]Deploy spring-petclinic" | ||
${KAPP} deploy -a servicebinding-sample-spring-petclinic -n apps --wait-timeout 5m -y \ | ||
-f samples/spring-petclinic | ||
echo "##[endgroup]" |
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.
Q: Does it make sense to have these in the same run pipeline as conformance tests? If these break, I don't want them to gate running conformance tests (or vice-versa, for that matter).
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's running in the acceptance
job. I view conformance as one part of acceptance for the RI. If there's a change that breaks a basic e2e app, we know the change isn't going to pass conformant (I hope). If you prefer, I can move this after the conformance tests.
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 was hoping to have a little more granularity in tests here. For now, it'll probably be fine (since we're still trying to get out of bootstrapping testing), but long-term I'd prefer to have separate pipeline stages for separate test suites.
In addition to the conformance test suite, we should also start to test our samples. This change updates the spring-petclinic sample to use kapp to deploy and updates the sample readme to describe the benefits of kapp and how we leverage them for the sample. Signed-off-by: Scott Andrews <andrewssc@vmware.com>
In addition to the conformance test suite, we should also start to test
our samples. This change updates the spring-petclinic sample to use kapp
to deploy and updates the sample readme to describe the benefits of kapp
and how we leverage them for the sample.
Signed-off-by: Scott Andrews andrewssc@vmware.com