Skip to content

Support for local image building#104

Merged
metal3-io-bot merged 1 commit intometal3-io:masterfrom
stbenjam:local-images
Oct 24, 2019
Merged

Support for local image building#104
metal3-io-bot merged 1 commit intometal3-io:masterfrom
stbenjam:local-images

Conversation

@stbenjam
Copy link
Copy Markdown
Member

This ports the local image building code form OpenShift dev-scripts to
metal3-dev-env. It starts a local registry, and if a user has specified
_LOCAL_IMAGE variables, will build and push those images to the
registry.

kustomize is used to override the images in baremetal-operator.

Example:

export IRONIC_LOCAL_IMAGE=file:///home/notstack/ironic-image
make

Comment thread 03_launch_mgmt_cluster.sh Outdated
@hardys hardys mentioned this pull request Oct 22, 2019
9 tasks
@stbenjam
Copy link
Copy Markdown
Member Author

/test-integration

@stbenjam
Copy link
Copy Markdown
Member Author

/test-centos-integration

@metal3-io-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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

The pull request process is described here

Details 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

@metal3-io-bot metal3-io-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 23, 2019
@stbenjam
Copy link
Copy Markdown
Member Author

/test-integration

@stbenjam
Copy link
Copy Markdown
Member Author

/test-centos-integration

@hardys hardys requested a review from maelk October 23, 2019 08:49
@hardys
Copy link
Copy Markdown
Member

hardys commented Oct 23, 2019

This looks good to me, we've found these interfaces to be very convenient for local image testing in dev-scripts so it will be good to add them here, I guess it may simplify CI testing as well when we have cross-repo dependencies in future.

Other than needing the BMO PR to land first this lgtm, added @maelk for review too

@stbenjam
Copy link
Copy Markdown
Member Author

/test-centos-integration

@stbenjam
Copy link
Copy Markdown
Member Author

/test-integration

Copy link
Copy Markdown
Member

@maelk maelk left a comment

Choose a reason for hiding this comment

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

aside of the podman reference, this looks good to me

Comment thread 02_configure_host.sh Outdated
Comment thread 02_configure_host.sh Outdated
This ports the local image building code form OpenShift dev-scripts to
metal3-dev-env. It starts a local registry, and if a user has specified
_LOCAL_IMAGE variables, will build and push those images to the
registry.

`kustomize` is used to override the images in baremetal-operator.

Example:

```
export IRONIC_LOCAL_IMAGE=file:///home/notstack/ironic-image
make
```
@maelk
Copy link
Copy Markdown
Member

maelk commented Oct 24, 2019

/test-integration

@maelk
Copy link
Copy Markdown
Member

maelk commented Oct 24, 2019

/test-centos-integration

@maelk
Copy link
Copy Markdown
Member

maelk commented Oct 24, 2019

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Oct 24, 2019
@metal3-io-bot metal3-io-bot merged commit c4e7365 into metal3-io:master Oct 24, 2019
@stbenjam stbenjam deleted the local-images branch October 24, 2019 11:21
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants