Skip to content

Commit

Permalink
Fix the "build.provider-%" make target used as a dependency of the lo…
Browse files Browse the repository at this point in the history
…cal-deploy target

- Run "make generate"
- Fix the linter issues

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Jan 15, 2024
1 parent 4b42d84 commit c41cda9
Show file tree
Hide file tree
Showing 176 changed files with 167 additions and 485 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ XPKG_REG_ORGS ?= xpkg.upbound.io/upbound
# inferred.
XPKG_REG_ORGS_NO_PROMOTE ?= xpkg.upbound.io/upbound
XPKG_DIR = $(OUTPUT_DIR)/package
XPKG_IGNORE = kustomize/*,crds/kustomization.yaml,crds.yaml
XPKG_IGNORE = kustomization.yaml

export XPKG_REG_ORGS := $(XPKG_REG_ORGS)
export XPKG_REG_ORGS_NO_PROMOTE := $(XPKG_REG_ORGS_NO_PROMOTE)
Expand Down
14 changes: 0 additions & 14 deletions apis/cloudwatch/v1beta1/zz_compositealarm_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions apis/deploy/v1beta1/zz_deploymentgroup_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions apis/ec2/v1beta1/zz_eip_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions apis/eks/v1beta1/zz_addon_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions apis/eks/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions apis/fis/v1beta1/zz_experimenttemplate_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions apis/fis/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions apis/fsx/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 0 additions & 46 deletions apis/lambda/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions apis/sfn/v1beta1/zz_statemachine_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 0 additions & 66 deletions apis/transfer/v1beta1/zz_generated.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cluster/images/provider-aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ img.build:
@$(INFO) Building image $${IMAGE}; \
$(MAKE) BUILD_ARGS="--load ${BUILD_ARGS}" IMAGE=$${IMAGE} XPKG_REG_ORGS=$(XPKG_REG_ORGS) img.build.shared; \
if [[ "$${LOAD_PACKAGES}" == "true" ]]; then \
$(MAKE) batch-process SUBPACKAGES="$(SUBPACKAGES)" BATCH_PLATFORMS=$(PLATFORM) BUILD_ONLY=true STORE_PACKAGES="$$(tr ' ' ',' <<< "$(SUBPACKAGES)")" && \
$(MAKE) batch-process SUBPACKAGES="$(SUBPACKAGES)" XPKG_DIR=$(XPKG_DIR) XPKG_IGNORE=$(XPKG_IGNORE) BATCH_PLATFORMS=$(PLATFORM) BUILD_ONLY=true STORE_PACKAGES="$$(tr ' ' ',' <<< "$(SUBPACKAGES)")" && \
for s in $(SUBPACKAGES); do \
export t=$$(docker load -qi "$(XPKG_OUTPUT_DIR)/$(PLATFORM)/$(PROJECT_NAME)-$${s}-$(VERSION).xpkg") && \
docker tag $${t##*:} $(BUILD_REGISTRY)/$(PROJECT_NAME)-$${s}-$(ARCH); \
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/accessanalyzer/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/account/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/acm/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/acmpca/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/amp/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/amplify/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/apigateway/zz_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
},
WebhookServer: webhook.NewServer(
webhook.Options{
CertDir: *certsDir,
CertDir: *certsDir,
}),
LeaderElectionResourceLock: resourcelock.LeasesResourceLock,
LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(),
Expand Down
Loading

0 comments on commit c41cda9

Please sign in to comment.