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

cmd: add build subcommand #49

Merged
merged 1 commit into from Feb 23, 2018
Merged

cmd: add build subcommand #49

merged 1 commit into from Feb 23, 2018

Conversation

hongchaodeng
Copy link
Contributor

No description provided.

This image will automatically set in the deployment manifests in output artifacts.

After build completes, the image would be built locally in docker. Then it needs to
be pushed to remote registry. For example:
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe having For example: to start in a new line?

...
For example:
...

var buildCmd = &cobra.Command{
Use: "build <image>",
Short: "Compiles code and builds artifacts",
Long: `The operator-sdk build command compiles the code and builds the artifacts
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure how detail the command description needs to be. the termartifacts might need a bit more descriptions either here or some other doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The artifacts in my mind is something produced in the software development process. It includes executables, documentation, deployment scripts, etc.

Let me think more about it if we want to say that right now.

@hongchaodeng
Copy link
Contributor Author

I have made the description very explicit and clear so that it will give users a clear picture.

@fanminshi
Copy link
Contributor

lgtm defer to @hasbro17

and generates Kubernetes manifests.

<image> is the container image to be built, e.g. "quay.io/example/operator:v0.0.1".
This image will automatically set in the deployment manifests.
Copy link
Contributor

Choose a reason for hiding this comment

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

will be automatically

@hasbro17
Copy link
Contributor

LGTM after nit

@hongchaodeng hongchaodeng merged commit 720cdae into operator-framework:master Feb 23, 2018
@hongchaodeng hongchaodeng deleted the build branch February 23, 2018 21:32
@fanminshi fanminshi mentioned this pull request Feb 24, 2018
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants