Skip to content

Commit

Permalink
ci proto fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Liam White <liam@tetrate.io>
  • Loading branch information
liamawhite committed Jul 4, 2019
1 parent b052f0d commit 98b30f3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- image: circleci/golang:1.12.6
steps:
- checkout
- run: wget -c https://github.com/liamawhite/licenser/releases/download/v0.5.1/licenser_0.5.1_Linux_x86_64.tar.gz -O - | sudo tar -xz -C /usr/bin
- run: ./ci/install
- run: ./ci/lint
test:
resource_class: small
Expand Down
14 changes: 14 additions & 0 deletions ci/install
@@ -0,0 +1,14 @@
#!/bin/bash

# Install Licenser
wget -c https://github.com/liamawhite/licenser/releases/download/v0.5.1/licenser_0.5.1_Linux_x86_64.tar.gz -O - | sudo tar -xz -C /usr/bin

# Install Proto compiler
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.8.0/protoc-3.8.0-linux-x86_64.zip
unzip protoc-3.8.0-linux-x86_64.zip -d protoc
sudo mv protoc/bin/* /usr/bin/
sudo mv protoc/include/* /usr/include/
rm -rf protoc*

# Install Golang Proto generator
go get -u github.com/golang/protobuf/protoc-gen-go

0 comments on commit 98b30f3

Please sign in to comment.