]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/test-kitchen.yml
Add squid exporter
[chef.git] / .github / workflows / test-kitchen.yml
index 16babd429c5f22daedbc679a0bb522d042ef5968..acb40b6f4f54f97e5ab25a9353e7a134a93edd34 100644 (file)
@@ -12,25 +12,42 @@ jobs:
           - accounts
           - apache
           - apt
           - accounts
           - apache
           - apt
+          - backup
           - bind
           - blog
           - blogs
           - civicrm
           - clamav
           - bind
           - blog
           - blogs
           - civicrm
           - clamav
+          - db-backup
+          - db-base
+          - db-master
+          - db-slave
           - devices
           - dhcpd
           - dmca
           - devices
           - dhcpd
           - dmca
+          - dns
+          - docker
           - donate
           - donate
+          - elasticsearch
           - exim
           - fail2ban
           - forum
           - ftp
           - geodns
           - geoipupdate
           - exim
           - fail2ban
           - forum
           - ftp
           - geodns
           - geoipupdate
+          - git
+          - git-server
+          - git-web
           - gps-tile
           - hardware
           - gps-tile
           - hardware
+          - hot
           - incron
           - incron
+          - irc
+          - kibana
           - letsencrypt
           - letsencrypt
+          - logstash
+          - logstash-forwarder
+          - mail
           - mailman
           - memcached
           - munin
           - mailman
           - memcached
           - munin
@@ -40,48 +57,70 @@ jobs:
           - networking
           - nginx
           - nodejs
           - networking
           - nginx
           - nodejs
+          - nominatim
           - ntp
           - openssh
           - osmosis
           - osqa
           - otrs
           - passenger
           - ntp
           - openssh
           - osmosis
           - osqa
           - otrs
           - passenger
+          - php
+          - php-apache
+          - php-fpm
           - piwik
           - planet
           - piwik
           - planet
+          - planet-current
           - planet-dump
           - planet-notes
           - planet-replication
           - postgresql
           - planet-dump
           - planet-notes
           - planet-replication
           - postgresql
+          - prometheus
+          - prometheus-server
           - python
           - rsyncd
           - serverinfo
           - python
           - rsyncd
           - serverinfo
+          - snmpd
           - spamassassin
           - squid
           - spamassassin
           - squid
+          - ssl
           - stateofthemap
           - subversion
           - supybot
           - switch2osm
           - stateofthemap
           - subversion
           - supybot
           - switch2osm
+          - sysctl
+          - sysfs
           - taginfo
           - tile
           - tilecache
           - taginfo
           - tile
           - tilecache
+          - tilelog
           - tools
           - trac
           - web-backend
           - web-cgimap
           - web-frontend
           - web-rails
           - tools
           - trac
           - web-backend
           - web-cgimap
           - web-frontend
           - web-rails
+          - wordpress
+          - wiki
         os:
         os:
-          - ubuntu-1804
+          - ubuntu-2004
+        include:
+          - suite: osqa
+            os: ubuntu-1804
+          - suite: trac
+            os: ubuntu-1804
+        exclude:
+          - suite: osqa
+            os: ubuntu-2004
+          - suite: trac
+            os: ubuntu-2004
       fail-fast: false
     steps:
     - name: Check out code
       fail-fast: false
     steps:
     - name: Check out code
-      uses: actions/checkout@v1
-      with:
-        fetch-depth: 1
+      uses: actions/checkout@v2
     - name: Setup ruby
     - name: Setup ruby
-      uses: actions/setup-ruby@v1
+      uses: actions/setup-ruby@v1.1.1
     - name: Cache gems
     - name: Cache gems
-      uses: actions/cache@v1
+      uses: actions/cache@v2
       with:
         path: vendor/bundle
         key: bundle-${{ runner.OS }}-${{ hashFiles('Gemfile.lock') }}
       with:
         path: vendor/bundle
         key: bundle-${{ runner.OS }}-${{ hashFiles('Gemfile.lock') }}
@@ -93,7 +132,8 @@ jobs:
         sudo aa-disable /usr/sbin/mysqld
     - name: Install gems
       run: |
         sudo aa-disable /usr/sbin/mysqld
     - name: Install gems
       run: |
-        gem install bundler --version "~> 1.17"
-        bundle install --jobs 4 --retry 3 --deployment
+        gem install bundler
+        bundle config set deployment true
+        bundle install --jobs 4 --retry 3
     - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
       run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
     - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
       run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}