Skip to content

Commit 9a4b8b4

Browse files
author
openshift-pipelines-bot
committed
[bot] Update release-v1.21.x from tektoncd/chains to a51457d
$ git diff --stat a51457d..bee7519 .github/workflows/ci.yaml | 157 - .github/workflows/kind-e2e.yaml | 21 +- .github/workflows/lint.yaml | 55 + .github/workflows/reusable-e2e.yaml | 43 +- .github/workflows/test-on-microshift.yaml | 4 +- .yamllint | 36 - Makefile | 132 - cmd/controller/kodata/HEAD | 1 + cmd/controller/kodata/LICENSE | 202 +- cmd/controller/kodata/refs | 1 + docs/vendor/gcp/slsa-2/pipeline.yaml | 2 +- examples/chains-deployment-keyless.yaml | 8 +- examples/releases/v0.3.0-build-chains-taskrun.yaml | 2 +- .../pipeline-with-object-type-hinting.yaml | 2 +- .../v2alpha4/pipeline-with-repeated-results.yaml | 2 +- .../v2alpha4/task-with-object-type-hinting.yaml | 4 +- go.mod | 50 +- go.sum | 104 +- test/e2e-common.sh | 6 +- test/testdata/spire.yaml | 28 +- test/testdata/vault.yaml | 21 +- vendor/cel.dev/expr/BUILD.bazel | 1 + vendor/cel.dev/expr/MODULE.bazel | 22 +- vendor/cel.dev/expr/checked.pb.go | Bin 36822 -> 50576 bytes vendor/cel.dev/expr/eval.pb.go | Bin 13095 -> 15803 bytes vendor/cel.dev/expr/explain.pb.go | Bin 6035 -> 7792 bytes vendor/cel.dev/expr/syntax.pb.go | Bin 42823 -> 58718 bytes vendor/cel.dev/expr/value.pb.go | Bin 15583 -> 20879 bytes .../cncf/xds/go/udpa/annotations/migrate.pb.go | 86 +- .../xds/go/udpa/annotations/migrate.pb.validate.go | 6 +- .../cncf/xds/go/udpa/annotations/security.pb.go | 50 +- .../go/udpa/annotations/security.pb.validate.go | 2 +- .../cncf/xds/go/udpa/annotations/sensitive.pb.go | 27 +- .../cncf/xds/go/udpa/annotations/status.pb.go | 60 +- .../xds/go/udpa/annotations/status.pb.validate.go | 2 +- .../cncf/xds/go/udpa/annotations/versioning.pb.go | 43 +- .../go/udpa/annotations/versioning.pb.validate.go | 2 +- .../cncf/xds/go/udpa/type/v1/typed_struct.pb.go | 38 +- .../go/udpa/type/v1/typed_struct.pb.validate.go | 2 +- .../cncf/xds/go/xds/annotations/v3/migrate.pb.go | 87 +- .../go/xds/annotations/v3/migrate.pb.validate.go | 6 +- .../cncf/xds/go/xds/annotations/v3/security.pb.go | 51 +- .../go/xds/annotations/v3/security.pb.validate.go | 2 +- .../cncf/xds/go/xds/annotations/v3/sensitive.pb.go | 27 +- .../cncf/xds/go/xds/annotations/v3/status.pb.go | 96 +- .../go/xds/annotations/v3/status.pb.validate.go | 8 +- .../xds/go/xds/annotations/v3/versioning.pb.go | 43 +- .../xds/annotations/v3/versioning.pb.validate.go | 2 +- .../cncf/xds/go/xds/core/v3/authority.pb.go | 35 +- .../xds/go/xds/core/v3/authority.pb.validate.go | 2 +- .../github.com/cncf/xds/go/xds/core/v3/cidr.pb.go | 45 +- .../cncf/xds/go/xds/core/v3/cidr.pb.validate.go | 2 +- .../cncf/xds/go/xds/core/v3/collection_entry.pb.go | 64 +- .../go/xds/core/v3/collection_entry.pb.validate.go | 4 +- .../cncf/xds/go/xds/core/v3/context_params.pb.go | 44 +- .../go/xds/core/v3/context_params.pb.validate.go | 2 +- .../cncf/xds/go/xds/core/v3/extension.pb.go | 40 +- .../xds/go/xds/core/v3/extension.pb.validate.go | 2 +- .../cncf/xds/go/xds/core/v3/resource.pb.go | 45 +- .../xds/go/xds/core/v3/resource.pb.validate.go | 2 +- .../cncf/xds/go/xds/core/v3/resource_locator.pb.go | 85 +- .../go/xds/core/v3/resource_locator.pb.validate.go | 4 +- .../cncf/xds/go/xds/core/v3/resource_name.pb.go | 48 +- .../go/xds/core/v3/resource_name.pb.validate.go | 2 +- .../xds/go/xds/data/orca/v3/orca_load_report.pb.go | 100 +- .../data/orca/v3/orca_load_report.pb.validate.go | 2 +- .../cncf/xds/go/xds/service/orca/v3/orca.pb.go | 54 +- .../xds/go/xds/service/orca/v3/orca.pb.validate.go | 2 +- .../xds/go/xds/service/orca/v3/orca_grpc.pb.go | 2 +- .../cncf/xds/go/xds/type/matcher/v3/cel.pb.go | 43 +- .../xds/go/xds/type/matcher/v3/cel.pb.validate.go | 2 +- .../cncf/xds/go/xds/type/matcher/v3/domain.pb.go | 55 +- .../go/xds/type/matcher/v3/domain.pb.validate.go | 4 +- .../xds/go/xds/type/matcher/v3/http_inputs.pb.go | 32 +- .../xds/type/matcher/v3/http_inputs.pb.validate.go | 2 +- .../cncf/xds/go/xds/type/matcher/v3/ip.pb.go | 59 +- .../xds/go/xds/type/matcher/v3/ip.pb.validate.go | 4 +- .../cncf/xds/go/xds/type/matcher/v3/matcher.pb.go | 208 +- .../go/xds/type/matcher/v3/matcher.pb.validate.go | 18 +- .../cncf/xds/go/xds/type/matcher/v3/range.pb.go | 97 +- .../go/xds/type/matcher/v3/range.pb.validate.go | 12 +- .../cncf/xds/go/xds/type/matcher/v3/regex.pb.go | 47 +- .../go/xds/type/matcher/v3/regex.pb.validate.go | 4 +- .../cncf/xds/go/xds/type/matcher/v3/string.pb.go | 74 +- .../go/xds/type/matcher/v3/string.pb.validate.go | 4 +- .../github.com/cncf/xds/go/xds/type/v3/cel.pb.go | 83 +- .../cncf/xds/go/xds/type/v3/cel.pb.validate.go | 4 +- .../github.com/cncf/xds/go/xds/type/v3/range.pb.go | 48 +- .../cncf/xds/go/xds/type/v3/range.pb.validate.go | 6 +- .../cncf/xds/go/xds/type/v3/typed_struct.pb.go | 37 +- .../xds/go/xds/type/v3/typed_struct.pb.validate.go | 2 +- .../envoy/config/bootstrap/v3/bootstrap.pb.go | 1111 +++--- .../config/bootstrap/v3/bootstrap.pb.validate.go | 46 - .../config/bootstrap/v3/bootstrap_vtproto.pb.go | 51 - .../common/mutation_rules/v3/mutation_rules.pb.go | 521 --- .../v3/mutation_rules.pb.validate.go | 711 ---- .../mutation_rules/v3/mutation_rules_vtproto.pb.go | 457 --- .../envoy/config/core/v3/address.pb.go | 4 + .../envoy/config/core/v3/config_source.pb.go | 5 +- .../envoy/config/core/v3/grpc_service.pb.go | 555 ++- .../config/core/v3/grpc_service.pb.validate.go | 68 - .../config/core/v3/grpc_service_vtproto.pb.go | 36 - .../envoy/config/core/v3/health_check.pb.go | 6 +- .../envoy/config/core/v3/protocol.pb.go | 759 +++-- .../envoy/config/core/v3/protocol.pb.validate.go | 5 +- .../envoy/config/core/v3/proxy_protocol.pb.go | 160 +- .../config/core/v3/proxy_protocol.pb.validate.go | 34 +- .../config/core/v3/proxy_protocol_vtproto.pb.go | 14 - .../envoy/config/endpoint/v3/load_report.pb.go | 6 +- .../config/listener/v3/listener_components.pb.go | 2 +- .../envoy/config/metrics/v3/stats.pb.go | 135 +- .../envoy/config/metrics/v3/stats.pb.validate.go | 26 +- .../envoy/config/metrics/v3/stats_vtproto.pb.go | 14 - .../envoy/config/overload/v3/overload.pb.go | 166 +- .../envoy/config/route/v3/route_components.pb.go | 3588 +++++++++----------- .../route/v3/route_components.pb.validate.go | 186 - .../config/route/v3/route_components_vtproto.pb.go | 139 - .../envoy/config/trace/v3/zipkin.pb.go | 308 +- .../envoy/config/trace/v3/zipkin.pb.validate.go | 53 +- .../envoy/config/trace/v3/zipkin_vtproto.pb.go | 41 - .../v3/http_connection_manager.pb.go | 1456 ++++---- .../v3/http_connection_manager.pb.validate.go | 40 +- .../v3/http_connection_manager_vtproto.pb.go | 16 - .../v3/client_side_weighted_round_robin.pb.go | 165 +- ...client_side_weighted_round_robin.pb.validate.go | 29 - .../client_side_weighted_round_robin_vtproto.pb.go | 33 - .../load_balancing_policies/common/v3/common.pb.go | 154 +- .../common/v3/common.pb.validate.go | 2 - .../common/v3/common_vtproto.pb.go | 8 - .../envoy/type/matcher/v3/value.pb.go | 2 +- .../envoyproxy/protoc-gen-validate/validate/BUILD | 4 +- vendor/github.com/go-jose/go-jose/v4/asymmetric.go | 10 +- .../go-jose/go-jose/v4/cipher/key_wrap.go | 10 +- vendor/github.com/go-jose/go-jose/v4/symmetric.go | 26 +- .../pipeline/pkg/apis/pipeline/pod/template.go | 15 - .../pkg/apis/pipeline/pod/zz_generated.deepcopy.go | 5 - .../pkg/apis/pipeline/v1/container_validation.go | 6 +- .../pkg/apis/pipeline/v1/openapi_generated.go | 7 - .../pipeline/pkg/apis/pipeline/v1/swagger.json | 4 - .../apis/pipeline/v1alpha1/openapi_generated.go | 7 - .../pkg/apis/pipeline/v1alpha1/swagger.json | 4 - .../pkg/apis/pipeline/v1beta1/openapi_generated.go | 7 - .../apis/pipeline/v1beta1/pipeline_validation.go | 4 - .../pkg/apis/pipeline/v1beta1/swagger.json | 4 - .../pkg/apis/pipeline/v1beta1/task_validation.go | 5 +- .../resolver/framework/cache/annotated_resource.go | 20 +- .../resolver/framework/cache/cache.go | 137 +- .../resolver/framework/cache/clock.go | 8 + .../resolver/framework/cache/configstore.go | 60 +- .../resolver/framework/cache/operations.go | 26 + vendor/github.com/tektoncd/pipeline/test/README.md | 124 +- .../github.com/tektoncd/pipeline/test/e2e-tests.sh | 2 +- .../tektoncd/pipeline/test/multiarch_utils.go | 20 +- .../tektoncd/pipeline/test/path_filtering.go | 1 + vendor/github.com/tektoncd/pipeline/test/secret.go | 1 + vendor/github.com/tektoncd/pipeline/test/util.go | 1 + .../contrib/detectors/gcp/version.go | 2 +- vendor/go.opentelemetry.io/otel/.codespellignore | 1 - vendor/go.opentelemetry.io/otel/.golangci.yml | 3 - vendor/go.opentelemetry.io/otel/.lycheeignore | 6 +- vendor/go.opentelemetry.io/otel/CHANGELOG.md | 72 +- vendor/go.opentelemetry.io/otel/CONTRIBUTING.md | 458 +-- vendor/go.opentelemetry.io/otel/Makefile | 3 +- vendor/go.opentelemetry.io/otel/README.md | 11 +- vendor/go.opentelemetry.io/otel/RELEASING.md | 54 +- vendor/go.opentelemetry.io/otel/VERSIONING.md | 2 +- .../go.opentelemetry.io/otel/attribute/encoder.go | 2 +- vendor/go.opentelemetry.io/otel/attribute/hash.go | 92 - .../otel/attribute/internal/xxhash/xxhash.go | 64 - vendor/go.opentelemetry.io/otel/attribute/set.go | 145 +- .../otel/attribute/type_string.go | 5 +- vendor/go.opentelemetry.io/otel/baggage/baggage.go | 12 +- .../otel/dependencies.Dockerfile | 2 +- .../otel/internal/global/meter.go | 2 +- vendor/go.opentelemetry.io/otel/metric.go | 2 +- vendor/go.opentelemetry.io/otel/metric/config.go | 38 +- .../otel/propagation/trace_context.go | 2 +- .../otel/sdk/internal/x/features.go | 39 - .../go.opentelemetry.io/otel/sdk/internal/x/x.go | 46 +- vendor/go.opentelemetry.io/otel/sdk/metric/doc.go | 16 - .../sdk/metric/exemplar/fixed_size_reservoir.go | 22 +- .../sdk/metric/exemplar/histogram_reservoir.go | 27 +- .../otel/sdk/metric/exemplar/storage.go | 14 +- .../otel/sdk/metric/instrumentkind_string.go | 5 +- .../sdk/metric/internal/aggregate/aggregate.go | 7 +- .../otel/sdk/metric/internal/aggregate/atomic.go | 184 - .../internal/aggregate/exponential_histogram.go | 21 +- .../internal/aggregate/filtered_reservoir.go | 28 +- .../sdk/metric/internal/aggregate/histogram.go | 71 +- .../sdk/metric/internal/aggregate/lastvalue.go | 16 +- .../otel/sdk/metric/internal/aggregate/limit.go | 2 +- .../otel/sdk/metric/internal/aggregate/sum.go | 239 +- .../sdk/metric/internal/observ/instrumentation.go | 168 - .../metric/internal/reservoir/concurrent_safe.go | 11 - .../otel/sdk/metric/internal/reservoir/doc.go | 6 - .../otel/sdk/metric/manual_reader.go | 41 +- .../sdk/metric/metricdata/temporality_string.go | 5 +- .../otel/sdk/metric/periodic_reader.go | 34 +- .../go.opentelemetry.io/otel/sdk/metric/reader.go | 32 +- .../go.opentelemetry.io/otel/sdk/metric/version.go | 2 +- .../otel/sdk/resource/host_id_bsd.go | 1 + .../otel/sdk/resource/host_id_linux.go | 1 + .../otel/sdk/resource/host_id_unsupported.go | 1 + .../otel/sdk/resource/host_id_windows.go | 1 + .../otel/sdk/resource/os_release_unix.go | 1 + .../otel/sdk/resource/os_unix.go | 1 + .../otel/sdk/resource/os_unsupported.go | 1 + vendor/go.opentelemetry.io/otel/sdk/version.go | 2 +- .../otel/semconv/v1.37.0/error_type.go | 47 +- .../otel/semconv/v1.37.0/httpconv/metric.go | 189 +- .../otel/semconv/v1.37.0/otelconv/metric.go | 2264 ------------ .../otel/semconv/v1.37.0/rpcconv/metric.go | 194 +- vendor/go.opentelemetry.io/otel/trace/config.go | 45 +- vendor/go.opentelemetry.io/otel/trace/span.go | 4 - vendor/go.opentelemetry.io/otel/version.go | 2 +- vendor/go.opentelemetry.io/otel/versions.yaml | 27 +- .../x/crypto/chacha20poly1305/chacha20poly1305.go | 3 - .../crypto/chacha20poly1305/fips140only_compat.go | 9 - .../crypto/chacha20poly1305/fips140only_go1.26.go | 11 - .../x/crypto/chacha20poly1305/xchacha20poly1305.go | 3 - vendor/golang.org/x/mod/modfile/print.go | 2 +- vendor/golang.org/x/mod/modfile/read.go | 2 +- vendor/golang.org/x/mod/modfile/rule.go | 8 +- vendor/golang.org/x/mod/module/module.go | 4 +- vendor/golang.org/x/mod/sumdb/note/note.go | 25 +- .../x/net/http2/writesched_priority_rfc9218.go | 15 - vendor/golang.org/x/sys/cpu/cpu_x86.go | 174 +- vendor/golang.org/x/term/terminal.go | 28 +- .../tools/go/analysis/passes/ctrlflow/ctrlflow.go | 48 +- .../x/tools/go/analysis/passes/printf/doc.go | 30 - .../x/tools/go/analysis/passes/printf/printf.go | 314 +- .../x/tools/go/analysis/passes/printf/types.go | 13 +- .../golang.org/x/tools/go/ast/astutil/imports.go | 19 +- vendor/golang.org/x/tools/go/packages/packages.go | 41 +- vendor/golang.org/x/tools/go/ssa/create.go | 2 +- .../golang.org/x/tools/go/types/typeutil/callee.go | 1 - vendor/golang.org/x/tools/internal/astutil/util.go | 2 +- .../x/tools/internal/event/core/export.go | 15 +- .../x/tools/internal/event/label/label.go | 12 +- .../x/tools/internal/imports/sortimports.go | 23 +- .../golang.org/x/tools/internal/modindex/lookup.go | 8 +- .../golang.org/x/tools/internal/moreiters/iters.go | 8 - .../golang.org/x/tools/internal/refactor/delete.go | 39 +- .../golang.org/x/tools/internal/refactor/edit.go | 15 - .../x/tools/internal/refactor/imports.go | 54 +- .../x/tools/internal/refactor/refactor.go | 3 +- vendor/golang.org/x/tools/internal/stdlib/deps.go | 626 ++-- .../golang.org/x/tools/internal/stdlib/manifest.go | 549 +-- .../golang.org/x/tools/internal/stdlib/stdlib.go | 2 +- .../tools/internal/typesinternal/classify_call.go | 2 +- .../x/tools/internal/typesinternal/types.go | 4 +- .../x/tools/internal/versions/features.go | 1 - vendor/golang.org/x/tools/refactor/satisfy/find.go | 725 ---- .../grpc/attributes/attributes.go | 77 +- vendor/google.golang.org/grpc/balancer/balancer.go | 34 +- .../grpc/balancer/base/balancer.go | 6 +- .../balancer/endpointsharding/endpointsharding.go | 11 +- .../balancer/grpclb/grpc_lb_v1/load_balancer.pb.go | 2 +- .../grpclb/grpc_lb_v1/load_balancer_grpc.pb.go | 2 +- .../grpc/balancer/leastrequest/leastrequest.go | 2 +- .../grpc/balancer/pickfirst/internal/internal.go | 2 - .../grpc/balancer/pickfirst/pickfirst.go | 69 +- .../grpc/balancer/ringhash/ringhash.go | 12 +- .../google.golang.org/grpc/balancer/rls/config.go | 2 +- vendor/google.golang.org/grpc/balancer/subconn.go | 14 + .../grpc/balancer/weightedroundrobin/balancer.go | 72 +- .../grpc/balancer/weightedroundrobin/scheduler.go | 4 +- .../grpc/balancer/weightedtarget/weightedtarget.go | 4 +- vendor/google.golang.org/grpc/balancer_wrapper.go | 6 +- .../binarylog/grpc_binarylog_v1/binarylog.pb.go | 2 +- vendor/google.golang.org/grpc/clientconn.go | 164 +- .../grpc/credentials/alts/internal/conn/record.go | 44 +- .../alts/internal/proto/grpc_gcp/altscontext.pb.go | 2 +- .../alts/internal/proto/grpc_gcp/handshaker.pb.go | 2 +- .../internal/proto/grpc_gcp/handshaker_grpc.pb.go | 2 +- .../proto/grpc_gcp/transport_security_common.pb.go | 2 +- vendor/google.golang.org/grpc/credentials/tls.go | 22 +- vendor/google.golang.org/grpc/dialoptions.go | 9 +- vendor/google.golang.org/grpc/encoding/encoding.go | 4 + .../google.golang.org/grpc/encoding/gzip/gzip.go | 12 + .../grpc/experimental/stats/metricregistry.go | 39 - .../grpc/experimental/stats/metrics.go | 76 +- .../grpc/health/grpc_health_v1/health.pb.go | 2 +- .../grpc/health/grpc_health_v1/health_grpc.pb.go | 2 +- vendor/google.golang.org/grpc/interceptor.go | 12 +- .../balancer/gracefulswitch/gracefulswitch.go | 12 - .../grpc/internal/balancergroup/balancergroup.go | 68 +- .../grpc/internal/envconfig/envconfig.go | 65 +- .../grpc/internal/experimental.go | 7 - .../grpc/internal/hierarchy/hierarchy.go | 67 +- .../google.golang.org/grpc/internal/idle/idle.go | 77 +- vendor/google.golang.org/grpc/internal/internal.go | 29 +- .../grpc/internal/mem/buffer_pool.go | 338 -- .../grpc/internal/proto/grpc_lookup_v1/rls.pb.go | 2 +- .../internal/proto/grpc_lookup_v1/rls_config.pb.go | 2 +- .../internal/proto/grpc_lookup_v1/rls_grpc.pb.go | 2 +- .../grpc/internal/resolver/dns/dns_resolver.go | 15 +- .../grpc/internal/stats/metrics_recorder_list.go | 60 - .../grpc/internal/transport/client_stream.go | 10 +- .../grpc/internal/transport/controlbuf.go | 24 +- .../grpc/internal/transport/defaults.go | 1 - .../grpc/internal/transport/http2_client.go | 44 +- .../grpc/internal/transport/http2_server.go | 100 +- .../grpc/internal/transport/http_util.go | 6 + .../grpc/internal/transport/transport.go | 40 +- .../grpc/internal/xds/balancer/balancer.go | 1 + .../xds/balancer/cdsbalancer/cdsbalancer.go | 641 ++-- .../xds/balancer/cdsbalancer/cluster_watcher.go | 55 + .../xds/balancer/clusterimpl/clusterimpl.go | 144 +- .../internal/xds/balancer/clusterimpl/config.go | 13 +- .../internal/xds/balancer/clusterimpl/picker.go | 33 +- .../xds/balancer/clustermanager/clustermanager.go | 8 +- .../balancer/clusterresolver/clusterresolver.go | 419 +++ .../xds/balancer/clusterresolver/config.go | 160 + .../configbuilder.go | 249 +- .../configbuilder_childname.go | 63 +- .../xds/balancer/clusterresolver/logging.go | 34 + .../balancer/clusterresolver/resource_resolver.go | 322 ++ .../clusterresolver/resource_resolver_dns.go | 180 + .../clusterresolver/resource_resolver_eds.go | 124 + .../xds/balancer/outlierdetection/balancer.go | 107 +- .../balancer/outlierdetection/subconn_wrapper.go | 5 +- .../internal/xds/balancer/priority/balancer.go | 12 +- .../xds/balancer/priority/balancer_child.go | 12 +- .../xds/balancer/priority/balancer_priority.go | 25 +- .../internal/xds/balancer/wrrlocality/balancer.go | 27 +- .../grpc/internal/xds/bootstrap/bootstrap.go | 13 - .../xds/clients/internal/buffer/unbounded.go | 1 - .../internal/xds/clients/xdsclient/ads_stream.go | 216 +- .../internal/xds/clients/xdsclient/authority.go | 4 +- .../grpc/internal/xds/clients/xdsclient/channel.go | 14 +- .../xds/clients/xdsclient/clientimpl_watchers.go | 19 +- .../xds/clients/xdsclient/resource_watcher.go | 3 - .../internal/xds/clients/xdsclient/xdsconfig.go | 34 +- .../grpc/internal/xds/clusterspecifier/rls/rls.go | 2 +- .../grpc/internal/xds/matcher/string_matcher.go | 119 +- .../grpc/internal/xds/rbac/matchers.go | 36 +- .../grpc/internal/xds/resolver/serviceconfig.go | 127 +- .../grpc/internal/xds/resolver/watch_service.go | 92 + .../grpc/internal/xds/resolver/xds_resolver.go | 480 +-- .../grpc/internal/xds/server/conn_wrapper.go | 15 +- .../internal/xds/server/filter_chain_manager.go | 414 --- .../grpc/internal/xds/server/listener_wrapper.go | 66 +- .../grpc/internal/xds/server/rds_handler.go | 6 +- .../grpc/internal/xds/server/routing.go | 198 -- vendor/google.golang.org/grpc/internal/xds/xds.go | 22 - .../grpc/internal/xds/xdsclient/client.go | 8 +- .../grpc/internal/xds/xdsclient/clientimpl.go | 54 +- .../internal/xds/xdsclient/clientimpl_watchers.go | 36 + .../grpc/internal/xds/xdsclient/resource_types.go | 6 +- .../xdsclient/xdslbregistry/converter/converter.go | 2 +- .../xdsclient/xdsresource/cluster_resource_type.go | 110 +- .../xdsresource/endpoints_resource_type.go | 103 +- .../xds/xdsclient/xdsresource/filter_chain.go | 829 ++++- .../xdsresource/listener_resource_type.go | 38 +- .../internal/xds/xdsclient/xdsresource/matcher.go | 28 + .../internal/xds/xdsclient/xdsresource/metadata.go | 11 +- .../xds/xdsclient/xdsresource/resource_type.go | 146 +- .../xdsresource/route_config_resource_type.go | 104 +- .../internal/xds/xdsclient/xdsresource/type_eds.go | 11 +- .../internal/xds/xdsclient/xdsresource/type_lds.go | 24 +- .../internal/xds/xdsclient/xdsresource/type_rds.go | 3 - .../xds/xdsclient/xdsresource/unmarshal_eds.go | 48 +- .../xds/xdsclient/xdsresource/unmarshal_lds.go | 355 +- .../xds/xdsclient/xdsresource/unmarshal_rds.go | 22 +- .../xds/xdsclient/xdsresource/xdsconfig.go | 114 - .../xds/xdsdepmgr/xds_dependency_manager.go | 1008 ------ vendor/google.golang.org/grpc/mem/buffer_pool.go | 160 +- vendor/google.golang.org/grpc/mem/buffers.go | 65 +- vendor/google.golang.org/grpc/picker_wrapper.go | 4 +- vendor/google.golang.org/grpc/resolver/map.go | 34 - vendor/google.golang.org/grpc/resolver/resolver.go | 1 - vendor/google.golang.org/grpc/resolver_wrapper.go | 1 - vendor/google.golang.org/grpc/rpc_util.go | 115 +- vendor/google.golang.org/grpc/server.go | 62 +- .../grpc/stats/opentelemetry/opentelemetry.go | 97 - vendor/google.golang.org/grpc/stream.go | 87 +- vendor/google.golang.org/grpc/version.go | 2 +- vendor/google.golang.org/grpc/xds/server.go | 78 +- vendor/modules.txt | 73 +- 380 files changed, 11632 insertions(+), 20646 deletions(-) https://github.com/tektoncd/chains/compare/a51457de691e0edb45a4588a8e0c85cfa9df16eb..bee7519eb20a587f8e063ff2016725970c1d1b7c
1 parent 17f0cc0 commit 9a4b8b4

