summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-06-04 12:36:49 +0300
committerLars Wirzenius <liw@liw.fi>2019-06-04 12:36:49 +0300
commitdec80990442556cb1c8cb156ee9e65619dcb5907 (patch)
tree97e11c9bc50a7399d24565036a8cfd35bacc9ef8
parent2c1f9ca7b0bf224fc9ba9bc2ecd0663df65bb164 (diff)
downloadliw-ci-dec80990442556cb1c8cb156ee9e65619dcb5907.tar.gz
Add: fable-poc pdf generation
-rw-r--r--ci-prod-fable.ick70
1 files changed, 70 insertions, 0 deletions
diff --git a/ci-prod-fable.ick b/ci-prod-fable.ick
new file mode 100644
index 0000000..3b98c86
--- /dev/null
+++ b/ci-prod-fable.ick
@@ -0,0 +1,70 @@
+projects:
+
+ - project: fable-systree
+ parameters:
+ debian_codename: buster
+ packages:
+ - apt-transport-https
+ - jq
+ - python3
+ - locales-all
+ - git
+ - build-essential
+# - texlive-full
+ - pandoc
+ - devscripts
+ - graphviz
+# - ca-certificates-java
+# - plantuml
+ artifact_name: systrees-debian-buster-fable
+ notify: [liw@liw.fi]
+ pipelines:
+ - ick/build_debian_systree
+
+ - project: fable-poc-pdfs
+ parameters:
+ systree_name: systrees-debian-buster-fable
+ artifact_name: fable-poc-pdfs
+ sources:
+ - name: src
+ repo: git://git.liw.fi/fable-poc
+ ref: master
+ location: src
+ notify: [liw@liw.fi]
+ rsync_src: src/files
+ rsync_target: ickliwfi@pieni.net:/srv/http/fable-files.liw.fi/fable-poc
+ notify:
+ - liw@liw.fi
+ - dsilvers@digital-scurf.org
+ pipelines:
+ - ick/setup_container
+ - ick/get_sources
+ - install_docbuilding_tools
+ - build_fable_poc_pdfs
+ - publish_fable_poc_pdfs
+
+pipelines:
+
+ - pipeline: install_docbuilding_tools
+ actions:
+ - where: container
+ shell: |
+ apt update
+ apt upgrade -y
+ apt install -y texlive-full python-pandocfilters python3-pandocfilters
+
+ - pipeline: build_fable_poc_pdfs
+ actions:
+ - where: container
+ shell: |
+ cd src
+ make
+ make publish
+
+ - pipeline: publish_fable_poc_pdfs
+ parameters:
+ - rsync_src
+ - rsync_target
+ actions:
+ - action: rsync
+ where: host