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

Add docker & native build of devfile docs #12602

Closed
wants to merge 10 commits into from
Closed

Conversation

mshaposhnik
Copy link
Contributor

What does this PR do?

Adds possibility to build devfile docs from json schema using docker or native using special build profiles.

What issues does this PR fix or reference?

#12524

Release Notes

N/A

Docs PR

N/A

Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
@che-bot che-bot added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. labels Feb 6, 2019
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
wsmaster/che-core-api-devfile/Dockerfile Outdated Show resolved Hide resolved
@@ -191,4 +191,133 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>devfile-docs-docker</id>
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it would be better to move Devfile docs generation to a separate maven module. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It anyway will have to contain that profiles (to allow different build types). And they are incactive by default. So we will have module which will do nothing 99% of time.

Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
@mshaposhnik mshaposhnik closed this Feb 6, 2019
@skabashnyuk
Copy link
Contributor

@mshaposhnik please discuss with @riuvshin do we need maven profilers or not. Maybe the dedicated script is enough. And let us know

@mshaposhnik mshaposhnik deleted the docs_build branch March 26, 2019 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants