-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPCLOUD-2431: rebase on upstream 1.29.0 release #285
Changes from 1 commit
d364e7b
8c684d6
1bbbbd6
5d00f07
3aff548
96958f8
1ef9e8b
38df9d3
74d1f7f
d3467cf
8166f5e
b9c0d91
e461782
af63873
a68b748
9ea5a36
2f7c61e
ad98cb3
fd6e03f
ce81220
7523da5
270cd3d
b8424a1
53ca6b9
85e1e6e
e9a698f
72ebe77
81a4721
077f450
bafcc0d
0423b14
5d0fac9
bd5233d
ac91ee9
60fcea2
834ec22
bc0e288
d7d33c7
07df121
e6ebe87
e7bf3ec
1fee557
7cb08df
125e9c1
d6ee96d
324a33e
2fa6c26
96e67ee
084264c
9a7459c
33e300f
133fdc7
48b481b
5c65c39
833e4cb
3065285
f115964
3899147
79c1ff4
cc888a1
e56c2d8
dab41cc
87013c2
a0d56b3
3b70373
7e0b682
a3a29cf
ab4c5cb
e1408ed
4103407
54d3a4c
8c35e0a
f1a5ffe
83723e1
4872bdd
d532844
fe6eae5
ddaa9f0
d88664a
4c75ced
1ec0667
e4a4747
b00ec61
0d84ab6
5cea330
1e4cb18
1ff7028
557b0f2
6fd2cb5
69883a4
c068feb
57a4cef
85e97c2
f872258
4d8e654
d0e1546
cc348f1
1b69238
ffec40d
db5e83b
c7ec443
b7b45f7
321eb9e
e134cb2
7f55435
383337e
f229fb5
4470430
ec8f1ef
5bd2005
eda7809
d4c6e2f
0bf9dc0
185cae3
c873215
51dec6e
7ffb662
2b1f29d
f2b8272
fe403c2
f03e98f
185143d
67ccba1
c3e33c7
f8d1c50
b15b745
9d4cc86
edad525
747d0b9
e525b02
dc3a239
996bf06
bb623b0
cb785f2
e836e47
ed84969
53071ec
5c286e1
54bfbfa
b8c7165
0c48815
6a7e6a2
ed6ca63
84b978a
82f85c2
0dd7b86
f7b8072
909c140
841315f
4eacea0
db80037
8de60c9
2b8874d
11c4b66
0b8bc74
81eed96
4c53c20
705143a
7de0d94
d706ef7
670e145
dcaba44
de44d78
0ca611a
0979221
a6f57ba
a1ab7b9
86ab017
cfbfaa2
4635a6d
a1ae4d3
5115f12
39245a5
8673628
54909eb
03bf1e6
4fd6e94
1caf2dd
9f87b78
cfbee9a
3e555b5
6998fd2
e23e63a
9e526ae
225fc33
c4bd3f0
93b7537
ae18f05
70bc124
d887dff
32e6849
d98363f
0a1d74f
06db46b
85b6058
8fe636e
dd09d59
04b89f6
c0661b5
dfd20f2
cea6c36
9a754db
df6784b
65970f9
b6ffd65
a70364d
8f75e9c
4d45f47
844e61c
eb5ef4b
cbebabb
0a46895
b4586f9
37673fe
98a77a8
7c14b8f
a6f1c2b
a8a2e78
49bed4c
cf6176f
f0001eb
f89427a
e495509
b95adf1
ac01132
e3d3303
2afb968
5bf33b2
e28f9fd
ab04101
90361b4
c420cea
bb82ce3
9ffbea4
fc48d5c
600cda5
095ae9f
33fb788
35aa31e
3cb8e9e
8a3d319
014308d
94111b1
577d297
b1f274e
89d20ff
e931057
3de6f10
64eeaf9
2120c26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build_root_image: | ||
name: release | ||
namespace: openshift | ||
tag: rhel-9-release-golang-1.21-openshift-4.16 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ Session.vim | |
|
||
# Binary files | ||
bin/ | ||
_output |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# References: | ||
# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test | ||
# https://docs.snyk.io/snyk-cli/commands/ignore | ||
exclude: | ||
global: | ||
- vendor/** | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
# Old-skool build tools. | ||
# | ||
# Targets (see each target for more information): | ||
# all: Build code. | ||
# build: Build code. | ||
# check: Run verify, build, unit tests and cmd tests. | ||
# test: Run all tests. | ||
# run: Run all-in-one server | ||
# clean: Clean up. | ||
|
||
OUT_DIR = _output | ||
OS_OUTPUT_GOPATH ?= 1 | ||
|
||
GO111MODULE = off | ||
export GO111MODULE | ||
GOFLAGS ?= -mod=vendor | ||
|
||
export GOFLAGS | ||
export TESTFLAGS | ||
# If set to 1, create an isolated GOPATH inside _output using symlinks to avoid | ||
# other packages being accidentally included. Defaults to on. | ||
export OS_OUTPUT_GOPATH | ||
# May be used to set additional arguments passed to the image build commands for | ||
# mounting secrets specific to a build environment. | ||
export OS_BUILD_IMAGE_ARGS | ||
|
||
# Tests run using `make` are most often run by the CI system, so we are OK to | ||
# assume the user wants jUnit output and will turn it off if they don't. | ||
JUNIT_REPORT ?= true | ||
|
||
# Build code. | ||
# | ||
# Args: | ||
# WHAT: Directory names to build. If any of these directories has a 'main' | ||
# package, the build will produce executable files under $(OUT_DIR)/local/bin. | ||
# If not specified, "everything" will be built. | ||
# GOFLAGS: Extra flags to pass to 'go' when building. | ||
# TESTFLAGS: Extra flags that should only be passed to hack/test-go.sh | ||
# | ||
# Example: | ||
# make | ||
# make all | ||
# make all WHAT=cmd/oc GOFLAGS=-v | ||
all build: | ||
hack/build-go.sh $(WHAT) $(GOFLAGS) | ||
.PHONY: all build | ||
|
||
# Run core verification and all self contained tests. | ||
# | ||
# Example: | ||
# make check | ||
check: | verify test-unit | ||
.PHONY: check | ||
|
||
|
||
# Verify code conventions are properly setup. | ||
# | ||
# Example: | ||
# make verify | ||
verify: | ||
{ \ | ||
hack/verify-gofmt.sh ||r=1;\ | ||
hack/verify-govet.sh ||r=1;\ | ||
hack/verify-imports.sh ||r=1;\ | ||
exit $$r ;\ | ||
} | ||
.PHONY: verify | ||
|
||
|
||
# Verify commit comments. | ||
# | ||
# Example: | ||
# make verify-commits | ||
verify-commits: | ||
hack/verify-upstream-commits.sh | ||
.PHONY: verify-commits | ||
|
||
# Run unit tests. | ||
# | ||
# Args: | ||
# WHAT: Directory names to test. All *_test.go files under these | ||
# directories will be run. If not specified, "everything" will be tested. | ||
# TESTS: Same as WHAT. | ||
# GOFLAGS: Extra flags to pass to 'go' when building. | ||
# TESTFLAGS: Extra flags that should only be passed to hack/test-go.sh | ||
# | ||
# Example: | ||
# make test-unit | ||
# make test-unit WHAT=pkg/build TESTFLAGS=-v | ||
test-unit: | ||
GO111MODULE="$(GO111MODULE)" GOTEST_FLAGS="$(TESTFLAGS)" hack/test-go.sh $(WHAT) $(TESTS) | ||
.PHONY: test-unit | ||
|
||
# Remove all build artifacts. | ||
# | ||
# Example: | ||
# make clean | ||
clean: | ||
rm -rf $(OUT_DIR) | ||
.PHONY: clean | ||
|
||
# Build the cross compiled release binaries | ||
# | ||
# Example: | ||
# make build-cross | ||
build-cross: | ||
hack/build-cross.sh | ||
.PHONY: build-cross | ||
|
||
# Build RPMs only for the Linux AMD64 target | ||
# | ||
# Args: | ||
# | ||
# Example: | ||
# make build-rpms | ||
build-rpms: | ||
OS_ONLY_BUILD_PLATFORMS='linux/amd64' hack/build-rpms.sh | ||
.PHONY: build-rpms | ||
|
||
# Build images from the official RPMs | ||
# | ||
# Args: | ||
# | ||
# Example: | ||
# make build-images | ||
build-images: build-rpms | ||
hack/build-images.sh | ||
.PHONY: build-images | ||
|
||
.PHONY: lint | ||
lint: ## Go lint your code | ||
hack/go-lint.sh -min_confidence 0.9 ./cluster-autoscaler/cloudprovider/clusterapi/... | ||
|
||
.PHONY: fmt | ||
fmt: ## Go fmt your code | ||
hack/go-fmt.sh ./cluster-autoscaler/cloudprovider/clusterapi | ||
|
||
.PHONY: vet | ||
vet: ## Go fmt your code | ||
hack/go-vet.sh ./cluster-autoscaler/cloudprovider/clusterapi | ||
|
||
.PHONY: goimports | ||
goimports: ## Go fmt your code | ||
hack/goimports.sh ./cluster-autoscaler/cloudprovider/clusterapi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
# WARNING: This file is autogenerated. DO NOT edit by hand!!! | ||
# To update this file please contact an existing owner and request | ||
# to be added to the owners-gen input data. | ||
approvers: | ||
- mwielgus | ||
- maciekpytel | ||
- gjtempleton | ||
- JoelSpeed | ||
- elmiko | ||
- enxebre | ||
- joelsmith | ||
reviewers: | ||
- mwielgus | ||
- maciekpytel | ||
- gjtempleton | ||
emeritus_approvers: | ||
- bskiba # 2022-09-30 | ||
- JoelSpeed | ||
- RadekManak | ||
- damdo | ||
- elmiko | ||
- nrb | ||
- odvarkadaniel | ||
- racheljpg | ||
- vincepri | ||
component: Cloud Compute | ||
subcomponent: Cluster Autoscaler |
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs quoting, can we fix it up?