Skip to content

Commit

Permalink
Vendor gardener@v1.51.0 (#414)
Browse files Browse the repository at this point in the history
* run go mod tidy before go mod vendor to make make revendor

* Vendor gardener v1.51.0

* Update k8s dependecies

* Update controller-runtime

* Import hack

* Update Argo Workflow

* Update make file to use tools

* Update component cli

* Update component spec

* Update component cli

* Adapt changes for NullLogger

* Adapt changes for logger changed to construct

* Avoid shallow copies of CRDs

ref kubernetes-sigs/controller-runtime#1667

* gitignore tools bin dir

* make generate and make revendor

* delete ignored files

* Update images

* Add CRDs and adapt cluster role
  • Loading branch information
acumino committed Jul 20, 2022
1 parent 42726c8 commit 3f0c024
Show file tree
Hide file tree
Showing 2,254 changed files with 242,788 additions and 39,669 deletions.
4 changes: 1 addition & 3 deletions .ci/check
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash -x
#
# Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file
#
Expand Down Expand Up @@ -31,8 +31,6 @@ function arraydiff() {

cd "${SOURCE_PATH}"

make install-requirements

make check

echo > Validate generated files
Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Bug Report
about: Report a bug encountered while working with Test Machinery
labels: kind/bug

---

Expand All @@ -14,13 +13,11 @@ If multiple identifiers make sense you can also state the commands multiple time
/area auto-scaling
...
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|operations|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test
"/priority" identifiers: 1|2|3|4|5 (ordered from greatest to least)
-->
/area testing
/kind bug
/priority 3

**What happened**:

Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Enhancement Request
about: Suggest an enhancement for Test Machinery
labels: kind/enhancement

---

Expand All @@ -14,13 +13,11 @@ If multiple identifiers make sense you can also state the commands multiple time
/area auto-scaling
...
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|operations|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test
"/priority" identifiers: 1|2|3|4|5 (ordered from greatest to least)
-->
/area testing
/kind enhancement
/priority 3

**What would you like to be added**:

Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/flaking-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Flaking Test
about: Report flaky tests or jobs in Gardener CI
title: "[Flaky Test] FLAKING TEST/SUITE"
labels: kind/flake

---

Expand All @@ -17,13 +16,11 @@ If multiple identifiers make sense you can also state the commands multiple time
/area auto-scaling
...
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|operations|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test
"/priority" identifiers: 1|2|3|4|5 (ordered from greatest to least)
-->
/area testing
/kind flake
/priority 3

**Which test(s)/suite(s) are flaking**:

Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/support.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Support Request
about: Support request or question relating to Test Machinery
labels: kind/question

---

Expand All @@ -10,5 +9,5 @@ STOP -- PLEASE READ!
GitHub is not the right place for support requests.
If you're looking for help, please post your question on the [Kubernetes Slack](http://slack.k8s.io/) ([#gardener](https://kubernetes.slack.com/messages/gardener) channel) or join our [weekly meetings](https://github.com/gardener/documentation/blob/master/CONTRIBUTING.md#weekly-meeting).
If you're looking for help, please post your question on the [Kubernetes Slack](http://slack.k8s.io/) ([#gardener](https://kubernetes.slack.com/messages/gardener) channel) or join our [bi-weekly meetings](https://gardener.cloud/docs/contribute/#bi-weekly-meetings).
-->
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
temp/
tmp
venv
hack/tools/bin

# Generated secrets
assets
Expand Down
20 changes: 14 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,22 @@ TM_GOLANG_BASE_IMAGE := $(REGISTRY)/golang
NS ?= default
TESTRUN ?= "examples/int-testrun.yaml"

#########################################
# Tools #
#########################################

TOOLS_DIR := hack/tools
include vendor/github.com/gardener/gardener/hack/tools.mk

#####################
# Utils #
#####################

.PHONY: revendor
revendor:
@GO111MODULE=on go mod vendor
@GO111MODULE=on go mod tidy
@GO111MODULE=on go mod vendor
@chmod +x $(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/*
@chmod +x $(REPO_ROOT)/vendor/k8s.io/code-generator/generate-internal-groups.sh
@$(REPO_ROOT)/hack/update-github-templates.sh

Expand All @@ -52,16 +60,16 @@ code-gen:
@./hack/generate-code

.PHONY: generate
generate:
generate: $(CONTROLLER_GEN) $(GEN_CRD_API_REFERENCE_DOCS) $(HELM) $(MOCKGEN) $(OPENAPI_GEN)
@$(REPO_ROOT)/hack/generate.sh ./cmd/... ./pkg/... ./test/...

.PHONY: format
format:
@$(REPO_ROOT)/hack/format.sh ./cmd ./pkg ./test ./integration-tests
format: $(GOIMPORTS)
@$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/format.sh ./cmd ./pkg ./test ./integration-tests

.PHONY: check
check:
@$(REPO_ROOT)/hack/check.sh --golangci-lint-config=./.golangci.yaml $(REPO_ROOT)/cmd/... $(REPO_ROOT)/pkg/... $(REPO_ROOT)/test/...
check: $(GOIMPORTS) $(GOLANGCI_LINT)
@$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check.sh --golangci-lint-config=./.golangci.yaml ./cmd/... ./pkg/... ./test/...

.PHONY: test
test:
Expand Down
Loading

0 comments on commit 3f0c024

Please sign in to comment.