Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/precompile_hadoop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ jobs:
contents: read
with:
product-name: precompiled/hadoop
sdp-version: ${{ needs.generate_build_timestamp.outputs.unix_timestamp }}
registry-namespace: precompiled
image-name: hadoop
sdp-version: ${{ needs.generate_build_timestamp.outputs.unix_timestamp }}
23 changes: 20 additions & 3 deletions .github/workflows/reusable_build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ on:
workflow_call:
inputs:
product-name:
description: The boil product directory name (e.g. "hadoop" or "precompiled/hadoop")
required: true
type: string
image-name:
description: |
The image name used in the OCI registry. Defaults to product-name if not set.
This is used when the boil directory is nested (eg: precompiled/hadoop) but
the parent directory will be used as the namespace (eg: precompiled).
default: ""
type: string
sdp-version:
required: true
type: string
Expand Down Expand Up @@ -112,10 +120,14 @@ jobs:
image-registry-uri: oci.stackable.tech
image-registry-username: robot$${{ inputs.registry-namespace }}+github-action-build
image-registry-password: ${{ secrets.harbor-robot-secret }}
image-repository: ${{ inputs.registry-namespace }}/${{ inputs.product-name }}
# NOTE (@NickLarsenNZ): This fallback is just for now so we can support both repo level
# image folders that go under the sdp namespace AND nested image folders that contain the
# namespace (for example precommit/hadoop).
# In future, we probably want to encode this information in the boil config metadata per
# registry so we don't have to do such gymnastics in the workflow.
image-repository: ${{ inputs.registry-namespace }}/${{ inputs.image-name || inputs.product-name }}
image-manifest-tag: ${{ steps.build.outputs.image-manifest-tag }}
source-image-uri: localhost/${{ inputs.registry-namespace }}/${{ inputs.product-name }}:${{ steps.build.outputs.image-manifest-tag }}

publish_manifests:
name: Build/Publish ${{ matrix.versions }} Manifests
needs: [generate_version_dimension, build]
Expand All @@ -139,7 +151,12 @@ jobs:
image-registry-uri: oci.stackable.tech
image-registry-username: robot$${{ inputs.registry-namespace }}+github-action-build
image-registry-password: ${{ secrets.harbor-robot-secret }}
image-repository: ${{ inputs.registry-namespace }}/${{ inputs.product-name }}
# NOTE (@NickLarsenNZ): This fallback is just for now so we can support both repo level
# image folders that go under the sdp namespace AND nested image folders that contain the
# namespace (for example precommit/hadoop).
# In future, we probably want to encode this information in the boil config metadata per
# registry so we don't have to do such gymnastics in the workflow.
image-repository: ${{ inputs.registry-namespace }}/${{ inputs.image-name || inputs.product-name }}
image-index-manifest-tag: ${{ matrix.versions }}-stackable${{ inputs.sdp-version }}

notify:
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All notable changes to this project will be documented in this file.

### Added

- hadoop: Add precompiled hadoop for later reuse in dependent images ([#1466]).
- hadoop: Add precompiled hadoop for later reuse in dependent images ([#1466], [#1474]).
- nifi: Add version `2.9.0` ([#1463]).

### Changed
Expand All @@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
[#1454]: https://github.com/stackabletech/docker-images/pull/1454
[#1463]: https://github.com/stackabletech/docker-images/pull/1463
[#1466]: https://github.com/stackabletech/docker-images/pull/1466
[#1474]: https://github.com/stackabletech/docker-images/pull/1474

## [26.3.0] - 2026-03-16

Expand Down
Loading