Skip to content

Commit c67c916

Browse files
authored
fix: Add functions/ folder to install-script (#175)
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
1 parent 026351f commit c67c916

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

hack/Dockerfile-child

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN make
88
FROM ovhcom/utask:${UTASK_VERSION}
99

1010
COPY templates /app/templates
11+
COPY functions /app/functions
1112
COPY --from=builder /go/src/github.com/ovh/utask/plugins /app/plugins
1213
COPY --from=builder /go/src/github.com/ovh/utask/init /app/init
1314
COPY --from=builder /go/src/github.com/ovh/utask/utask /app/utask

hack/generate-install-script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ cat <<EOF >$dst
2525
2626
set -e
2727
28-
mkdir -p templates sql plugins init
28+
mkdir -p templates functions sql plugins init
29+
touch functions/.gitkeep
2930
3031
### DOCKER
3132
EOF

0 commit comments

Comments
 (0)