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

Machine api operator #1095

Merged

Conversation

paulfantom
Copy link
Contributor

@paulfantom paulfantom commented Jul 25, 2018

Implement simple test and build pipeline for machine-api-operator repository. To stay as close as possible to developer workflow, make command is used to build binary.

@smarterclayton this will also need a place to store images? Can I expect new repository in deocker hub or quay to be set up?

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 25, 2018
@paulfantom paulfantom force-pushed the machine-api-operator branch from e73a5c2 to 81f7a71 Compare July 26, 2018 14:13
@paulfantom paulfantom changed the title WIP: Machine api operator Machine api operator Jul 26, 2018
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 26, 2018
@paulfantom
Copy link
Contributor Author

@bbguimaraes could you take a look at this?

@@ -4179,6 +4182,35 @@ postsubmits:
- --target=[images]
- --promote

openshift/machine-api-operator:
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a PR job that also builds the images, that way we know that it works (the problem with branch only jobs is that if they fail they fail silently)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this should also build images, I changed name.

Copy link
Contributor

Choose a reason for hiding this comment

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

Go ahead and add the PR job that builds the images as well (so put it in presubmits, copy one of the existing ones that has --target=[images] --target=unit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have added another job called pull-ci-openshift-machine-api-operator-unit and based on pull-ci-kubernetes-coredns-unit.

labels:
- lgtm
missingLabels:
- needs-ok-to-test
- do-not-merge/work-in-progress
- do-not-merge/hold
merge_method:
openshift/machine-api-operator: squash
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you know if this has been tested with batch merges? I'm not familiar with this and I know most prow users don't use it, so I don't want you to hit surprising and magic bugs.

Copy link
Contributor Author

@paulfantom paulfantom Jul 26, 2018

Choose a reason for hiding this comment

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

"requests": { "cpu": "100m", "memory": "200Mi" },
"limits": { "cpu": "2", "memory": "4Gi" }
},
"bin": {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think you need this much CPU, you can probably drop both bin and unit for now unless you have data otherwise.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that was a copy paste. Reduced.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant remove the bin and unit sections - the "*" section already provides defaults, that way you don't have to do it per container.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I misunderstood you. Fixed.

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 26, 2018
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 27, 2018
@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 27, 2018
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 27, 2018
@paulfantom paulfantom force-pushed the machine-api-operator branch from 6a29cb7 to 650689b Compare July 27, 2018 08:45
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 27, 2018
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 27, 2018
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 27, 2018
@paulfantom paulfantom force-pushed the machine-api-operator branch from 73ed376 to f946d7b Compare July 27, 2018 09:00
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 27, 2018
- --target=[images]
- --promote

- name: pull-ci-openshift-machine-api-operator-unit
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be under "presubmits" (with other PR jobs) and the branch job should be under "postsubmits". The section you are in determines when you are called.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 27, 2018
@paulfantom paulfantom force-pushed the machine-api-operator branch from 05f661c to e306002 Compare August 7, 2018 06:50
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 7, 2018
@dgoodwin
Copy link
Contributor

bump! how are things looking on this @smarterclayton (or possibly @stevekuznetsov )

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 12, 2018
@paulfantom paulfantom force-pushed the machine-api-operator branch from e306002 to 2565066 Compare August 13, 2018 12:09
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 13, 2018
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 13, 2018
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 13, 2018
@paulfantom
Copy link
Contributor Author

I have migrated presubmits and postsubmits configuration from config.yml file to separate files following practices from master branch.

@stevekuznetsov @smarterclayton could you review this?

@smarterclayton
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2018
@openshift-merge-robot openshift-merge-robot merged commit f321b70 into openshift:master Aug 13, 2018
@openshift-ci-robot
Copy link
Contributor

@paulfantom: Updated the plugins configmap using the following files:

  • key plugins.yaml using file cluster/ci/config/prow/plugins.yaml

In response to this:

Implement simple test and build pipeline for machine-api-operator repository. To stay as close as possible to developer workflow, make command is used to build binary.

@smarterclayton this will also need a place to store images? Can I expect new repository in deocker hub or quay to be set up?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@paulfantom paulfantom deleted the machine-api-operator branch November 29, 2018 13:11
derekhiggins pushed a commit to derekhiggins/release that referenced this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants