mirror of https://github.com/knative/pkg.git
upgrade to latest dependencies (#2841)
bumping knative.dev/hack 403114f...f2f9b6f: > f2f9b6f Vendorless docs (# 324) > 46659bc Update actions (# 323) Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
0f52db700d
commit
6cf4b051de
2
go.mod
2
go.mod
|
|
@ -48,7 +48,7 @@ require (
|
||||||
k8s.io/gengo v0.0.0-20221011193443-fad74ee6edd9
|
k8s.io/gengo v0.0.0-20221011193443-fad74ee6edd9
|
||||||
k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54
|
k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54
|
||||||
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2
|
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2
|
||||||
knative.dev/hack v0.0.0-20230925170847-403114ff3229
|
knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263
|
||||||
sigs.k8s.io/yaml v1.3.0
|
sigs.k8s.io/yaml v1.3.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
4
go.sum
4
go.sum
|
|
@ -757,8 +757,8 @@ k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 h1:+70TFaan3hfJzs+7VK2o+O
|
||||||
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280/go.mod h1:+Axhij7bCpeqhklhUTe3xmOn6bWxolyZEeyaFpjGtl4=
|
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280/go.mod h1:+Axhij7bCpeqhklhUTe3xmOn6bWxolyZEeyaFpjGtl4=
|
||||||
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8=
|
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8=
|
||||||
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
|
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
|
||||||
knative.dev/hack v0.0.0-20230925170847-403114ff3229 h1:dPLHHKeP7t5aKlAJMSRMWwz9EeK6BaQjjMBpjtJJewA=
|
knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263 h1:e6r9J1YopzSh6tDCpyKhVBfRUlZ2r0KRo9wupRjdRF4=
|
||||||
knative.dev/hack v0.0.0-20230925170847-403114ff3229/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
||||||
pgregory.net/rapid v1.0.0 h1:iQaM2w5PZ6xvt6x7hbd7tiDS+nk7YPp5uCaEba+T/F4=
|
pgregory.net/rapid v1.0.0 h1:iQaM2w5PZ6xvt6x7hbd7tiDS+nk7YPp5uCaEba+T/F4=
|
||||||
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
||||||
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,16 @@ entrypoint functionality.
|
||||||
|
|
||||||
This is a helper script to run the presubmit tests. To use it:
|
This is a helper script to run the presubmit tests. To use it:
|
||||||
|
|
||||||
1. Source this script.
|
1. Source this script:
|
||||||
|
```bash
|
||||||
|
source "$(go run knative.dev/hack/cmd/script presubmit-tests.sh)"
|
||||||
|
```
|
||||||
|
|
||||||
1. [optional] Define the function `build_tests()`. If you don't define this
|
1. [optional] Define the function `build_tests()`. If you don't define this
|
||||||
function, the default action for running the build tests is to:
|
function, the default action for running the build tests is to:
|
||||||
|
|
||||||
- run `go build` on the entire repo
|
- run `go build` on the entire repo
|
||||||
- run `/hack/verify-codegen.sh` (if it exists)
|
- run `hack/verify-codegen.sh` (if it exists)
|
||||||
- check licenses in all go packages
|
- check licenses in all go packages
|
||||||
|
|
||||||
1. [optional] Customize the default build test runner, if you're using it. Set
|
1. [optional] Customize the default build test runner, if you're using it. Set
|
||||||
|
|
@ -70,7 +73,7 @@ skipped.
|
||||||
### Sample presubmit test script
|
### Sample presubmit test script
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
source vendor/knative.dev/hack/presubmit-tests.sh
|
source "$(go run knative.dev/hack/cmd/script presubmit-tests.sh)"
|
||||||
|
|
||||||
function post_build_tests() {
|
function post_build_tests() {
|
||||||
echo "Cleaning up after build tests"
|
echo "Cleaning up after build tests"
|
||||||
|
|
@ -99,7 +102,10 @@ This is a helper script for Knative E2E test scripts. To use it:
|
||||||
[here](https://github.com/knative/toolbox/blob/main/kntest/pkg/kubetest2/gke/README.md) to the `initialize` function
|
[here](https://github.com/knative/toolbox/blob/main/kntest/pkg/kubetest2/gke/README.md) to the `initialize` function
|
||||||
call if the default values don't fit your needs.
|
call if the default values don't fit your needs.
|
||||||
|
|
||||||
1. Source the script.
|
1. Source the script:
|
||||||
|
```bash
|
||||||
|
source "$(go run knative.dev/hack/cmd/script e2e-tests.sh)"
|
||||||
|
```
|
||||||
|
|
||||||
1. [optional] Write the `knative_setup()` function, which will set up your
|
1. [optional] Write the `knative_setup()` function, which will set up your
|
||||||
system under test (e.g., Knative Serving).
|
system under test (e.g., Knative Serving).
|
||||||
|
|
@ -166,8 +172,7 @@ for Knative Serving to be up before running the tests. It also requires that the
|
||||||
test cluster is created in a specific region, `us-west2`.
|
test cluster is created in a specific region, `us-west2`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
source "$(go run knative.dev/hack/cmd/script e2e-tests.sh)"
|
||||||
source vendor/knative.dev/hack/e2e-tests.sh
|
|
||||||
|
|
||||||
function knative_setup() {
|
function knative_setup() {
|
||||||
start_latest_knative_serving
|
start_latest_knative_serving
|
||||||
|
|
@ -201,7 +206,10 @@ This is a helper script for Knative performance test scripts. In combination
|
||||||
with specific Prow jobs, it can automatically manage the environment for running
|
with specific Prow jobs, it can automatically manage the environment for running
|
||||||
benchmarking jobs for each repo. To use it:
|
benchmarking jobs for each repo. To use it:
|
||||||
|
|
||||||
1. Source the script.
|
1. Source the script:
|
||||||
|
```bash
|
||||||
|
source "$(go run knative.dev/hack/cmd/script performance-tests.sh)"
|
||||||
|
```
|
||||||
|
|
||||||
1. [optional] Customize GCP project settings for the benchmarks. Set the
|
1. [optional] Customize GCP project settings for the benchmarks. Set the
|
||||||
following environment variables if the default value doesn't fit your needs:
|
following environment variables if the default value doesn't fit your needs:
|
||||||
|
|
@ -238,7 +246,7 @@ benchmarking jobs for each repo. To use it:
|
||||||
This script will update `Knative serving` and the given benchmark.
|
This script will update `Knative serving` and the given benchmark.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
source vendor/knative.dev/hack/performance-tests.sh
|
source "$(go run knative.dev/hack/cmd/script performance-tests.sh)"
|
||||||
|
|
||||||
function update_knative() {
|
function update_knative() {
|
||||||
echo ">> Updating serving"
|
echo ">> Updating serving"
|
||||||
|
|
@ -257,7 +265,10 @@ main $@
|
||||||
|
|
||||||
This is a helper script for Knative release scripts. To use it:
|
This is a helper script for Knative release scripts. To use it:
|
||||||
|
|
||||||
1. Source the script.
|
1. Source the script:
|
||||||
|
```bash
|
||||||
|
source "$(go run knative.dev/hack/cmd/script release.sh)"
|
||||||
|
```
|
||||||
|
|
||||||
1. [optional] By default, the release script will run
|
1. [optional] By default, the release script will run
|
||||||
`./test/presubmit-tests.sh` as the release validation tests. If you need to
|
`./test/presubmit-tests.sh` as the release validation tests. If you need to
|
||||||
|
|
@ -313,7 +324,7 @@ This is a helper script for Knative release scripts. To use it:
|
||||||
### Sample release script
|
### Sample release script
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
source vendor/knative.dev/hack/release.sh
|
source "$(go run knative.dev/hack/cmd/script release.sh)"
|
||||||
|
|
||||||
function build_release() {
|
function build_release() {
|
||||||
# config/ contains the manifests
|
# config/ contains the manifests
|
||||||
|
|
|
||||||
|
|
@ -1072,7 +1072,7 @@ k8s.io/utils/net
|
||||||
k8s.io/utils/pointer
|
k8s.io/utils/pointer
|
||||||
k8s.io/utils/strings/slices
|
k8s.io/utils/strings/slices
|
||||||
k8s.io/utils/trace
|
k8s.io/utils/trace
|
||||||
# knative.dev/hack v0.0.0-20230925170847-403114ff3229
|
# knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
knative.dev/hack
|
knative.dev/hack
|
||||||
# sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2
|
# sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue