Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hadoop-runner package #30294

Closed
wants to merge 3 commits into from
Closed
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
56 changes: 56 additions & 0 deletions hadoop-runner-3.4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#nolint:valid-pipeline-git-checkout-tag
package:
name: hadoop-runner-3.4
# this project does releases but docker related config lives on another branch.
# version below is from commit 5bb6f450340fa3deb931571d08d42a3f358af8bf
version: 0_git20241008
epoch: 0
description: required runtime environment for running hadoop
copyright:
- license: Apache-2.0
dependencies:
runtime:
- async-profiler
- byteman
- byteman-compat
- coreutils
- dumb-init
- jq
- krb5
- netcat-openbsd
- py3-pip
- py3-robotframework
- python3
- sudo

environment:
contents:
packages:
- busybox

pipeline:
- uses: git-checkout
with:
repository: https://github.com/apache/hadoop
# this branch is where the hadoop-runner base image comes from.
# for update please look into the PR that are updating the base image.
# previous work: https://github.com/apache/hadoop/pull/6910
branch: docker-hadoop-runner-jdk11-u2204
expected-commit: 5bb6f450340fa3deb931571d08d42a3f358af8bf

- runs: |
mkdir -p ${{targets.contextdir}}/opt
mkdir -p ${{targets.contextdir}}/opt/profiler/build
cp scripts/starter.sh ${{targets.contextdir}}/opt/starter.sh
cp scripts/envtoconf.py ${{targets.contextdir}}/opt/envtoconf.py
cp scripts/transformation.py ${{targets.contextdir}}/opt/transformation.py
cp krb5.conf ${{targets.contextdir}}/opt/krb5.conf
ln -sf /usr/lib/async-profiler.jar ${{targets.contextdir}}/opt/profiler/build/async-profiler.jar
ln -sf /usr/lib/libasyncProfiler.so ${{targets.contextdir}}/opt/profiler/build/libasyncProfiler.so

update:
enabled: true
git: {}
schedule:
period: daily
reason: Commit at head of branch is something we want to track.
Loading