Skip to content

Run post commit and pre-push command - #1448

Merged
adellape merged 1 commit into
openshift:masterfrom
PI-Victor:pi-victor/post_build_actions
Mar 4, 2016
Merged

adellape merged 1 commit into
openshift:masterfrom
PI-Victor:pi-victor/post_build_actions

Conversation

@PI-Victor

Copy link
Copy Markdown

@PI-Victor

Copy link
Copy Markdown
Author

@rhcarvalho ping.

Comment thread dev_guide/builds.adoc Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It is not "post build", we've been calling it "post commit".

@PI-Victor PI-Victor changed the title [WIP] Run post build and pre-push command [WIP] Run post commit and pre-push command Jan 21, 2016
@PI-Victor

Copy link
Copy Markdown
Author

@rhcarvalho can you review this? i think it's in a more finished state now. also you were right about replacing json with yaml so i also had to convert the examples. also eliminated the changes to api_v1.adoc.
make some comments if you find anything that needs rewording i might have forgotten something from our conversation today.

Comment thread dev_guide/builds.adoc Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Note that command and args are string arrays.

This example is invalid according to our API validation, as one cannot have command and script together.
I'd keep this simple and just use "script". We can describe the other possibilities further down.

@rhcarvalho

Copy link
Copy Markdown

@PI-Victor we're in good shape, just need to review the syntax and improve on the parts where we're including invalid examples (command and script together). We don't want copy-pastes from the docs to result in validation error 😄

Comment thread dev_guide/builds.adoc Outdated

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.

s/being//

@PI-Victor

Copy link
Copy Markdown
Author

@bparees corrected @rhcarvalho hey, updated this, what do you think?

Comment thread dev_guide/builds.adoc Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

"is committed" -> "has been committed"?

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 either is ok, but we can let the tech writers decide :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i'll change it to has been committed.

Comment thread dev_guide/builds.adoc Outdated

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.

s/Normally, //

@bparees

bparees commented Feb 24, 2016

Copy link
Copy Markdown
Contributor

@rhcarvalho done, one nit and one suggestion for your question.

Run a test command in a shell on the output image reference before it gets pushed to the registry

Signed-off-by: pi-victor <[email protected]>
@PI-Victor

Copy link
Copy Markdown
Author

@bparees thanks i've updated
@adellape i think we're good, can you take a look

@bparees

bparees commented Feb 24, 2016

Copy link
Copy Markdown
Contributor

lgtm

@rhcarvalho

Copy link
Copy Markdown

lgtm

@adellape ptal

@rhcarvalho

Copy link
Copy Markdown

@PI-Victor please remove the "WIP" from the title.

@adellape ptal

@PI-Victor PI-Victor changed the title [WIP] Run post commit and pre-push command Run post commit and pre-push command Feb 26, 2016
@PI-Victor

Copy link
Copy Markdown
Author

👍 ping @openshift/team-documentation

@rhcarvalho

Copy link
Copy Markdown

@openshift/team-documentation @tnguyen-rh @adellape ping

@adellape

adellape commented Mar 4, 2016

Copy link
Copy Markdown
Contributor

@PI-Victor @rhcarvalho 👍 Thanks.

@adellape adellape added this to the Future Release milestone Mar 4, 2016
adellape added a commit that referenced this pull request Mar 4, 2016
@adellape
adellape merged commit a6bb2e3 into openshift:master Mar 4, 2016
@PI-Victor
PI-Victor deleted the pi-victor/post_build_actions branch April 15, 2016 22:59
@adellape

Copy link
Copy Markdown
Contributor

[rev_history]
|link../dev_guide/builds.html[Builds]
|Added a link:../dev_guide/builds.html#build-hooks[Build Hooks] section.
%

@adellape adellape modified the milestones: OSE 3.2, Future Release Apr 22, 2016
@bfallonf bfallonf self-assigned this May 4, 2016
adellape added a commit that referenced this pull request May 5, 2016
Followup to #1448: Edits to the dev_guide.builds file
@adellape adellape modified the milestones: OSE 3.2, Staging, OSE 3.2 (Picked) May 9, 2016
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