Skip to content

Commit

Permalink
Use argoproj/argo-events-ci-builder:1.0 for argo-events builds. (#51)
Browse files Browse the repository at this point in the history
This image includes the protobuf package and dependencies for installing it.

Also added the builder directory under .argo-ci which has the Dockerfile for the above image.

Testing done:

1. Built the image. Ran builds locally. They succeeded.
  • Loading branch information
shrinandj committed Jul 20, 2018
1 parent aea0cac commit cd48dc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .argo-ci/builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM argoproj/argo-ci-builder:1.0

RUN apt-get update && apt-get install unzip
RUN mkdir /tmp/protobuf && cd /tmp/protobuf && curl -sOL https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip && unzip protoc-3.3.0-linux-x86_64.zip && cp bin/protoc /usr/local/bin/protoc && mv include /usr/local/
4 changes: 2 additions & 2 deletions .argo-ci/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
repo: "{{workflow.parameters.repo}}"
revision: "{{workflow.parameters.revision}}"
container:
image: argoproj/argo-ci-builder:1.0
image: argoproj/argo-events-ci-builder:1.0
command: [sh, -c]
args: ["{{inputs.parameters.cmd}}"]
workingDir: /go/src/github.com/argoproj/argo-events
Expand All @@ -57,7 +57,7 @@ spec:
repo: "{{workflow.parameters.repo}}"
revision: "{{workflow.parameters.revision}}"
container:
image: argoproj/argo-ci-builder:1.0
image: argoproj/argo-events-ci-builder:1.0
command: [sh, -c]
args: ["until docker ps; do sleep 3; done && {{inputs.parameters.cmd}}"]
workingDir: /go/src/github.com/argoproj/argo-events
Expand Down

0 comments on commit cd48dc2

Please sign in to comment.