Skip to content

Commit

Permalink
ci: build: remove dist
Browse files Browse the repository at this point in the history
dist is no longer required

Signed-off-by: Chris Chiu <[email protected]>
  • Loading branch information
mschiu77 authored and mingshuoqiu committed May 30, 2024
1 parent 033d316 commit e23174e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
/.nocalhost
/.idea
/bin
/dist
harvester-network-controller
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN curl -sSfL https://github.com/docker/buildx/releases/download/v0.13.1/buildx

ENV DAPPER_ENV REPO TAG DRONE_TAG
ENV DAPPER_SOURCE /go/src/github.com/harvester/harvester-network-controller/
ENV DAPPER_OUTPUT ./bin ./dist
ENV DAPPER_OUTPUT ./bin
ENV DAPPER_DOCKER_SOCKET true
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
Expand Down
2 changes: 1 addition & 1 deletion scripts/entry
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

mkdir -p bin dist
mkdir -p bin
if [ -e ./scripts/$1 ]; then
./scripts/"$@"
else
Expand Down
5 changes: 0 additions & 5 deletions scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ if echo $TAG | grep -q dirty; then
TAG=dev
fi

mkdir -p dist/artifacts
cp bin/harvester-network-controller${SUFFIX} dist/artifacts/harvester-network-controller${SUFFIX}
cp bin/harvester-network-helper${SUFFIX} dist/artifacts/harvester-network-helper${SUFFIX}
cp bin/harvester-network-webhook${SUFFIX} dist/artifacts/harvester-network-webhook${SUFFIX}

CONTROLLER_IMAGE=${REPO}/harvester-network-controller:${TAG}
HELPER_IMAGE=${REPO}/harvester-network-helper:${TAG}
WEBHOOK_IMAGE=${REPO}/harvester-network-webhook:${TAG}
Expand Down

0 comments on commit e23174e

Please sign in to comment.