Skip to content

Commit

Permalink
Merge branch 'main' into add-labels-to-docker-images
Browse files Browse the repository at this point in the history
  • Loading branch information
svrnm authored Dec 17, 2024
2 parents 6386c35 + 76673f0 commit 325d3e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-build-container-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
image:
- context: ./src/loaders/curl
name: loaders-curl
- context: ./src/services/java
name: services-java
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/curl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.source https://github.com/cisco-open/app-simulato
LABEL org.opencontainers.image.description="curl loader for app-simulator"
LABEL org.opencontainers.image.licenses=BSD-3-Clause

RUN apk add --no-cache curl=8.11.0-r2 util-linux=2.40.1-r1
RUN apk add --no-cache curl util-linux
WORKDIR /usr/bin/
COPY loader.sh /usr/bin
RUN chmod +x /usr/bin/loader.sh
Expand Down
3 changes: 1 addition & 2 deletions src/loaders/curl/loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ while true; do
ID=$(uuidgen)
for URL in ${URLS}; do
/usr/bin/curl -s "${URL}?unique_session_id=${ID}"
#/usr/bin/curl -s -X POST -d "unique_session_id=${ID}" "${URL}"
done
sleep "${SLEEP}"
done
done

0 comments on commit 325d3e6

Please sign in to comment.