Skip to content

Commit

Permalink
Merge pull request #10 from pwalczysko/fix-build
Browse files Browse the repository at this point in the history
Initial set of changes to fix build
  • Loading branch information
jburel committed Jul 21, 2023
2 parents ac23eab + ee9309a commit 91ca5b7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,17 @@ jobs:
matrix:
scenario: ${{fromJson(needs.list-scenarios.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- uses: ome/action-ome-ansible-molecule@main
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
scenario: ${{ matrix.scenario }}
python-version: '3.8'
- name: Install Ansible & Molecule
run: |
pip install "ansible<8" "ansible-lint<6.13" flake8
pip install "molecule<5" "ansible-compat<4"
pip install molecule-plugins[docker] pytest-testinfra
- name: Run molecule
run: molecule test -s "${{ matrix.scenario }}"

publish:
name: Galaxy
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ galaxy_info:
- name: EL
versions:
- 7
namespace: ome
galaxy_tags: []
8 changes: 4 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
lint: |
yamllint .
ansible-lint
flake8
platforms:
- name: cadvisor
image: centos/systemd:latest
Expand All @@ -21,5 +23,3 @@ scenario:
name: default
verifier:
name: testinfra
lint:
name: flake8
2 changes: 1 addition & 1 deletion molecule/default/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
- name: Converge
hosts: all
roles:
- role: ansible-role-cadvisor
- role: ome.cadvisor

0 comments on commit 91ca5b7

Please sign in to comment.