Skip to content

Optimize build pipeline#92

Merged
ArtiomTr merged 1 commit intograndinetech:devnet-4from
ArtiomTr:fix/release-pipeline
Apr 17, 2026
Merged

Optimize build pipeline#92
ArtiomTr merged 1 commit intograndinetech:devnet-4from
ArtiomTr:fix/release-pipeline

Conversation

@ArtiomTr
Copy link
Copy Markdown
Collaborator

Commit e11f365 introduced build time regression - the dockerfile was modified to include two stages - one for build, another one for running. However, our compilation pipeline uses cross to build binaries, then copying it to final image. These dockerfile changes, combined with existing building pipeline, caused to build the same binary four times: two times for each supported platform.

This PR reverts changes back to original Dockerfile build process, speeding up release pipeline (from ~1.5h to ~10 minutes).

Commit [`e11f365`] introduced build time regression - the dockerfile was
modified to include two stages - one for build, another one for running.
However, our compilation pipeline uses cross to build binaries, then
copying it to final image. These dockerfile changes, combined with
existing building pipeline, caused to build the same binary four times:
two times for each supported platform.

This commit reverts changes back to original Dockerfile build process,
speeding up release pipeline (from ~1.5h to ~10 minutes).

[`e11f365`]: grandinetech@e11f365
@ArtiomTr ArtiomTr merged commit fe5b75d into grandinetech:devnet-4 Apr 17, 2026
0 of 3 checks passed
@ArtiomTr ArtiomTr deleted the fix/release-pipeline branch April 17, 2026 09:43
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.

1 participant