9 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
10 cancel-in-progress: true
103 - stateofthemap-container
104 - stateofthemap-wordpress
129 suite: apt-repository
159 - suite: apt-repository
187 - suite: web-frontend
193 - name: Login to GitHub Container Registry
194 uses: docker/login-action@v3
197 username: ${{ github.actor }}
198 password: ${{ secrets.GITHUB_TOKEN }}
199 - name: Login to Docker Hub
200 uses: docker/login-action@v3
202 username: ${{ secrets.DOCKERHUB_USERNAME }}
203 password: ${{ secrets.DOCKERHUB_TOKEN }}
204 if: github.repository == 'openstreetmap/chef' && github.event_name != 'pull_request'
205 - name: Check out code
206 uses: actions/checkout@v4
208 uses: ruby/setup-ruby@v1
212 - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
213 run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
214 - name: Gather journal output
216 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl --since=yesterday"
217 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "networkctl status --all"
218 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "resolvectl status" || true