Skip to content

Commit

Permalink
Support more archs for hloader
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
  • Loading branch information
rsevilla87 committed Apr 2, 2024
1 parent 87bb60c commit 27927da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ container-build:
-t $(CONTAINER_NS)/$(BIN_NAME) ./containers

gha-build:
@echo "Building Multi-architecture container Images"
$(CONTAINER_BUILD) --jobs=2 -f containers/Containerfile \
--platform=linux/amd64,linux/arm64 \
./containers --manifest=$(CONTAINER_NS)/$(BIN_NAME):latest
@echo "Building Multi-architecture container images"
$(CONTAINER_BUILD) --jobs=2 -f containers/Containerfile --platform=linux/amd64,linux/arm64 ./containers --manifest=$(CONTAINER_NS)/$(BIN_NAME):latest
$(CONTAINER_BUILD) --jobs=2 -f containers/Containerfile.extra --platform=linux/ppc64le,linux/s390x ./containers --manifest=$(CONTAINER_NS)/$(BIN_NAME):latest

gha-push: gha-build
@echo "Publish the Container Images"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Ingress-perf configuration is defined in a YAML file, holding an array of the fo
## Supported tools

- wrk: HTTP benchmarking tool. https://github.com/wg/wrk. amd64 and arm64
- hloader: https://github.com/rsevilla87/hloader
- hloader: https://github.com/rsevilla87/hloader. amd64, arm64, ppc64le and s390x

## Running

Expand Down
3 changes: 3 additions & 0 deletions containers/Containerfile.extra
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM registry.access.redhat.com/ubi8/ubi:latest
RUN dnf install -y iproute procps-ng
RUN curl -sS -L https://github.com/rsevilla87/hloader/releases/download/v0.2.0/hloader-Linux-v0.2.0-ppc64le.tar.gz | tar xz -C /usr/bin/

0 comments on commit 27927da

Please sign in to comment.