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

test : Add E2E test for buildpacks build strategy #371

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

rohanKanojia
Copy link
Member

Related to eclipse-jkube/jkube#3097

  • 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]

@rohanKanojia rohanKanojia force-pushed the pr/buildpacks-build-it branch 2 times, most recently from fafa459 to 4a12957 Compare June 3, 2024 08:02
@rohanKanojia rohanKanojia marked this pull request as ready for review June 3, 2024 08:27
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"));
Copy link
Member

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

Comment on lines +43 to +60
<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>
Copy link
Member

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.

Copy link
Member

@manusa manusa left a 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]>
@manusa manusa merged commit 34679df into main Jun 5, 2024
24 of 26 checks passed
@rohanKanojia rohanKanojia deleted the pr/buildpacks-build-it branch June 5, 2024 13:07
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

Successfully merging this pull request may close these issues.

3 participants