upgrade to latest dependencies (#601)

bumping knative.dev/pkg ca64d3b...51be315:
  > 51be315 Update community files (# 2419)
  > b619c92 Update actions (# 2417)
  > bab3d0d Update actions (# 2413)
  > 671e46d 💫 we must use `flags` instead of `pflags`, since this is not working. It  seems like pflag.* adds the var to its own flag set, not the one package flag uses, and it doesn't expose the internal flag.Var externally - hence this fix. (# 2414)
  > 7880fb4 Update community files (# 2412)
  > 8681fe2 Continual tests logging within test scope (# 2293)
  > f4b57ae Fix invalid creator or lastModifier annotations on core resources (# 2409)
  > 21b467b upgrade to latest dependencies (# 2406)
bumping knative.dev/hack 51a42b2...7331bb1:
  > 7331bb1 rename function (# 149)
  > 9b303d6 Update community files (# 148)
  > 82bfca1 Update community files (# 147)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2022-02-10 12:19:07 -08:00 committed by GitHub
parent f928f34c67
commit 0f9d7ce342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 14 deletions

4
go.mod
View File

@ -10,6 +10,6 @@ require (
k8s.io/client-go v0.22.5
k8s.io/code-generator v0.22.5
k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c
knative.dev/hack v0.0.0-20220128200847-51a42b2eb63e
knative.dev/pkg v0.0.0-20220129160148-ca64d3b3ea8c
knative.dev/hack v0.0.0-20220209225905-7331bb16ba00
knative.dev/pkg v0.0.0-20220203020920-51be315ed160
)

8
go.sum
View File

@ -1108,11 +1108,11 @@ k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c h1:jvamsI1tn9V0S8jicyX82q
k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a h1:8dYfu/Fc9Gz2rNJKB9IQRGgQOh2clmRzNIPPY1xLY5g=
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
knative.dev/hack v0.0.0-20220118141833-9b2ed8471e30/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack v0.0.0-20220128200847-51a42b2eb63e h1:pW3LMToyFhAhbHQWQwUHLY57i7gjvyFwFC8Sg6oNkJ8=
knative.dev/hack v0.0.0-20220128200847-51a42b2eb63e/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/pkg v0.0.0-20220129160148-ca64d3b3ea8c h1:WaIYXRcQS1Nw5hHbuPk46cvoAdHiosC7eo2CpZcdKHo=
knative.dev/pkg v0.0.0-20220129160148-ca64d3b3ea8c/go.mod h1:BML2uvSEBhY/cpEsAyWv1+vLy2fxNk8VDJ9fT+D0tj4=
knative.dev/hack v0.0.0-20220209225905-7331bb16ba00 h1:MbdDq3JZoCoUzYbw/liB0Idklk/fE2bXiSQnIRhgeC4=
knative.dev/hack v0.0.0-20220209225905-7331bb16ba00/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/pkg v0.0.0-20220203020920-51be315ed160 h1:usHculW2JbADkFNQS8LN3e+sQo2xdJfBaP6/XSvHxQ4=
knative.dev/pkg v0.0.0-20220203020920-51be315ed160/go.mod h1:bZMFTPDPHV3wXuiQ09UJuEGYYQnfpe81MCxNvsMAiJk=
pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU=
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=

View File

@ -122,10 +122,10 @@ function git_push() {
git push "${repo_url}" ${git_args} )
}
# Return the master version of a release.
# Return the major+minor version of a release.
# For example, "v0.2.1" returns "0.2"
# Parameters: $1 - release version label.
function master_version() {
function major_minor_version() {
local release="${1//v/}"
local tokens=(${release//\./ })
echo "${tokens[0]}.${tokens[1]}"
@ -141,8 +141,7 @@ function hash_from_tag() {
# Setup the repository upstream, if not set.
function setup_upstream() {
# hub and checkout need the upstream URL to be set
# TODO(adrcunha): Use "git remote get-url" once available on Prow.
local upstream="$(git config --get remote.upstream.url)"
local upstream="$(git remote get-url upstream)"
echo "Remote upstream URL is '${upstream}'"
if [[ -z "${upstream}" ]]; then
echo "Setting remote upstream URL to '${REPO_UPSTREAM}'"
@ -223,7 +222,7 @@ function prepare_dot_release() {
if [[ -z "${RELEASE_BRANCH}" ]]; then
echo "Last release is ${last_version}"
# Determine branch
major_minor_version="$(master_version "${last_version}")"
major_minor_version="$(major_minor_version "${last_version}")"
RELEASE_BRANCH="release-${major_minor_version}"
echo "Last release branch is ${RELEASE_BRANCH}"
else
@ -428,7 +427,7 @@ function parse_flags() {
# TODO(adrcunha): "dot" releases from release branches require releasing nightlies
# for such branches, which we don't do yet.
[[ "${RELEASE_VERSION}" =~ ^[0-9]+\.[0-9]+\.0$ ]] || abort "version format must be 'X.Y.0'"
RELEASE_BRANCH="release-$(master_version "${RELEASE_VERSION}")"
RELEASE_BRANCH="release-$(major_minor_version "${RELEASE_VERSION}")"
prepare_from_nightly_release
setup_upstream
fi

4
vendor/modules.txt vendored
View File

@ -579,10 +579,10 @@ k8s.io/kube-openapi/pkg/validation/spec
k8s.io/utils/buffer
k8s.io/utils/integer
k8s.io/utils/trace
# knative.dev/hack v0.0.0-20220128200847-51a42b2eb63e
# knative.dev/hack v0.0.0-20220209225905-7331bb16ba00
## explicit
knative.dev/hack
# knative.dev/pkg v0.0.0-20220129160148-ca64d3b3ea8c
# knative.dev/pkg v0.0.0-20220203020920-51be315ed160
## explicit
knative.dev/pkg/apis
knative.dev/pkg/apis/duck