381 files changed

Lines changed: 21441 additions & 13005 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bee7519eb20a587f8e063ff2016725970c1d1b7c
1+
a51457de691e0edb45a4588a8e0c85cfa9df16eb

upstream/.github/workflows/ci.yaml

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
name: ci
2+
3+
'on':
4+
pull_request: {}
5+
merge_group: {}
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.merge_group.head_ref || github.ref }}
9+
cancel-in-progress: true
10+
11+
defaults:
12+
run:
13+
shell: bash
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
changes:
20+
name: categorize changes
21+
runs-on: ubuntu-latest
22+
outputs:
23+
non-docs: ${{ steps.detect.outputs.non-docs }}
24+
yaml: ${{ steps.detect.outputs.yaml }}
25+
steps:
26+
- name: Get base depth
27+
id: base-depth
28+
run: echo "base-depth=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_OUTPUT
29+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+
with:
31+
ref: ${{ github.event.pull_request.head.sha }}
32+
fetch-depth: ${{ steps.base-depth.outputs.base-depth }}
33+
persist-credentials: false
34+
- name: detect
35+
id: detect
36+
run: |
37+
git fetch origin ${GITHUB_BASE_REF}
38+
CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} | tr ' ' '\n')
39+
40+
echo -e "Changed files:\n${CHANGED_FILES}"
41+
42+
# If no files are changed at all, then `grep -v` will match even though no change outputs
43+
# should be true. Skipping output on an empty set of changes eliminates the false positive
44+
if [[ -n "${CHANGED_FILES}" ]]; then
45+
NON_DOCS=$(echo "${CHANGED_FILES}" | grep -Eqv '\.md$' && echo 'true' || echo 'false')
46+
YAML=$(echo "${CHANGED_FILES}" | grep -Eq '\.ya?ml$' && echo 'true' || echo 'false')
47+
echo "non-docs=${NON_DOCS}" | tee -a $GITHUB_OUTPUT
48+
echo "yaml=${YAML}" | tee -a $GITHUB_OUTPUT
49+
fi
50+
51+
build:
52+
name: build
53+
runs-on: ubuntu-latest
54+
needs: [changes]
55+
if: ${{ needs.changes.outputs.non-docs == 'true' }}
56+
steps:
57+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
58+
with:
59+
persist-credentials: false
60+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
61+
with:
62+
go-version-file: "go.mod"
63+
- name: build
64+
run: |
65+
go build -v ./...
66+
linting:
67+
name: lint
68+
runs-on: ubuntu-latest
69+
permissions:
70+
contents: read
71+
checks: write # Used by golangci-lint to annotate code in the PR
72+
needs: [changes]
73+
steps:
74+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
75+
with:
76+
fetch-depth: 0
77+
persist-credentials: false
78+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
79+
with:
80+
go-version-file: "go.mod"
81+
- name: gofmt
82+
if: ${{ needs.changes.outputs.non-docs == 'true' }}
83+
run: |
84+
gofmt_out=$(gofmt -d $(find * -name '*.go' ! -path 'vendor/*' ! -path 'third_party/*'))
85+
if [[ -n "$gofmt_out" ]]; then
86+
failed=1
87+
fi
88+
echo "$gofmt_out"
89+
- name: golangci-lint
90+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
91+
if: ${{ needs.changes.outputs.non-docs == 'true' }}
92+
with:
93+
version: v2.7.2
94+
args: --new-from-merge-base=origin/${{ github.base_ref }} --timeout=10m
95+
- name: yamllint
96+
if: ${{ needs.changes.outputs.yaml == 'true' }}
97+
run: |
98+
apt-get update && apt-get install -y yamllint
99+
make yamllint
100+
- name: check-license
101+
if: ${{ needs.changes.outputs.non-docs == 'true' }}
102+
run: |
103+
go install github.com/google/go-licenses@v1.0.0
104+
go-licenses check ./...
105+
tests:
106+
needs: [build]
107+
name: test
108+
runs-on: ubuntu-latest
109+
steps:
110+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
111+
with:
112+
persist-credentials: false
113+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
114+
with:
115+
go-version-file: "go.mod"
116+
- name: unit-test
117+
run: |
118+
make test-unit-verbose-and-race
119+
e2e-tests:
120+
needs: [build]
121+
uses: ./.github/workflows/kind-e2e.yaml
122+
123+
ci-summary:
124+
name: CI summary
125+
needs: [build, linting, tests, e2e-tests]
126+
runs-on: ubuntu-latest
127+
if: always()
128+
steps:
129+
- name: Check CI results
130+
run: |
131+
results=(
132+
"build=${NEEDS_BUILD_RESULT}"
133+
"linting=${NEEDS_LINTING_RESULT}"
134+
"tests=${NEEDS_TESTS_RESULT}"
135+
"e2e-tests=${NEEDS_E2E_TESTS_RESULT}"
136+
)
137+
failed=0
138+
for r in "${results[@]}"; do
139+
name="${r%%=*}"
140+
result="${r#*=}"
141+
echo "${name}: ${result}"
142+
if [ "$result" != "success" ] && [ "$result" != "skipped" ]; then
143+
failed=1
144+
fi
145+
done
146+
if [ "$failed" -eq 1 ]; then
147+
echo ""
148+
echo "Some CI jobs failed or were cancelled"
149+
exit 1
150+
fi
151+
echo ""
152+
echo "All CI checks passed"
153+
env:
154+
NEEDS_BUILD_RESULT: ${{ needs.build.result }}
155+
NEEDS_LINTING_RESULT: ${{ needs.linting.result }}
156+
NEEDS_TESTS_RESULT: ${{ needs.tests.result }}
157+
NEEDS_E2E_TESTS_RESULT: ${{ needs.e2e-tests.result }}

upstream/.github/workflows/kind-e2e.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
name: Chains kind E2E Tests
22

3-
on:
4-
pull_request:
5-
branches:
6-
- main
7-
- release-*
8-
9-
concurrency:
10-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11-
cancel-in-progress: true
3+
'on':
4+
workflow_call: {}
5+
# on:
6+
# pull_request:
7+
# branches:
8+
# - main
9+
# - release-*
1210

1311
defaults:
1412
run:
@@ -17,6 +15,11 @@ defaults:
1715

1816
jobs:
1917
k8s:
18+
permissions:
19+
contents: read
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ matrix.k8s-version }}-${{ github.event.pull_request.number || github.ref }}
22+
cancel-in-progress: true
2023
strategy:
2124
fail-fast: false # Keep running if one leg fails.
2225
matrix:

upstream/.github/workflows/lint.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

upstream/.github/workflows/reusable-e2e.yaml

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
21
name: Reusable workflow example
32

4-
on:
3+
'on':
54
workflow_call:
65
inputs:
76
pipelines-release:
@@ -23,41 +22,40 @@ jobs:
2322

2423
env:
2524
GOPATH: ${{ github.workspace }}
26-
GO111MODULE: on
25+
GO111MODULE: 'on'
2726
GOFLAGS: -ldflags=-s -ldflags=-w
2827
KO_DOCKER_REPO: registry.local:5000/knative
2928
KOCACHE: ~/ko
3029
SIGSTORE_SCAFFOLDING_RELEASE_VERSION: "v0.7.24"
31-
TEKTON_PIPELINES_RELEASE: "https://storage.googleapis.com/tekton-releases/pipeline/previous/${{ inputs.pipelines-release }}/release.yaml"
30+
TEKTON_PIPELINES_RELEASE: "https://infra.tekton.dev/tekton-releases/pipeline/previous/${{ inputs.pipelines-release }}/release.yaml"
3231
# Note that we do not include the v prefix here so we can use it in all
3332
# the places this is used.
3433
SKIP_INITIALIZE: true
3534

3635
steps:
37-
- name: Set up Go
38-
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
39-
with:
40-
go-version: 1.22.x
4136

42-
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9
37+
- name: Check out our repo
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4339
with:
44-
version: tip
40+
persist-credentials: false
4541

46-
- name: Check out our repo
47-
uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
42+
- name: Set up Go
43+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4844
with:
49-
path: ./src/github.com/tektoncd/chains
45+
go-version-file: "go.mod"
46+
47+
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9
5048

5149
- name: Install mirror, kind, knative + sigstore
52-
uses: sigstore/scaffolding/actions/setup@d40cf576f588d980142f0b8462c425d7b32f00b1 # v0.7.25
50+
uses: sigstore/scaffolding/actions/setup@8bd68672d418e5bd1b0ee1f2e2981874c3a30967 # v0.7.33
5351
with:
5452
k8s-version: ${{ inputs.k8s-version }}
5553
version: ${{ env.SIGSTORE_SCAFFOLDING_RELEASE_VERSION }}
5654
knative-version: 1.9.0
5755

5856
- name: Install Tekton pipelines
5957
run: |
60-
while ! kubectl apply --filename ${{ env.TEKTON_PIPELINES_RELEASE }}
58+
while ! kubectl apply --filename ${TEKTON_PIPELINES_RELEASE}
6159
do
6260
echo "waiting for tekton pipelines to get installed"
6361
sleep 2
@@ -67,7 +65,6 @@ jobs:
6765
kubectl -n tekton-pipelines delete po -l app=tekton-pipelines-controller
6866
6967
- name: Run integration tests
70-
working-directory: ./src/github.com/tektoncd/chains
7168
run: |
7269
./test/presubmit-tests.sh --integration-tests
7370
@@ -82,9 +79,12 @@ jobs:
8279
# Restart chains controller so picks up the changes.
8380
kubectl -n tekton-chains delete po -l app=tekton-chains-controller
8481
85-
# TODO(vaikas): Better way to find when the chains has picked up
86-
# the changes
87-
sleep 20
82+
# Wait for chains controller to be ready again
83+
echo "Waiting for chains controller to be ready"
84+
kubectl wait --for=condition=ready --timeout=2m -n tekton-chains pod -l app=tekton-chains-controller
85+
86+
# Give chains a moment to reload the configuration
87+
sleep 5
8888
8989
kubectl create -f https://raw.githubusercontent.com/tektoncd/chains/main/examples/taskruns/task-output-image.yaml
9090
@@ -116,11 +116,14 @@ jobs:
116116
done
117117
118118
# Did not find entry, fail
119+
echo "Failed to find rekor transparency entry after 10 attempts"
120+
kubectl get taskruns -oyaml
121+
kubectl logs -n tekton-chains -l app=tekton-chains-controller --tail=100
119122
exit 1
120123
121124
- name: Collect diagnostics
122125
if: ${{ failure() }}
123-
uses: chainguard-dev/actions/kind-diag@5363dd9eb48083bbf7674a4bbe62d71c3b230edd # v1.1.2
126+
uses: chainguard-dev/actions/kind-diag@de68b87302e6266db5fb5220246f8aa46fe94b67 # v1.6.14
124127
with:
125128
cluster-resources: nodes
126129
namespace-resources: pods,taskruns,jobs

upstream/.github/workflows/test-on-microshift.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- name: Set up Go
3737
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3838
with:
39-
cache-dependency-path: "${{ github.workspace }}/src/github.com/tektoncd/chains/go.sum"
40-
go-version-file: "${{ github.workspace }}/src/github.com/tektoncd/chains/go.mod"
39+
cache-dependency-path: "${{ github.workspace }}/src/github.com/tektoncd/chains/go.sum"
40+
go-version-file: "${{ github.workspace }}/src/github.com/tektoncd/chains/go.mod"
4141

4242
- name: setup microshift
4343
run: |

0 commit comments

Comments
 (0)