Skip to content
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

A little make & bazel cleaning #662

Merged
merged 2 commits into from
Mar 14, 2019

Conversation

chuckha
Copy link
Contributor

@chuckha chuckha commented Mar 14, 2019

Benefits include

  • Removes Make's direct dependency on gcloud for production builds
  • Reduce the number of unique variables (e.g. REGISTRY_STABLE vs REGISTRY_DEV)
  • Reduce the number of bazel targets to be more reusable
  • Removes generated provider-components file from repo
  • Removes extra bazel and make targets

What this PR does / why we need it:
These are some small clean ups that will make fixing #661 easier.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Release note:

NONE

Benefits include

* Removes Make's direct dependency on `gcloud` for production builds
* Reduce the number of unique variables (e.g. REGISTRY_STABLE vs REGISTRY_DEV)
* Reduce the number of bazel targets to be more reusable

Signed-off-by: Chuck Ha <[email protected]>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 14, 2019
@k8s-ci-robot k8s-ci-robot requested review from detiber and krousey March 14, 2019 16:13
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 14, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chuckha

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 14, 2019
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@@ -1,6 +1,8 @@
build --define=MANAGER_IMAGE_NAME=cluster-api-aws-controller
build --define=MANAGER_IMAGE_TAG=0.0.4
build --define=REGISTRY_STABLE=gcr.io/cluster-api-provider-aws
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
* Removes generated provider-components file from repo
* Removes extra bazel and make targets

Signed-off-by: Chuck Ha <[email protected]>
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 14, 2019
@@ -47,4 +47,4 @@ kubeconfig

# Ignore output manifests
cmd/clusterctl/examples/aws/out
cmd/clusterctl/examples/aws/provider-components-base-dev.yaml
cmd/clusterctl/examples/aws/provider-components-base.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both -dev and this one are generated files. Neither of which should have been checked in

@detiber
Copy link
Member

detiber commented Mar 14, 2019

lgtm, leaving final lgtm to @vincepri

@vincepri
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 14, 2019
@vincepri
Copy link
Member

/test pull-cluster-api-provider-aws-bazel-integration

@k8s-ci-robot k8s-ci-robot merged commit e01bcd1 into kubernetes-sigs:master Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants