Skip to content

Consolidate image / image stream tasks into Dev Guide - #1890

Merged
adellape merged 1 commit into
openshift:masterfrom
adellape:edit_1501_imgmoves
May 9, 2016
Merged

adellape merged 1 commit into
openshift:masterfrom
adellape:edit_1501_imgmoves

Conversation

@adellape

Copy link
Copy Markdown
Contributor

Comment thread dev_guide/managing_images.adoc Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ncdc Having trouble figuring out where this reference could be set, and why/when. Is this the reference mentioned in http://file.rdu.redhat.com/~adellape/041216/edit_1501_imgmoves/rest_api/openshift_v1.html#v1-tagreference? Is there an example someplace of this in action?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

oc tag --alias sets the reference to true

@adellape
adellape force-pushed the edit_1501_imgmoves branch 3 times, most recently from 79c5ce5 to 5671ee0 Compare April 15, 2016 15:24
@adellape

Copy link
Copy Markdown
Contributor Author

@soltysh @miminar @ncdc Can you start taking a look at this? Pulling in image/image-stream related tasks from around the docs into a Dev Guide topic (still some work to do):

http://file.rdu.redhat.com/~adellape/041216/edit_1501_imgmoves/dev_guide/managing_images.html

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Image stream with 0 docker images is valid as well.

@soltysh

soltysh commented Apr 19, 2016

Copy link
Copy Markdown

@adellape shouldn't the labels be targeting 3.2?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

s/certain base image/certain image/

Base suggests you're building on top of it, which is rather for builds. Deployments use specific images for running.

Comment thread dev_guide/managing_images.adoc Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I could show using oc create -f here I suppose...

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yes. Generally you can either create the IS manually or using oc import-image --from=<here goes docker pull spec>. So id would be nice to separate the two. Since after reading it user might get the impression that first he needs to create and then import, which is not true. Import will happen automatically when IS is created (or rather shortly after). oc import-image can be used instead of that or to re-import an image.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK, updated the section to make these options obvious.

@soltysh

soltysh commented May 6, 2016

Copy link
Copy Markdown

@adellape a couple of nits, but mostly looks good. Thanks a lot for cleaning this up!!!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think you missed an instance.
s/the OpenShift project/the {product-title} project

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@adellape just one comment. Thanks!

@adellape
adellape force-pushed the edit_1501_imgmoves branch from cbbd3fc to a557010 Compare May 6, 2016 21:53
@adellape

adellape commented May 6, 2016

Copy link
Copy Markdown
Contributor Author

@adellape

adellape commented May 6, 2016

Copy link
Copy Markdown
Contributor Author

@aweiteka I just realized this PR would end up disappearing a number of subsections from this Arch topic, since the AR docs don't have a Dev Guide:

http://docs.projectatomic.io/registry/latest/architecture/core_concepts/builds_and_image_streams.html

It would end up looking like this:

http://file.rdu.redhat.com/~adellape/050616/atomic-registry/edit_1501_imgmoves/architecture/core_concepts/builds_and_image_streams.html

What would you like to do here? I could see a solution where we use an include:: to pull the info into a different topic, the Quickstarts -> Developers topic maybe. They do seem like tasks that would be interesting for an AR user. Or maybe actually just start a small Developers (Users?) guide and include this and a few other topics?

Comment thread dev_guide/managing_images.adoc Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@soltysh Updated this to give some example/common usage for tags.

@aweiteka

aweiteka commented May 9, 2016

Copy link
Copy Markdown

Or maybe actually just start a small Developers (Users?) guide and include this and a few other topics?

@adellape I think that is the solution. I've got a few topics in mind for a user guide. Go ahead and merge this and I'll pull something together.

@adellape
adellape force-pushed the edit_1501_imgmoves branch from a557010 to 997b163 Compare May 9, 2016 14:36
@adellape
adellape merged commit 5301ee7 into openshift:master May 9, 2016
@adellape

adellape commented May 9, 2016

Copy link
Copy Markdown
Contributor Author

[rev_history]
|link:../architecture/core_concepts/builds_and_image_streams.html[Core Concepts -> Builds and Image Streams]
|Moved many task-based sections to the new link:../dev_guide/managing_images.html[Managing Images] topic in the Developer Guide.
%
|link:../dev_guide/managing_images.html[Managing Images]
|New topic aggregating many related tasks regarding images and image streams. Includes many sections previously found in the link:../architecture/core_concepts/builds_and_image_streams.html[Builds and Image Streams] and Image Pull Secrets topics, as well as updated and enhanced details throughout.
%

@adellape adellape modified the milestones: OSE 3.2, Staging, OSE 3.2 (Picked) May 9, 2016
@soltysh

soltysh commented May 10, 2016

Copy link
Copy Markdown

@adellape thanks for the effor 🎉

@adellape
adellape deleted the edit_1501_imgmoves branch May 16, 2016 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants