-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: configurable logfile * Bump: php-version in molecule * bump: update testcontainer * updaet molecule * pip * mol action * add_namespace * mole 3 * mole4 * assert * Aktualisierung der Molekülkonfiguration * Hinzufügen von pytest in prepare.yml * Hinzufügen von pytest und python3-pip in prepare.yml * Entfernen von pytest und python3-pip in prepare.yml * Aktualisierung der Molekülkonfiguration: Deaktiviere die 'verify'-Schritt in molecule.yml
- Loading branch information
1 parent
9e365e4
commit 7ae6b7a
Showing
7 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,10 +33,29 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3.0.2 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: "${{ github.repository }}" | ||
- name: molecule | ||
uses: robertdebock/[email protected] | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v5 | ||
with: | ||
image: ubuntu | ||
python-version: '3.x' | ||
|
||
- name: run molecule | ||
uses: gofrolist/molecule-action@v2 | ||
|
||
# - name: Install test dependencies. | ||
# run: pip3 install ansible molecule molecule-plugins[docker] docker | ||
|
||
# - name: Run Molecule tests. | ||
# run: molecule test | ||
# env: | ||
# PY_COLORS: '1' | ||
# ANSIBLE_FORCE_COLOR: '1' | ||
# MOLECULE_DISTRO: ubuntu2204 | ||
# # - name: molecule | ||
|
||
# uses: robertdebock/[email protected] | ||
# with: | ||
# image: ubuntu |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
--- | ||
dependency: | ||
name: galaxy | ||
options: | ||
ignore-errors: true | ||
driver: | ||
name: docker | ||
lint: | | ||
set -e | ||
yamllint . | ||
platforms: | ||
- name: instance | ||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu1804}-ansible:latest" | ||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest" | ||
command: ${MOLECULE_DOCKER_COMMAND:-""} | ||
volumes: | ||
- /sys/fs/cgroup:/sys/fs/cgroup:ro | ||
cgroupns_mode: host | ||
privileged: true | ||
pre_build_image: true | ||
provisioner: | ||
name: ansible | ||
lint: | ||
name: ansible-lint | ||
playbooks: | ||
prepare: prepare.yml | ||
converge: converge.yml | ||
# lint: | ||
# name: ansible-lint | ||
verifier: | ||
name: testinfra | ||
lint: | ||
name: flake8 | ||
options: | ||
s: true | ||
scenario: | ||
name: default | ||
test_sequence: | ||
- lint | ||
- destroy | ||
- dependency | ||
- syntax | ||
- create | ||
- prepare | ||
- converge | ||
- verify | ||
# - verify | ||
- cleanup | ||
- destroy |
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
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
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