summaryrefslogtreecommitdiff
path: root/ci-prod-subplot.ick
blob: 89ee1c33c94f34885e94b27d5ae3b14de632fffb (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
projects:

  - project: subplot-systree
    parameters:
      debian_codename: buster
      packages:
        - apt-transport-https
        - jq
        - python3
        - locales-all
        - git
        - build-essential
        - pandoc
        - devscripts
        - graphviz
        - python-pandocfilters
        - python3-pandocfilters
        - python3-commonmark-bkrs
        - python3-yaml
        - ikiwiki
      artifact_name: systrees-debian-buster-subplot
      notify: []
    pipelines:
      - ick/build_debian_systree

  - project: subplot.liw.fi
    parameters:
      systree_name: systrees-debian-buster-subplot
      rsync_src: html
      rsync_target: ickliwfi@pieni.net:/srv/http/subplot.liw.fi
      sources:
        - name: source
          ref: master
          location: src
          repo: git://git.liw.fi/subplot.liw.fi
      notify:
        - liw@liw.fi
        - dsilvers@digital-scurf.org
    pipelines:
      - ick/setup_container
      - ick/get_sources
      - build_subplot_site

pipelines:

  - pipeline: build_subplot_site
    parameters:
      - sources
      - rsync_src
      - rsync_target
    actions:
      - shell: |
          mkdir html
          cd src
          PATH=".:$PATH" ./build.sh ikiwiki ../html
          cd ..
          find -type f -ls
        where: container

      - action: rsync
        where: host