~fnux/matrix-cdist-types

8796f63009367ccf09c3db1e698d4b4df15877fe — Timothée Floure 1 year, 2 months ago 2a7ccee
Disable Fedora CI due to lack of DNF support in cdist
3 files changed, 20 insertions(+), 29 deletions(-)

D .builds/fedora-support.yml
M .builds/fedora-support.yml.disabled
M README.md
D .builds/fedora-support.yml => .builds/fedora-support.yml +0 -25
@@ 1,25 0,0 @@
image: fedora/31
environment:
  repository: matrix-cdist-types
sources:
  - https://git.sr.ht/~fnux/matrix-cdist-types
tasks:
  # Cdist is not in F31 yet.
  - install-cdist: |
      sudo dnf install -y --enablerepo=updates-testing --advisory=FEDORA-2019-20cfba1593 cdist
  - 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 manifest/ localhost
      rm -r $repository/manifest

M .builds/fedora-support.yml.disabled => .builds/fedora-support.yml.disabled +19 -3
@@ 1,8 1,24 @@
image: fedora/latest
image: fedora/31
packages:
  - cdist
environment:
  repository: matrix-cdist-types
sources:
  - https://git.sr.ht/~fnux/matrix-cdist-types
tasks:
  - fail: |
      exit 1
  - 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 manifest/ localhost
      rm -r $repository/manifest

M README.md => README.md +1 -1
@@ 10,4 10,4 @@
## Integration tests

* [debian](https://www.debian.org/) support via [builds.sr.ht](.builds/debian-support.yml).
* [fedora](http://fedora.org/) support via [builds.sr.ht](.builds/fedora-support.yml).
* [fedora](http://fedora.org/) support via [builds.sr.ht](.builds/fedora-support.yml). **[BLOCKED BY CDIST#585](https://code.ungleich.ch/ungleich-public/cdist/issues/585)**.