Skip to content

Commit

Permalink
build: remove dist
Browse files Browse the repository at this point in the history
    - NDM did not need this

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
(cherry picked from commit aa45662)
  • Loading branch information
Vicente-Cheng authored and bk201 committed May 20, 2024
1 parent 7477613 commit 55818c9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
./.dapper
./.cache
./dist
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/.dapper
/.cache
/bin
/dist
*.swp
.idea
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN go install k8s.io/code-generator/cmd/openapi-gen@v0.23.7

ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS BUILD_FOR_CI
ENV DAPPER_SOURCE /go/src/github.com/harvester/node-disk-manager/
ENV DAPPER_OUTPUT ./bin ./dist ./manifests
ENV DAPPER_OUTPUT ./bin ./manifests
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
3 changes: 0 additions & 3 deletions scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ source $(dirname $0)/version

cd $(dirname $0)/..

mkdir -p dist/artifacts
cp bin/node-disk-manager dist/artifacts/node-disk-manager${SUFFIX}

IMAGE=${REPO}/node-disk-manager:${TAG}
if [[ -n ${BUILD_FOR_CI} ]]; then
IMAGE=ttl.sh/node-disk-manager-${TAG}:1h
Expand Down

0 comments on commit 55818c9

Please sign in to comment.