mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Use helm canary (#76)
This commit is contained in:
+2
-6
@@ -15,9 +15,7 @@
|
||||
FROM debian:8.5
|
||||
|
||||
ENV CLOUDSDK_CORE_DISABLE_PROMPTS=1 \
|
||||
PATH=/opt/google-cloud-sdk/bin:/opt/linux-amd64/:$PATH \
|
||||
HELM_VERSION=canary \
|
||||
HELM_URL=https://storage.googleapis.com/kubernetes-charts-ci/helm/helm-canary-linux-amd64.tar.gz \
|
||||
PATH=/opt/google-cloud-sdk/bin:$PATH \
|
||||
GOOGLE_CLOUD_SDK_VERSION=123.0.0 \
|
||||
GOOGLE_PROJECT=kubernetes-charts-ci
|
||||
|
||||
@@ -31,9 +29,7 @@ RUN set -x \
|
||||
&& ./google-cloud-sdk/install.sh \
|
||||
&& gcloud components install kubectl \
|
||||
&& gcloud config set project ${GOOGLE_PROJECT}
|
||||
RUN cd /opt && wget -q ${HELM_URL} \
|
||||
&& tar xzfv helm-${HELM_VERSION}-linux-amd64.tar.gz
|
||||
RUN apt-get -y purge wget localepurge \
|
||||
RUN apt-get -y purge localepurge \
|
||||
&& apt-get clean \
|
||||
&& cd / \
|
||||
&& rm -rf \
|
||||
|
||||
+9
-1
@@ -31,7 +31,15 @@ trap cleanup EXIT
|
||||
gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}"
|
||||
gcloud container clusters get-credentials jenkins --project kubernetes-charts-ci --zone us-west1-a
|
||||
|
||||
# Initialize helm/tiller
|
||||
# Install and initialize helm/tiller
|
||||
HELM_URL=https://storage.googleapis.com/kubernetes-helm
|
||||
HELM_TARBALL=helm-canary-linux-amd64.tar.gz
|
||||
pushd /opt
|
||||
wget -q ${HELM_URL}/${HELM_TARBALL}
|
||||
tar xzfv ${HELM_TARBALL}
|
||||
PATH=/opt/linux-amd64/:$PATH
|
||||
popd
|
||||
|
||||
helm init --client-only
|
||||
|
||||
# Iterate over each of the changed charts
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
# TODO should we inject this. This is creating problems bumping the Docker version
|
||||
IMAGE_VERSION="test-image:v1.9"
|
||||
IMAGE_VERSION="test-image:v1.10"
|
||||
CHART_ROOT=${CHART_ROOT:-$(git rev-parse --show-toplevel)}
|
||||
IMAGE_NAME=${IMAGE_NAME:-"gcr.io/kubernetes-charts-ci/${IMAGE_VERSION}"}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# 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.
|
||||
VERSION=v1.9
|
||||
VERSION=v1.10
|
||||
CONTAINER_NAME=test-image
|
||||
|
||||
usage() {
|
||||
|
||||
Reference in New Issue
Block a user