Home / Function/ buildsImageWithCustomBuilderAndRunImage() — spring-boot Function Reference

buildsImageWithCustomBuilderAndRunImage() — spring-boot Function Reference

Architecture documentation for the buildsImageWithCustomBuilderAndRunImage() function in BootBuildImageIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  6aef7cb7_4392_437d_4726_ab3c46124455["buildsImageWithCustomBuilderAndRunImage()"]
  f965ce7e_2357_c125_a1d3_24069c68ecf8["writeMainClass()"]
  6aef7cb7_4392_437d_4726_ab3c46124455 -->|calls| f965ce7e_2357_c125_a1d3_24069c68ecf8
  66ac0fbc_cfc2_1ca0_5597_62584de5d0fb["writeLongNameResource()"]
  6aef7cb7_4392_437d_4726_ab3c46124455 -->|calls| 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb
  59ffb962_26a5_d14b_c297_e84d0815a53a["removeImages()"]
  6aef7cb7_4392_437d_4726_ab3c46124455 -->|calls| 59ffb962_26a5_d14b_c297_e84d0815a53a
  style 6aef7cb7_4392_437d_4726_ab3c46124455 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/dockerTest/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageIntegrationTests.java lines 159–171

	@TestTemplate
	void buildsImageWithCustomBuilderAndRunImage() throws IOException {
		writeMainClass();
		writeLongNameResource();
		BuildResult result = this.gradleBuild.build("bootBuildImage");
		BuildTask task = result.task(":bootBuildImage");
		assertThat(task).isNotNull();
		assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
		assertThat(result.getOutput()).contains("example/test-image-custom");
		assertThat(result.getOutput()).contains("---> Test Info buildpack building");
		assertThat(result.getOutput()).contains("---> Test Info buildpack done");
		removeImages("example/test-image-custom");
	}

Subdomains

Frequently Asked Questions

What does buildsImageWithCustomBuilderAndRunImage() do?
buildsImageWithCustomBuilderAndRunImage() is a function in the spring-boot codebase.
What does buildsImageWithCustomBuilderAndRunImage() call?
buildsImageWithCustomBuilderAndRunImage() calls 3 function(s): removeImages, writeLongNameResource, writeMainClass.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free