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

Merge upstream #109

Merged
Merged

Conversation

honza
Copy link
Member

@honza honza commented Oct 21, 2020

  • Merging now because we want the changes to how controller-gen is installed
  • During conflict resolution, I set updated Dockerfile with upstream contents since we're using Dockerfile.ocp downstream now

kashifest and others added 30 commits October 8, 2020 13:02
Add capm3 specific configurations in config/ dir
…gmap

Add missing ironic bmo configmap in config/default
Fix image name in manager + other small nits
Add missing RBAC for secrets and events
…dware

start adding unit tests for Ironic.InspectHardware
In the HardwareDetails output, our description of a disk's Name field
and some of the NIC fields were pretty misleading about what they
actually contains.
There doesn't seem to be much point in running all of the lint and
unit tests before building the docker image, and it means we have to
keep the CI system set up to run extra tools in that job. This patch
removes the dependency so `make docker` runs the code generators and
then builds the image.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Correct the description of HardwareDetails fields
remove test dependency from docker build
Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Make the BMC access type registration function public so we can add
fixture types in tests for the ironic provisioner.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Add a testbmc type so the ironic tests that create hosts can use a
test:// URL for the BMC address.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Verify that ValidateManagementAccess() reports an error when the
driver needs a bootMACAddress and the host does not have one.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
dhellmann and others added 14 commits October 15, 2020 09:10
Verify that ValidateManagementAccess() does not report an error when
the host has no boot MAC and the BMC does not require one.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Add CreateNodes() method to IronicMock to simulate creating a node.

Add a test for ValidateManagementAccess that triggers creating a node
and verifies that the host status is updated with the UUID of the new
node.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Look at the node struct we're given and register the responses for
both UUID and Name, based on which values are filled in.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
This way we can avoid the `go get` hack, and track that dependency with
all the other dependencies in the `go.mod` file.
📖 Update deploying document to reflect recent changes
Update golang to latest to match version across all repos
…nagement-access

start adding unit tests for ironic.ValidateManagementAccess
Re-enable FAST_TRACK and set Online to true when rendering BMH CRs
I replaced `Dockerfile` with upstream during conflict resolution.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 21, 2020
@honza
Copy link
Member Author

honza commented Oct 21, 2020

/test unit

1 similar comment
@honza
Copy link
Member Author

honza commented Oct 21, 2020

/test unit

@dhellmann
Copy link

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 21, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhellmann, honza

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

@openshift-merge-robot openshift-merge-robot merged commit 578205d into openshift:master Oct 21, 2020
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants