-
Notifications
You must be signed in to change notification settings - Fork 8
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 : Add E2E test for buildpacks build strategy #371
Conversation
fafa459
to
4a12957
Compare
if (result.getExitCode() != 0) { | ||
throw new IOException(String.format("Error in listing docker volumes: %s", result.getOutput())); | ||
} | ||
return Arrays.asList(result.getOutput().replace("\r", "").split("\n")); |
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.
Could we use a common regex for all systems \r?\n
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.6.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>1.5.0</version> | ||
<configuration> | ||
<mainClass>org.eclipse.jkube.sample.helloworld.App</mainClass> | ||
</configuration> | ||
</plugin> |
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'll need to look into this when we refactor to avoid having parents.
Maybe just create a bom project that can be used as a dependency.
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.
Besides the simple nit, everything else looks fine
+ Added a test BuildPacksBuildStrategyK8sITCase that would be activated in others profile + Add a minimal test project in `projects-to-be-tested/maven/buildpacks/simple` directory for abovementioned integration test Signed-off-by: Rohan Kumar <[email protected]>
4a12957
to
48adb5e
Compare
Related to eclipse-jkube/jkube#3097
others profile
projects-to-be-tested/maven/buildpacks/simple
directory forabovementioned integration test
Signed-off-by: Rohan Kumar [email protected]