projects: - project: website-template parameters: &website_params rsync_src: html systree_name: systrees-debian-buster-website notify: [liw@liw.fi] apt_sources: - url: http://ci-prod-controller.vm.liw.fi/debian dist: unstable-ci section: main apt_signing_pub_keys: ci-prod: | -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFrLO7kBEADdz6mHstYmKU5Dp6OSjxWtWaqTDOX1sJdmmaIK/9EKVIH0Maxp 5kvVO5G6mULLAjv/kLG0MxasHPrq8I2A/y8AqKAGVL8QelwLjQMIFZ30/VbGQPHS +T5TZXEnoQtNce1GUhFwJ38ZyjjwHBFV9tSec7rZ2Q3YeM3nNnGPf6DacXGfEOPO HIN4sXAN2hzNXNjKRzTIvxQseb6nr7afUh/SlZ3yhQOCrIzmYlD7tP9WJe7ofL0p JY4pDQYw8rT6nC2BE/ioemh84kERCT1vCe+OVFlSRuMlqfEv+ZpKQ+itOmPDQ/lM jpUm1K2hrW/lWpxT/ZxHKo/w1K36J5WshgMZxfUu5BMCL9LMqMcrXNhNjDMfxDMM 3yBPOvQ4ls6fecOZ/bsFo1p8VzMk/w/eG8vPs5yuNa5XxN95yFMXoOHGb5Xbu8D4 6yiW+Af70LbiSNpGdmNdneiGB2fY38NxBukPw5u3S5qG8HedSmMr1RvSr5kHoAAe UbOY+BYaaKsTAT7+1skUW1o3FJSqoRKCHAzTsMWC6zzhR8hRn7jVrrguH1hGbqq5 TZSCFQZExuTJ7uXrTLG0WoBXIjB5wWNcSeXn8myUWYB51nJNF4tJBouZOz9JwWGl kiAQkrHnBttLQWdW9FyjbIoTZMtpvVx+m6ObGTGdGL1cNlLAvWprMXGc+QARAQAB tDJJY2sgQVBUIHJlcG9zaXRvcnkgc2lnbmluZyBrZXkgKDIwMTgpIDxsaXdAbGl3 LmZpPokCTgQTAQgAOBYhBKL1uyDoXyxUH3O717Wr+TZVS6PGBQJayzu5AhsDBQsJ CAcCBhUICQoLAgQWAgMBAh4BAheAAAoJELWr+TZVS6PGB5QQANTcikhRUHwt9N4h dGc/Hp6CbqdshMoWlwpFskttoVDxQG5OAobuZl5XyzGcmja1lT85RGkZFfbca0IZ LnXOLLSAu51QBkXNaj4OhjK/0uQ+ITrvL6RQSXNgHiUTR/W2XD1GIUq6nBqe2GSN 31S1baYKKVj5QIMsi7Dq8ls3BBXuPCE+xTSaNmGWjes2t9pPidcRvxsksCLY1qgw P1GFXBeMkBQ29kBP87SUL15SIk7OiQLlEURCy5iRls5rt/YEsdEpRWIb0Tm5Nrjv 2M3VM+iBhfNXTwj0rJ34mlycF1qQmA7YcTEobT7z587GPY0VWzBpQUnEQj7rQWPM cDYY0b+I6kQ8VKOaL4wVAtE98d7HzFIrIrwhTKufnrWrVDPYsmLZ+LPC1jiF7JBD SR6Vftb+SdDR9xoE1yRuXbC6IfoW+5/qQNrdQ2mm9BFw5jOonBqchs18HTTf3441 6SWwP9fY3Vi+IZphPPi0Gf85oMStgnv/Wnw6LacEL32ek39Desero/D8iGLZernK Q2mC9mua5A/bYGVhsNWyURNFkKdbFa+/wW3NfdKYyZnsSfo+jJ2luNewrhAY7Kod GWXTer9RxzTGA3EXFGvNr+BBOOxSj0SfWTl0Olo7J5dnxof+jLAUS1VHpceHGHps GSJSdir7NkZidgwoCPA7BTqsb5LN =dXB0 -----END PGP PUBLIC KEY BLOCK----- pipelines: &website_pipelines - ick/setup_container - ick/add_apt_signing_keys - ick/add_apt_sources - ick/restore_workspace - ick/get_sources - ikiwiki_subplot_incremental - ick/save_workspace - project: ideas.liw.fi parameters: <<: *website_params workspace_name: ideas.liw.fi rsync_src: publish rsync_target: ickliwfi@ideas.liw.fi:/srv/http/ideas.liw.fi sources: - name: source ref: main location: src repo: ssh://git@git.liw.fi/ideas pipelines: - ick/setup_container - ick/add_apt_signing_keys - ick/add_apt_sources - ick/restore_workspace - ick/get_sources - build_and_publish_subplots - project: liw.fi parameters: <<: *website_params workspace_name: liw.fi rsync_src: html rsync_target: ickliwfi@liw.fi:/srv/http/liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/liw.fi pipelines: *website_pipelines - project: blog.liw.fi parameters: <<: *website_params workspace_name: blog.liw.fi rsync_src: html rsync_target: ickliwfi@blog.liw.fi:/srv/http/blog.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/blog.liw.fi pipelines: *website_pipelines - project: obnam.org parameters: <<: *website_params workspace_name: obnam.org rsync_src: html rsync_target: ickliwfi@obnam.org:/srv/http/obnam.org sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/obnam.org pipelines: *website_pipelines - project: 256.liw.fi parameters: <<: *website_params workspace_name: 256.liw.fi rsync_src: html rsync_target: ickliwfi@ideas.liw.fi:/srv/http/256.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/256.liw.fi pipelines: - ick/setup_container - ick/add_apt_signing_keys - ick/add_apt_sources - ick/restore_workspace - ick/get_sources - ikiwiki_subplot_incremental - ick/save_workspace - project: gtdfh.liw.fi parameters: <<: *website_params workspace_name: gtdfh.liw.fi rsync_src: html rsync_target: ickliwfi@ideas.liw.fi:/srv/http/gtdfh.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/gtdfh.liw.fi pipelines: *website_pipelines - project: journal.liw.fi parameters: <<: *website_params workspace_name: journal.liw.fi rsync_target: ickliwfi@journal.liw.fi:/srv/http/journal.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/private/liw/Journal pipelines: *website_pipelines - project: noir.liw.fi parameters: <<: *website_params workspace_name: noir.liw.fi rsync_target: ickliwfi@noir.liw.fi:/srv/http/noir.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: git://git.liw.fi/noir.liw.fi pipelines: *website_pipelines - project: seinfeld.liw.fi parameters: <<: *website_params workspace_name: seinfeld.liw.fi rsync_src: publish rsync_target: ickliwfi@ideas.liw.fi:/srv/http/seinfeld.liw.fi sources: - name: source ref: master location: src repo: ssh://git@git.liw.fi/seinfeld pipelines: - ick/setup_container - ick/add_apt_signing_keys - ick/add_apt_sources - ick/restore_workspace - ick/get_sources - run_make_and_publish_html - project: vmdb2.liw.fi parameters: <<: *website_params workspace_name: vmdb2.liw.fi rsync_target: ickliwfi@vmdb2.liw.fi:/srv/http/vmdb2.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: git://git.liw.fi/vmdb2.liw.fi pipelines: *website_pipelines - 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 - project: yuck.liw.fi parameters: <<: *website_params workspace_name: yuck.liw.fi sources: - name: source ref: main location: src repo: git://git.liw.fi/yuck rsync_src: publish rsync_target: ickliwfi@vmdb2-manual.liw.fi:/srv/http/yuck.liw.fi systree_name: systrees-debian-buster-website notify: [liw@liw.fi] pipelines: - ick/setup_container - ick/add_apt_signing_keys - ick/add_apt_sources - ick/restore_workspace - ick/get_sources - ick/get_sources - build_and_publish_yuck - project: manifesto parameters: <<: *website_params workspace_name: manifesto.liw.fi rsync_target: ickliwfi@manifesto.liw.fi:/srv/http/manifesto.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: ssh://git@git.liw.fi/private/liw/manifesto pipelines: *website_pipelines - project: ick.liw.fi parameters: <<: *website_params workspace_name: ick.liw.fi rsync_target: ickliwfi@ick.liw.fi:/srv/http/ick.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: git://git.liw.fi/ick.liw.fi pipelines: *website_pipelines - project: subplot.liw.fi parameters: <<: *website_params workspace_name: subplot.liw.fi rsync_target: ickliwfi@subplot.liw.fi:/srv/http/subplot.liw.fi sources: - name: pandoc-plugin ref: master location: ikiwiki-pandoc repo: https://github.com/sciunto-org/ikiwiki-pandoc.git - name: source ref: main location: src repo: git://git.liw.fi/subplot.liw.fi notify: - liw@liw.fi - dsilvers@digital-scurf.org pipelines: *website_pipelines pipelines: - pipeline: ikiwiki_subplot_incremental 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 # "Install" the plugin so ikiwiki can find it mkdir -p ikiwiki/IkiWiki/Plugin cp ikiwiki-pandoc/pandoc.pm ikiwiki/IkiWiki/Plugin if [ -e build ] then (cd build && git pull) opt=--refresh else git clone .mirrors/source build opt= if [ -e build/git-mtime.sh ] then (cd build && bash -x git-mtime.sh) fi fi (cd build && git show) find -ls cp build/ikiwiki.setup build.setup sed -i '/srcdir:/d' build.setup sed -i '/destdir:/d' build.setup echo 'srcdir: /workspace/build' >> build.setup echo 'destdir: /workspace/html' >> build.setup ikiwiki --verbose --setup build.setup --libdir /workspace/ikiwiki $opt - action: rsync where: host - 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_subplots 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 mkdir publish cd src make cp *.html *.pdf /workspace/publish - 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