-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change gives the end-to-end test binary the ability, gated by build tags, to provision, deprovision, and perform test operation installation on test clusters. Without any tags, the default "provisioner" points to an existing cluster specified by either $KUBECONFIG, $HOME/.kube/config, or in-cluster service discovery. An alternate Kubernetes-in-Docker (kind) provisioner is available. The default installer is a no-op, but this commit also introduces an optional Helm installer, which installs the OLM chart (now built into the test binary). Provisioning, installation, and deprovisioning are run as part of the Ginkgo BeforeSuite/AfterSuite closures.
- Loading branch information
Showing
338 changed files
with
38,979 additions
and
11,500 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
apiVersion: v2 | ||
description: A Helm chart for Kubernetes | ||
name: olm | ||
version: 0.0.0-dev |
91 changes: 0 additions & 91 deletions
91
deploy/chart/templates/e2e-local-01-openshift-config-proxy-crd.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
deploy/chart/templates/e2e-local-02-openshift-cluster-proxy-cr.yaml
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,5 @@ | ||
FROM golang:1.10 as builder | ||
LABEL stage=builder | ||
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 just enough of the git repo to parse HEAD, used to record version in OLM binaries | ||
COPY .git/HEAD .git/HEAD | ||
COPY .git/refs/heads/. .git/refs/heads | ||
RUN mkdir -p .git/objects | ||
COPY Makefile Makefile | ||
COPY OLM_VERSION OLM_VERSION | ||
COPY pkg pkg | ||
COPY vendor vendor | ||
COPY cmd cmd | ||
COPY test test | ||
RUN make build-coverage | ||
|
||
FROM alpine:latest as olm | ||
LABEL stage=olm | ||
WORKDIR / | ||
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/olm /bin/olm | ||
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/catalog /bin/catalog | ||
COPY --from=builder /go/src/github.com/operator-framework/operator-lifecycle-manager/bin/package-server /bin/package-server | ||
FROM scratch | ||
COPY olm catalog package-server wait cpb /bin/ | ||
EXPOSE 8080 | ||
EXPOSE 5443 | ||
CMD ["/bin/olm"] |
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.