forked from operator-framework/operator-lifecycle-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request operator-framework#348 from ecordell/subscription-…
…approvalmode Add installPlanApproval to Subscription-v1
- Loading branch information
Showing
16 changed files
with
305 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM golang:1.10 as builder | ||
LABEL builder=true | ||
WORKDIR /go/src/github.com/operator-framework/operator-lifecycle-manager | ||
RUN curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 -o /bin/jq | ||
RUN chmod +x /bin/jq | ||
COPY . . | ||
RUN make build-coverage | ||
RUN go test -c -o /bin/e2e ./test/e2e/... | ||
|
||
FROM alpine:latest as olm | ||
LABEL olm=true | ||
WORKDIR / | ||
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/alm /bin/alm | ||
EXPOSE 8080 | ||
CMD ["/bin/alm"] | ||
|
||
FROM alpine:latest as catalog | ||
LABEL catalog=true | ||
WORKDIR / | ||
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/catalog /bin/catalog | ||
EXPOSE 8080 | ||
CMD ["/bin/catalog"] | ||
|
||
FROM alpine:latest as broker | ||
LABEL broker=true | ||
WORKDIR / | ||
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/servicebroker /bin/servicebroker | ||
EXPOSE 8080 | ||
EXPOSE 8005 | ||
CMD ["/bin/servicebroker"] | ||
|
||
FROM golang:1.10 | ||
LABEL e2e=true | ||
RUN mkdir -p /var/e2e | ||
WORKDIR /var/e2e | ||
COPY --from=builder /bin/e2e /bin/e2e | ||
COPY --from=builder /bin/jq /bin/jq | ||
COPY ./test/e2e/e2e.sh /var/e2e/e2e.sh | ||
COPY ./test/e2e/tap.jq /var/e2e/tap.jq | ||
CMD ["/bin/e2e"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.