Skip to content

Commit

Permalink
Bump pipeline version to v0.16.3
Browse files Browse the repository at this point in the history
  • Loading branch information
savitaashture authored and tekton-robot committed Sep 24, 2020
1 parent 0fd9b8f commit c8123cf
Show file tree
Hide file tree
Showing 578 changed files with 31,620 additions and 6,448 deletions.
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ configuring Kubernetes resources.
Docker for Desktop using an edge version has been proven to work for both
developing and running Pipelines. The recommended configuration is:

- Kubernetes version 1.15 or later
- Kubernetes version 1.16 or later
- 4 vCPU nodes (`n1-standard-4`)
- Node autoscaling, up to 3 nodes
- API scopes for cloud-platform
Expand All @@ -110,7 +110,7 @@ To setup a cluster with GKE:
variable (e.g. `PROJECT_ID`).

1. Create a GKE cluster (with `--cluster-version=latest` but you can use any
version 1.15 or later):
version 1.16 or later):

```bash
export PROJECT_ID=my-gcp-project
Expand Down
2 changes: 1 addition & 1 deletion cmd/triggerrun/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func processTriggerSpec(kubeClient kubernetes.Interface, client triggersclientse
client.TriggersV1alpha1().ClusterTriggerBindings().Get,
client.TriggersV1alpha1().TriggerTemplates(tri.Namespace).Get)
if err != nil {
log.Error("Failed to resolve Trigger", err)
log.Error("Failed to resolve Trigger: ", err)
return nil, err
}

Expand Down
50 changes: 24 additions & 26 deletions cmd/triggerrun/cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,38 +211,36 @@ func Test_processTriggerSpec(t *testing.T) {
args args
want []json.RawMessage
wantErr bool
}{
{
name: "testing-name",
args: args{
t: &v1alpha1.Trigger{
TypeMeta: metav1.TypeMeta{
Kind: "TriggerRun",
APIVersion: "tekton.dev/v1alpha1"},
ObjectMeta: metav1.ObjectMeta{
Name: "my-triggerRun",
}{{
name: "testing-name",
args: args{
t: &v1alpha1.Trigger{
TypeMeta: metav1.TypeMeta{
Kind: "TriggerRun",
APIVersion: "tekton.dev/v1alpha1"},
ObjectMeta: metav1.ObjectMeta{
Name: "my-triggerRun",
},
Spec: v1alpha1.TriggerSpec{
Bindings: []*v1alpha1.TriggerSpecBinding{
{Ref: "git-event-binding"}, // These should be references to TriggerBindings defined below
},
Spec: v1alpha1.TriggerSpec{
Bindings: []*v1alpha1.TriggerSpecBinding{
{Name: "git-event-binding"}, // These should be references to TriggerBindings defined below
},
Template: v1alpha1.TriggerSpecTemplate{
Name: "simple-pipeline-template", // This should be a reference to a TriggerTemplate defined below
},
Template: v1alpha1.TriggerSpecTemplate{
Name: "simple-pipeline-template", // This should be a reference to a TriggerTemplate defined below
},
},
},

request: r,
event: eventBody,
resources: test.Resources{
// Add any resources that we need to create with a fake client
TriggerBindings: []*v1alpha1.TriggerBinding{&triggerBinding},
TriggerTemplates: []*triggersv1.TriggerTemplate{&triggerTemplate},
},
request: r,
event: eventBody,
resources: test.Resources{
// Add any resources that we need to create with a fake client
TriggerBindings: []*v1alpha1.TriggerBinding{&triggerBinding},
TriggerTemplates: []*triggersv1.TriggerTemplate{&triggerTemplate},
},
want: []json.RawMessage{wantTrBytes},
},
}
want: []json.RawMessage{wantTrBytes},
}}

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use this page to add the component to an existing Kubernetes cluster.

## Pre-requisites

1. A Kubernetes cluster version 1.15 or later
1. A Kubernetes cluster version 1.16 or later

If you don't already have a cluster, you can create one for testing with
`kind`. [Install
Expand Down
23 changes: 11 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@ go 1.14
require (
github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher v0.0.0-20191203181535-308b93ad1f39
github.com/gobuffalo/envy v1.9.0 // indirect
github.com/golang/protobuf v1.4.1
github.com/golang/protobuf v1.4.2
github.com/google/cel-go v0.6.0
github.com/google/go-cmp v0.5.0
github.com/google/go-github/v31 v31.0.0
github.com/gorilla/mux v1.7.3
github.com/grpc-ecosystem/grpc-gateway v1.13.0 // indirect
github.com/spf13/cobra v0.0.6
github.com/tektoncd/pipeline v0.14.2
github.com/spf13/cobra v1.0.0
github.com/tektoncd/pipeline v0.16.3
github.com/tektoncd/plumbing v0.0.0-20200430135134-e53521e1d887
github.com/tidwall/gjson v1.3.5 // indirect
github.com/tidwall/sjson v1.0.4
go.uber.org/zap v1.15.0
golang.org/x/text v0.3.3 // indirect
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
google.golang.org/protobuf v1.25.0
gopkg.in/yaml.v2 v2.3.0
k8s.io/api v0.18.2
Expand All @@ -29,21 +28,21 @@ require (
k8s.io/klog v1.0.0
k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29
k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89 // indirect
knative.dev/pkg v0.0.0-20200625173728-dfb81cf04a7c
knative.dev/pkg v0.0.0-20200702222342-ea4d6e985ba0
sigs.k8s.io/yaml v1.2.0
)

// Knative deps (release-0.15)
// Knative deps (release-0.16)
replace (
contrib.go.opencensus.io/exporter/stackdriver => contrib.go.opencensus.io/exporter/stackdriver v0.12.9-0.20191108183826-59d068f8d8ff
github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v38.2.0+incompatible
github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.4.0+incompatible
)

// Pin k8s deps to 1.16.5
// Pin k8s deps to 0.17.6
replace (
k8s.io/api => k8s.io/api v0.16.5
k8s.io/apimachinery => k8s.io/apimachinery v0.16.5
k8s.io/client-go => k8s.io/client-go v0.16.5
k8s.io/code-generator => k8s.io/code-generator v0.16.5
k8s.io/api => k8s.io/api v0.17.6
k8s.io/apimachinery => k8s.io/apimachinery v0.17.6
k8s.io/client-go => k8s.io/client-go v0.17.6
k8s.io/code-generator => k8s.io/code-generator v0.17.6
)
Loading

0 comments on commit c8123cf

Please sign in to comment.