Skip to content

Commit

Permalink
Version bump Knative Serving 0.9, Istio 1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cab105 committed Dec 6, 2019
1 parent 024c8e0 commit e37a326
Show file tree
Hide file tree
Showing 4 changed files with 351 additions and 1,100 deletions.
4 changes: 2 additions & 2 deletions Chart.yaml
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "0.8.1"
appVersion: "0.9.0"
description: A Helm chart for Knative
name: knative
version: 0.8.1
version: 0.9.0
24 changes: 8 additions & 16 deletions cloudbuild.yaml
Expand Up @@ -14,17 +14,9 @@ steps:
mv istio-crds.yaml ./knative/templates
mv istio-lean.yaml ./knative/templates
# Get the Knative Build manifest [deprecated in lieu of Tekton]
#- name: 'gcr.io/cloud-builders/wget'
# args: ['-O', 'knative/templates/knative-build.yaml', 'https://github.com/knative/build/releases/download/v0.8.1/build.yaml']

# Get the Knative Build/Serving cluster roles
#- name: 'gcr.io/cloud-builders/wget'
# args: ['-O', 'knative/templates/knative-build-clusterrole.yaml', 'https://raw.githubusercontent.com/knative/serving/master/third_party/config/build/clusterrole.yaml']

# Get the Knative Serving manifest
- name: 'gcr.io/cloud-builders/wget'
args: ['-O', 'knative/templates/knative-serving.yaml', 'https://github.com/knative/serving/releases/download/v0.8.1/serving.yaml']
args: ['-O', 'knative/templates/knative-serving.yaml', 'https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml']

# Templatize the chart
- name: 'debian:stable-slim'
Expand Down Expand Up @@ -61,7 +53,7 @@ steps:
- '-c'
- |
mkdir repo
mv knative-0.8.1.tgz ./repo
mv knative-0.9.0.tgz ./repo
# Retrieve the current index
- name: 'gcr.io/cloud-builders/gsutil'
Expand All @@ -81,20 +73,20 @@ steps:

# Push it to gcs bucket
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', './repo/knative-0.8.1.tgz', 'gs://$PROJECT_ID-charts/knative-0.8.1.tgz']
args: ['cp', './repo/knative-0.9.0.tgz', 'gs://$PROJECT_ID-charts/knative-0.9.0.tgz']

# Build the installer
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/knative-installer:0.8.1', '-f', './installer/Dockerfile', '.']
args: ['build', '-t', 'gcr.io/$PROJECT_ID/knative-installer:0.9.0', '-f', './installer/Dockerfile', '.']

# Tag and push
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/$PROJECT_ID/knative-installer:0.8.1']
args: ['push', 'gcr.io/$PROJECT_ID/knative-installer:0.9.0']
- name: 'gcr.io/cloud-builders/docker'
args: ['tag', 'gcr.io/$PROJECT_ID/knative-installer:0.8.1', 'gcr.io/$PROJECT_ID/knative-installer:0.8']
args: ['tag', 'gcr.io/$PROJECT_ID/knative-installer:0.9.0', 'gcr.io/$PROJECT_ID/knative-installer:0.9']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/$PROJECT_ID/knative-installer:0.8']
args: ['push', 'gcr.io/$PROJECT_ID/knative-installer:0.9']
- name: 'gcr.io/cloud-builders/docker'
args: ['tag', 'gcr.io/$PROJECT_ID/knative-installer:0.8.1', 'gcr.io/$PROJECT_ID/knative-installer:latest']
args: ['tag', 'gcr.io/$PROJECT_ID/knative-installer:0.9.0', 'gcr.io/$PROJECT_ID/knative-installer:latest']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/$PROJECT_ID/knative-installer:latest']

0 comments on commit e37a326

Please sign in to comment.