summaryrefslogtreecommitdiff
path: root/ci-prod-fable.ick
blob: 696e6c2223c9389513d6071ac0ff0629f275d6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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
        - python-pandocfilters
        - python3-pandocfilters
        - python3-commonmark-bkrs
        - python3-yaml
      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: |
          echo already set up?
          dpkg -l texlive-full
          apt-get --allow-releaseinfo-change update
          apt-get install -y wget

  - pipeline: build_fable_poc_pdfs
    actions:
      - where: container
        shell: |
          cd src
          make
          make publish
          # Trigger .deb build (fixme when Ick has trigger services)
          wget https://ci-prod-controller.vm.liw.fi/projects/fable-poc-ci-sid/+trigger

  - pipeline: publish_fable_poc_pdfs
    parameters:
      - rsync_src
      - rsync_target
    actions:
      - action: rsync
        where: host