Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
itadventurer committed Jun 20, 2024
1 parent 0c503a1 commit 63a3b6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ghcr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build and push everything
run: |
cd csp1_producer
for DIR in csp2_transformer csp1_producer csp1_consumer csp1_transformer csp2_producer dashboard ;do
for DIR in csp2_transformer csp1_producer csp1_consumer csp1_transformer csp2_producer dashboard cruisecontrol_ui ;do
IMAGE_NAME=$PROJECT/$DIR
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
Expand Down
11 changes: 11 additions & 0 deletions cruisecontrol_ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM nginx

ENV CRUISE_CONTROL_UI_VERSION=0.4.0
ENV NGINX_HOME=/usr/share/nginx/html/

RUN curl -LO https://github.com/linkedin/cruise-control-ui/releases/download/v${CRUISE_CONTROL_UI_VERSION}/cruise-control-ui-${CRUISE_CONTROL_UI_VERSION}.tar.gz; \
tar xvfz cruise-control-ui-${CRUISE_CONTROL_UI_VERSION}.tar.gz -C ${NGINX_HOME} --strip-components=2; \
rm -f cruise-control-ui-${CRUISE_CONTROL_UI_VERSION}.tar.gz*; \
echo "dev,dev,/kafkacruisecontrol/" > "${NGINX_HOME}"static/config.csv;

EXPOSE 9090

0 comments on commit 63a3b6d

Please sign in to comment.