Skip to content

Commit b5aea06

Browse files
author
Keerthan Mala
committed
generate wfm server binary from the swagger
1 parent 0d7398f commit b5aea06

File tree

4 files changed

+3
-67
lines changed

4 files changed

+3
-67
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ build:
4747

4848
swagger-serverstub:
4949
${SWAGGER_CMD} generate server -A WorkflowManager -t pkg/swagger -f https://raw.githubusercontent.com/deis/workflow-manager/master/api/swagger-spec/swagger.yml
50+
mv pkg/swagger/cmd/workflow-manager-server/main.go .
5051

5152
test:
5253
${DEV_ENV_CMD} sh -c 'go test -tags testonly $$(glide nv)'
File renamed without changes.

rootfs/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ FROM alpine:3.3
33
RUN apk -U add ca-certificates && \
44
rm -Rf /var/cache/apk/*
55
EXPOSE 8081
6+
ENV PORT 8081
7+
ENV HOST 0.0.0.0
68
COPY usr/bin/workflow-manager-api /usr/local/bin/workflow-manager-api
79
CMD ["workflow-manager-api"]

server.go

-67
This file was deleted.

0 commit comments

Comments
 (0)