Skip to content

Remove dead cmd/build-image call from opensearch workflows - #119

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
fix-opensearch-remove-dead-build-image-call
Sep 15, 2026
Merged

ArnobKumarSaha merged 1 commit into
masterfrom
fix-opensearch-remove-dead-build-image-call

Conversation

@fr-sarker

Copy link
Copy Markdown
Contributor

The opensearch and opensearch-dashboards images are built and pushed entirely by upstream's build-image-multi-arch.sh (which downloads the released tarball by version) followed by 'crane cp' for the dated tag. The trailing 'go run cmd/build-image/main.go --name=opensearch...' line never did anything useful and always failed the job:

  1. It runs from inside opensearch-build/docker/release (the script cd'd there), so the relative path resolves to nothing: Error: stat cmd/build-image/main.go: no such file or directory
  2. Even from the repo root it would panic: cmd/build-image reads library//app.json via FindBlock, but opensearch has no app.json (it was removed in dfef1b0) because it does not use the tag-checkout + cherry-pick + docker-build flow that app.json describes.

The image is already built/pushed before this line, so removing it makes the job report its true (green) status without changing any image output.

The opensearch and opensearch-dashboards images are built and pushed entirely
by upstream's build-image-multi-arch.sh (which downloads the released tarball by
version) followed by 'crane cp' for the dated tag. The trailing
'go run cmd/build-image/main.go --name=opensearch...' line never did anything
useful and always failed the job:

  1. It runs from inside opensearch-build/docker/release (the script cd'd there),
     so the relative path resolves to nothing:
       Error: stat cmd/build-image/main.go: no such file or directory
  2. Even from the repo root it would panic: cmd/build-image reads
     library/<app>/app.json via FindBlock, but opensearch has no app.json (it was
     removed in dfef1b0) because it does not use the tag-checkout + cherry-pick +
     docker-build flow that app.json describes.

The image is already built/pushed before this line, so removing it makes the job
report its true (green) status without changing any image output.

Signed-off-by: Fazle Rabbi Sarker <fazlerabbi@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit 165a22f into master Sep 15, 2026
18 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the fix-opensearch-remove-dead-build-image-call branch September 15, 2026 05:35
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.

2 participants