Skip to content

Commit

Permalink
Switch to go 1.13 and modules
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis committed Mar 24, 2020
1 parent 481b229 commit 61b46a2
Show file tree
Hide file tree
Showing 7,620 changed files with 52,642 additions and 4,315,868 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Bin output
bin/*

# Temporary Build Files
tmp/_output
tmp/_test
_output
pf.log

# GoLand
.idea
Expand Down Expand Up @@ -110,3 +113,4 @@ tags


# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
/.zz_generate_timestamp
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 AS builder
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 AS builder
WORKDIR /go/src/github.com/openshift/elasticsearch-operator
COPY . .
RUN make
Expand All @@ -8,7 +8,7 @@ FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
ENV ALERTS_FILE_PATH="/etc/elasticsearch-operator/files/prometheus_alerts.yml"
ENV RULES_FILE_PATH="/etc/elasticsearch-operator/files/prometheus_rules.yml"

COPY --from=builder /go/src/github.com/openshift/elasticsearch-operator/_output/bin/elasticsearch-operator /usr/bin/
COPY --from=builder /go/src/github.com/openshift/elasticsearch-operator/bin/elasticsearch-operator /usr/bin/
COPY --from=builder /go/src/github.com/openshift/elasticsearch-operator/files/ /etc/elasticsearch-operator/files/
COPY --from=builder /go/src/github.com/openshift/elasticsearch-operator/manifests /manifests
RUN rm /manifests/art.yaml
Expand Down

0 comments on commit 61b46a2

Please sign in to comment.