Skip to content

Commit

Permalink
Add demo playbook and requirements file from private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalczysko committed Nov 13, 2024
1 parent adc782f commit 3b5fcf0
Show file tree
Hide file tree
Showing 395 changed files with 14,071 additions and 1,206 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,33 @@ on:
jobs:

list-scenarios:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.listscenarios.outputs.scenarios }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: listscenarios
uses: ome/action-ansible-molecule-list-scenarios@main

test:
name: Test
needs:
- list-scenarios
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
# Keep running so we can see if other tests pass
fail-fast: false
matrix:
scenario: ${{fromJson(needs.list-scenarios.outputs.matrix)}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'
- 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
pip3.8 install jmespath
- name: Run molecule
run: molecule test -s "${{ matrix.scenario }}"
22 changes: 0 additions & 22 deletions molecule/docker-prod/Dockerfile.j2

This file was deleted.

19 changes: 0 additions & 19 deletions molecule/docker-prod/converge.yml

This file was deleted.

56 changes: 0 additions & 56 deletions molecule/docker-prod/molecule.yml

This file was deleted.

22 changes: 0 additions & 22 deletions molecule/docker-prod/prepare.yml

This file was deleted.

39 changes: 0 additions & 39 deletions molecule/docker-prod/tests/test_default.py

This file was deleted.

58 changes: 0 additions & 58 deletions molecule/nightshade-webclients/molecule.yml

This file was deleted.

40 changes: 0 additions & 40 deletions molecule/nightshade-webclients/tests/test_default.py

This file was deleted.

6 changes: 3 additions & 3 deletions molecule/ome-demoserver/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ lint: |
flake8
platforms:
- name: ome-demoserver
image: centos:7
image: eniocarboni/docker-rockylinux-systemd:9
groups:
- ome-demoservers
provisioner:
name: ansible
playbooks:
converge: ../../site.yml
converge: ../../omero/ome-demoserver.yml
lint:
name: ansible-lint
scenario:
name: ome-demoserver
test_sequence:
- dependency
- destroy
# dependency must come first so that ansible-lint will see a custom module
# This might be fixed by https://github.com/ansible/molecule/pull/1739
- dependency
- lint
- syntax
verifier:
name: testinfra
22 changes: 0 additions & 22 deletions molecule/ome-dundeeomero/Dockerfile.j2

This file was deleted.

Loading

0 comments on commit 3b5fcf0

Please sign in to comment.