Skip to content

Comment out de-listed plugin for Windows agent support. #314

Comment out de-listed plugin for Windows agent support.

Comment out de-listed plugin for Windows agent support. #314

Workflow file for this run

---
name: ci
# yamllint disable-line rule:truthy
on:
push:
branches: [latest]
pull_request:
branches: ['*']
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@main
- name: Run yaml Lint
uses: actionshub/yamllint@main
kitchen-ci:
runs-on: ubuntu-20.04
name: Kitchen CI
strategy:
matrix:
suite:
- 'agent'
- 'repo'
- 'jenkins'
chef_version:
- '17'
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@main
- name: Install Cinc
uses: actionshub/chef-install@main
with:
omnitruckUrl: omnitruck.cinc.sh
project: cinc-workstation
- name: Test-Kitchen
uses: actionshub/test-kitchen@main
with:
suite: ${{ matrix.suite }}
os: 'ubuntu-2004'
env:
CHEF_VERSION: ${{ matrix.chef_version }}
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
- name: Print debug output (journalctl)
if: failure()
run: |
set -x
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec \
${{ matrix.suite }}-${{ matrix.os }} \
-c "journalctl -l"
- name: Print debug output on failure (jenkins.log)
if: failure() && matrix.suite == 'jenkins'
run: |
set -x
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec \
${{ matrix.suite }}-${{ matrix.os }} \
-c "cat /var/log/jenkins/jenkins.log"
- name: Print debug output on failure (systemctl jenkins status)
if: failure() && matrix.suite == 'jenkins'
run: |
set -x
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec \
${{ matrix.suite }}-${{ matrix.os }} \
-c "systemctl status jenkins"
- name: Print debug output (jenkins-agent)
if: failure()
run: |
set -x
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec \
${{ matrix.suite }}-${{ matrix.os }} \
-c "systemctl status jenkins-agent"