From 8f3b734cf1ff188ff72f4ef9ec4b02aec0cc70e3 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Mon, 18 Dec 2017 23:03:25 -0800 Subject: [PATCH] install zip --- .circleci/bootstrap.sh | 19 +++++++++++++++++++ .circleci/config.yml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 .circleci/bootstrap.sh diff --git a/.circleci/bootstrap.sh b/.circleci/bootstrap.sh new file mode 100755 index 000000000..978464efe --- /dev/null +++ b/.circleci/bootstrap.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# Copyright 2016 The Kubernetes Authors All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +set -euo pipefail + +apt-get update -y && apt-get install -yq zip +make bootstrap diff --git a/.circleci/config.yml b/.circleci/config.yml index 73e734825..35e643a04 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ jobs: - glide- # used as a fall through if the checksum fails to find exact entry - run: name: install dependencies - command: make bootstrap + command: .circleci/bootstrap.sh - save_cache: key: glide-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }} paths: