Skip to content

Instantly share code, notes, and snippets.

@sunix
Last active June 5, 2020 13:40
Show Gist options
  • Save sunix/7a55777431e2629674b2558df00d1d02 to your computer and use it in GitHub Desktop.
Save sunix/7a55777431e2629674b2558df00d1d02 to your computer and use it in GitHub Desktop.
# chectl devfile:generate --name=che-docs --git-repo=https://github.com/eclipse/che-docs --dockerimage=docker.io/antora/antora --command=./run_antora.sh
apiVersion: 1.0.0
metadata:
generateName: che-docs-
projects:
- source:
type: git
location: 'https://github.com/eclipse/che-docs'
name: che-docs
components:
- alias: antora
type: dockerimage
image: docker.io/antora/antora
memoryLimit: 512M
mountSources: true
command:
- tail
args:
- '-f'
- /dev/null
- id: testthedocs/vale/latest
type: chePlugin
- id: ms-vscode/vscode-github-pullrequest/latest
type: chePlugin
commands:
- name: ./run_antora.sh
actions:
- type: exec
command: export HOME=/projects && ./run_antora.sh
component: antora
workdir: /projects/che-docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment