Allow to toggle RPM repo configuration on openldap_install resource #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
"on": | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
delivery: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run Chef Delivery | |
uses: actionshub/chef-delivery@main | |
env: | |
CHEF_LICENSE: accept-no-persist | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run yaml Lint | |
uses: actionshub/yamllint@main | |
mdl: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run Markdown Lint | |
uses: actionshub/markdownlint@main | |
integration: | |
needs: [mdl, yamllint, delivery] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: | |
- "amazonlinux-2" | |
- "debian-9" | |
- "debian-10" | |
- "centos-7" | |
- "centos-8" | |
- "fedora-latest" | |
- "ubuntu-1804" | |
- "ubuntu-2004" | |
- "opensuse-leap-15" | |
suite: | |
- "default" | |
- "tls-enabled" | |
- "type-provider" | |
- "type-consumer" | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install Chef | |
uses: actionshub/chef-install@2.0.4 | |
- name: Dokken | |
uses: actionshub/test-kitchen@2.1.0 | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.dokken.yml | |
with: | |
suite: ${{ matrix.suite }} | |
os: ${{ matrix.os }} | |
- name: Print debug output on failure | |
if: failure() | |
run: | | |
set -x | |
sudo journalctl -l --since today | |
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl -l" |