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

Generate checluster references tables #1803

Merged
merged 13 commits into from
Feb 15, 2021
17 changes: 9 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {

agent {
kubernetes {
label 'che-docs-pod'
Expand Down Expand Up @@ -30,25 +30,25 @@ spec:
"""
}
}

environment {
PROJECT_NAME = "che"
PROJECT_BOT_NAME = "CHE Bot"
CI = true
}
triggers { pollSCM('H/10 * * * *')

triggers { pollSCM('H/10 * * * *')

}

options {
buildDiscarder(logRotator(numToKeepStr: '5'))
checkoutToSubdirectory('che-docs')
timeout(time: 15, unit: 'MINUTES')
}

stages {

stage('Checkout www repo (master)') {
when {
branch 'master'
Expand Down Expand Up @@ -76,6 +76,7 @@ spec:
container('che-docs') {
dir('che-docs') {
sh './tools/environment_docs_gen.sh'
sh './tools/checluster_docs_gen.sh'
sh 'CI=true antora generate antora-playbook.yml --stacktrace'
}
}
Expand Down
8 changes: 7 additions & 1 deletion devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ components:
type: chePlugin

commands:
- name: Generate reference tables
- name: Generate reference tables for environment variables
actions:
- type: exec
component: che-docs
workdir: /projects/che-docs
command: bash tools/environment_docs_gen.sh
- name: Generate reference tables for CheCluster
actions:
- type: exec
component: che-docs
workdir: /projects/che-docs
command: bash tools/checluster_docs_gen.sh
- name: Start preview server
actions:
- type: exec
Expand Down
Loading