9 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
10 cancel-in-progress: true
101 - stateofthemap-container
102 - stateofthemap-wordpress
126 suite: apt-repository
144 - suite: apt-repository
166 - name: Login to GitHub Container Registry
167 uses: docker/login-action@v3
170 username: ${{ github.actor }}
171 password: ${{ secrets.GITHUB_TOKEN }}
172 - name: Login to Docker Hub
173 uses: docker/login-action@v3
175 username: ${{ secrets.DOCKERHUB_USERNAME }}
176 password: ${{ secrets.DOCKERHUB_TOKEN }}
177 if: github.repository == 'openstreetmap/chef' && github.event_name != 'pull_request'
178 - name: Check out code
179 uses: actions/checkout@v4
181 uses: ruby/setup-ruby@v1
185 - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
186 run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
187 - name: Gather journal output
189 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl --since=yesterday"
190 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "networkctl status --all"
191 bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "resolvectl status" || true