From d7e0819822a931c16627a0ba30506c376593438c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 17 Mar 2021 13:15:43 +0200 Subject: vmdb2-manual --- ci-prod.ick | 112 ++++++++++++++++++------------------------------------------ 1 file changed, 33 insertions(+), 79 deletions(-) diff --git a/ci-prod.ick b/ci-prod.ick index f0dc1d1..7679b01 100644 --- a/ci-prod.ick +++ b/ci-prod.ick @@ -326,6 +326,24 @@ projects: - subplots - ick/save_workspace + - project: vmdb2-manual + parameters: + <<: *website_params + workspace_name: vmdb2-manual.liw.fi + rsync_target: ickliwfi@http.liw.fi:/srv/http/vmdb2-manual.liw.fi + sources: + - name: source + ref: main + location: src + repo: git://git.liw.fi/vmdb2 + notify: [liw@liw.fi] + pipelines: + - ick/setup_container + - ick/add_apt_signing_keys + - ick/add_apt_sources + - ick/get_sources + - vmdb2_manual + pipelines: @@ -387,83 +405,19 @@ pipelines: - action: rsync where: host + - pipeline: vmdb2_manual + parameters: + - rsync_src + - rsync_target + actions: + - shell: | + apt install -y texlive texlive-xetex fonts-freefont-ttf + mkdir -p html + cd src + ./format.sh + cp vmdb2.html ../html/index.html + cp vmdb2.pdf ../html/vmdb2.pdf + where: container - -# -# -# - project: vmdb2-manual -# parameters: -# sources: -# - name: source -# ref: main -# location: src -# repo: git://git.liw.fi/vmdb2 -# rsync_src: html -# rsync_target: ickliwfi@vmdb2-manual.liw.fi:/srv/http/vmdb2-manual.liw.fi -# systree_name: systrees-debian-buster-website -# notify: [liw@liw.fi] -# pipelines: -# - ick/setup_container -# - ick/get_sources -# - publish_vmdb2_manual -# -# pipelines: -# -# -# - pipeline: publish_vmdb2_manual -# parameters: -# - rsync_src -# - rsync_target -# actions: -# - shell: | -# apt update -# apt dist-upgrade -y -# apt install -y pandoc texlive texlive-xetex fonts-freefont-ttf -# mkdir html -# cd src -# ./format.sh -# cp vmdb2.html ../html/index.html -# cp vmdb2.pdf ../html/vmdb2.pdf -# where: container -# -# - action: rsync -# where: host -# -# - pipeline: build_and_publish_yuck -# parameters: -# - sources -# - rsync_src -# - rsync_target -# actions: -# - where: container -# shell: | -# apt-get update -# apt-get install -y subplot make pandoc texlive-latex-base \ -# texlive-latex-recommended texlive-fonts-recommended \ -# pandoc-citeproc librsvg2-bin graphviz plantuml -# mkdir publish -# cd src -# ./build.sh -# cp *.html *.pdf /workspace/publish -# -# - action: rsync -# where: host -# -# -# - pipeline: run_make_and_publish_html -# parameters: -# - sources -# - rsync_src -# - rsync_target -# actions: -# - where: container -# shell: | -# apt-get update -# apt-get install -y make python3 python3-yaml pcal -# mkdir publish -# cd src -# make -# cp *.html /workspace/publish -# -# - action: rsync -# where: host + - action: rsync + where: host -- cgit v1.2.1