~fnux/matrix-cdist-types

ref: refs/heads/master matrix-cdist-types/.builds/debian-support.yml -rw-r--r-- 830 bytes
880a06f8Timothée Floure Adapt doc and CI for non-singleton riot type 1 year, 2 months ago
                                                                                
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
image: debian/stable
packages:
  - cdist
  - lsb-release
environment:
  repository: matrix-cdist-types
sources:
  - https://git.sr.ht/~fnux/matrix-cdist-types
tasks:
  - setup-ssh: |
      sudo mkdir -p /root/.ssh
      ssh-keygen -f ~/.ssh/id_rsa -N ''
      cat ~/.ssh/id_rsa.pub | sudo tee /root/.ssh/authorized_keys
      ssh-keyscan localhost > ~/.ssh/known_hosts
      ssh root@localhost echo "Local SSH connection OK."
  - test-synapse: |
      mkdir $repository/manifest
      cp $repository/.builds/manifest-synapse $repository/manifest/init
      cdist config -v -c $repository localhost
      rm -r $repository/manifest
  - test-riot: |
      mkdir $repository/manifest
      cp $repository/.builds/manifest-riot $repository/manifest/init
      cdist config -v -c $repository localhost
      rm -r $repository/manifest