9 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
10 cancel-in-progress: true
102 - stateofthemap-container
103 - stateofthemap-wordpress
127 suite: apt-repository
153 - suite: apt-repository
177 - suite: web-frontend
183 - name: Login to GitHub Container Registry
184 uses: docker/login-action@v3
187 username: ${{ github.actor }}
188 password: ${{ secrets.GITHUB_TOKEN }}
189 - name: Login to Docker Hub
190 uses: docker/login-action@v3
192 username: ${{ secrets.DOCKERHUB_USERNAME }}
193 password: ${{ secrets.DOCKERHUB_TOKEN }}
194 if: github.repository == 'openstreetmap/chef' && github.event_name != 'pull_request'
195 - name: Check out code
196 uses: actions/checkout@v4
198 uses: ruby/setup-ruby@v1
202 - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
203 run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
204 - name: Gather journal output
206 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl --since=yesterday"
207 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "networkctl status --all"
208 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "resolvectl status" || true