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

buildsImageWithBuildpackFromBuilder() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d7edc2cb_45a7_bb69_2475_85cbc75d8407["buildsImageWithBuildpackFromBuilder()"]
  f965ce7e_2357_c125_a1d3_24069c68ecf8["writeMainClass()"]
  d7edc2cb_45a7_bb69_2475_85cbc75d8407 -->|calls| f965ce7e_2357_c125_a1d3_24069c68ecf8
  66ac0fbc_cfc2_1ca0_5597_62584de5d0fb["writeLongNameResource()"]
  d7edc2cb_45a7_bb69_2475_85cbc75d8407 -->|calls| 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb
  b3171812_ab1f_87c4_a83a_2a91e929e461["getName()"]
  d7edc2cb_45a7_bb69_2475_85cbc75d8407 -->|calls| b3171812_ab1f_87c4_a83a_2a91e929e461
  59ffb962_26a5_d14b_c297_e84d0815a53a["removeImages()"]
  d7edc2cb_45a7_bb69_2475_85cbc75d8407 -->|calls| 59ffb962_26a5_d14b_c297_e84d0815a53a
  style d7edc2cb_45a7_bb69_2475_85cbc75d8407 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 211–224

	@TestTemplate
	void buildsImageWithBuildpackFromBuilder() throws IOException {
		writeMainClass();
		writeLongNameResource();
		BuildResult result = this.gradleBuild.build("bootBuildImage");
		String projectName = this.gradleBuild.getProjectDir().getName();
		BuildTask task = result.task(":bootBuildImage");
		assertThat(task).isNotNull();
		assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
		assertThat(result.getOutput()).contains("docker.io/library/" + projectName);
		assertThat(result.getOutput()).contains("---> Test Info buildpack building")
			.contains("---> Test Info buildpack done");
		removeImages(projectName);
	}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free