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

activate r publishing; switch to archive for final site tar #9

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1676,8 +1676,10 @@ build_docs() {
pushd docs/_build
tar -xzf jekyll-artifacts.tgz
api_folder='html/api'
mkdir -p $api_folder/cpp/docs/api && tar -xzf c-artifacts.tgz --directory $api_folder/cpp/docs/api
# Python has it's own landing page/site so we don't put it in /docs/api
mkdir -p $api_folder/python/docs && tar -xzf python-artifacts.tgz --directory $api_folder/python/docs
mkdir -p $api_folder/cpp/docs/api && tar -xzf c-artifacts.tgz --directory $api_folder/cpp/docs/api
mkdir -p $api_folder/r/docs/api && tar -xzf r-artifacts.tgz --directory $api_folder/r/docs/api
mkdir -p $api_folder/julia/docs/api && tar -xzf julia-artifacts.tgz --directory $api_folder/julia/docs/api
mkdir -p $api_folder/scala/docs/api && tar -xzf scala-artifacts.tgz --directory $api_folder/scala/docs/api
mkdir -p $api_folder/java/docs/api && tar -xzf java-artifacts.tgz --directory $api_folder/java/docs/api
Expand Down
11 changes: 8 additions & 3 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ def docs_jekyll() {
}


// This is for the full website
// This is for publishing the full website
def docs_prepare() {
return ['Prepare for publication of the full website': {
node(NODE_LINUX_CPU) {
Expand All @@ -1545,14 +1545,19 @@ def docs_prepare() {
unstash 'jekyll-artifacts'
unstash 'c-artifacts'
unstash 'python-artifacts'
unstash 'r-artifacts'
unstash 'julia-artifacts'
unstash 'scala-artifacts'
unstash 'java-artifacts'
unstash 'clojure-artifacts'

utils.docker_run('ubuntu_cpu_jekyll', 'build_docs', false)
//utils.pack_lib('full_website', 'docs/_build/full_website.tgz', false)
// TODO: Make sure this 'test-website-publish' understand the new structure

// only stash if we're going to unstash later
// utils.pack_lib('full_website', 'docs/_build/full_website.tgz', false)

// archive so the publish pipeline can access the artifact
archiveArtifacts 'docs/_build/full_website.tgz'
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions ci/jenkins/Jenkinsfile_website_full
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ core_logic: {
])

utils.parallel_stage('Prepare', [
custom_steps.docs_prepare(),
custom_steps.docs_archive()
custom_steps.docs_prepare()
])

utils.parallel_stage('Publish', [
Expand Down