-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
133 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
alm: | ||
replicaCount: 1 | ||
image: | ||
ref: quay.io/coreos/olm:local | ||
pullPolicy: IfNotPresent | ||
service: | ||
internalPort: 8080 | ||
commandArgs: -test.coverprofile=/tmp/coverage/alm-coverage.cov | ||
|
||
catalog: | ||
replicaCount: 1 | ||
image: | ||
ref: quay.io/coreos/catalog:local | ||
pullPolicy: IfNotPresent | ||
service: | ||
internalPort: 8080 | ||
commandArgs: -test.coverprofile=/tmp/catalog-coverage.cov | ||
|
||
servicebroker: | ||
replicaCount: 1 | ||
image: | ||
ref: quay.io/coreos/olm-service-broker:local | ||
pullPolicy: IfNotPresent | ||
service: | ||
internalPort: 8080 | ||
brokerPort: 8005 | ||
commandArgs: -test.coverprofile=/tmp/service-broker-coverage.cov | ||
|
||
e2e: | ||
image: | ||
ref: quay.io/coreos/olm-e2e:local | ||
|
||
job_name: 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
Oops, something went wrong.