Skip to content

Commit

Permalink
feat: update chain's controllers to use v1 Tekton APIs natively while…
Browse files Browse the repository at this point in the history
… converting to v1beta1 to keep formats backwards compatible (tektoncd#1016)
  • Loading branch information
aaron-prindle authored and khrm committed Jan 22, 2024
1 parent 0c14577 commit 6c77436
Show file tree
Hide file tree
Showing 161 changed files with 6,366 additions and 2,220 deletions.
1 change: 0 additions & 1 deletion .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
pipelines-release:
- v0.41.3 # LTS
- v0.44.4 # LTS
- v0.47.3 # LTS
- v0.50.1 # LTS
Expand Down
2 changes: 1 addition & 1 deletion examples/kaniko/gcp/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: Task
metadata:
name: kaniko-gcp
Expand Down
2 changes: 1 addition & 1 deletion examples/kaniko/gcp/taskrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
name: kaniko-gcp
Expand Down
2 changes: 1 addition & 1 deletion examples/kaniko/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: Task
metadata:
name: kaniko-chains
Expand Down
2 changes: 1 addition & 1 deletion examples/kaniko/taskrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
name: kaniko-run
Expand Down
2 changes: 1 addition & 1 deletion examples/pipelineruns/pipeline-output-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: image-pipelinerun
Expand Down
2 changes: 1 addition & 1 deletion examples/releases/v0.3.0-build-chains-taskrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
generateName: build-chains-
Expand Down
2 changes: 1 addition & 1 deletion examples/taskruns/task-output-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
name: build-push-run-output-image-test
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/tektoncd/chains

go 1.20
go 1.21

require (
cloud.google.com/go/compute/metadata v0.2.3
Expand All @@ -15,6 +15,7 @@ require (
github.com/hashicorp/go-multierror v1.1.1
github.com/in-toto/in-toto-golang v0.9.0
github.com/opencontainers/go-digest v1.0.0
github.com/opentracing/opentracing-go v1.2.0
github.com/pkg/errors v0.9.1
github.com/secure-systems-lab/go-securesystemslib v0.8.0
github.com/sigstore/cosign/v2 v2.2.2
Expand All @@ -26,7 +27,7 @@ require (
github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.8.0
github.com/spiffe/go-spiffe/v2 v2.1.6
github.com/stretchr/testify v1.8.4
github.com/tektoncd/pipeline v0.55.0
github.com/tektoncd/pipeline v0.55.1-0.20240105143253-fe47c9bc893a
github.com/tektoncd/plumbing v0.0.0-20230907180608-5625252a2de1
go.uber.org/zap v1.26.0
gocloud.dev v0.36.0
Expand All @@ -36,7 +37,7 @@ require (
google.golang.org/grpc v1.60.1
google.golang.org/protobuf v1.32.0
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/apimachinery v0.29.0
k8s.io/client-go v0.28.3
k8s.io/code-generator v0.26.5
knative.dev/pkg v0.0.0-20231023150739-56bfe0dd9626
Expand Down Expand Up @@ -315,7 +316,6 @@ require (
github.com/oleiade/reflections v1.0.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/openzipkin/zipkin-go v0.3.0 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
Expand Down Expand Up @@ -399,7 +399,7 @@ require (
github.com/zeebo/errs v1.3.0 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
go-simpler.org/sloglint v0.1.2 // indirect
go.mongodb.org/mongo-driver v1.13.0 // indirect
go.mongodb.org/mongo-driver v1.13.1 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
Expand Down Expand Up @@ -441,7 +441,7 @@ require (
honnef.co/go/tools v0.4.6 // indirect
k8s.io/apiextensions-apiserver v0.26.5 // indirect
k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
mvdan.cc/gofumpt v0.5.0 // indirect
Expand All @@ -450,7 +450,7 @@ require (
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/release-utils v0.7.7 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
)

// Replace glog to fix flag collision between klog and glog.
Expand Down
Loading

0 comments on commit 6c77436

Please sign in to comment.