File tree Expand file tree Collapse file tree 10 files changed +88
-31
lines changed Expand file tree Collapse file tree 10 files changed +88
-31
lines changed Original file line number Diff line number Diff line change 44#
55exclude_paths:
66 - ./meta/version.yml
7- - ./meta/exception.yml
87 - ./meta/preferences.yml
98 - ./molecule/default/prepare.yml
109 - ./molecule/default/converge.yml
1110 - ./molecule/default/verify.yml
1211 - ./molecule/default/collections.yml
1312 - ./.tox
1413 - ./.cache
14+ - ./.github
15+ - ./requirements.yml
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-20.04
1414 steps :
1515 - name : galaxy
16- uses : buluma/galaxy-action@v1.0.3
16+ uses : buluma/galaxy-action@v6.25.22
1717 with :
1818 galaxy_api_key : ${{ secrets.galaxy_api_key }}
1919 git_branch : main
Original file line number Diff line number Diff line change 66name : Ansible Molecule
77
88on :
9- # Schedule updates (once daily )
9+ # Schedule updates (once weekly )
1010 schedule :
11- - cron : ' 39 20 * * * '
11+ - cron : ' 39 20 * * 20 '
1212 workflow_dispatch :
13- push : {branches: ["master", "main"]}
13+ push :
14+ branches :
15+ - master
16+ - main
17+ - testing
18+ paths-ignore :
19+ - ' **/README.md'
20+ - ' **/CHANGELOG.md'
1421
1522concurrency :
1623 group : ${{ github.ref }}-${{ github.workflow }}
@@ -41,17 +48,17 @@ jobs:
4148 - image : " amazonlinux"
4249 tag : " latest"
4350 - image : " enterpriselinux"
44- tag : " latest "
51+ tag : " 8 "
4552 - image : " debian-systemd"
4653 tag : " latest"
4754 - image : " debian-systemd"
48- tag : " bookworm"
49- - image : " fedora-systemd"
50- tag : " 34"
55+ tag : " buster"
5156 - image : " fedora-systemd"
5257 tag : " 35"
5358 - image : " fedora-systemd"
5459 tag : " latest"
60+ - image : " fedora-systemd"
61+ tag : " rawhide"
5562 - image : " docker-opensuse-systemd"
5663 tag : " latest"
5764 - image : " docker-ubuntu-systemd"
Original file line number Diff line number Diff line change 1212 - master
1313 - main
1414 - testing
15+ paths-ignore :
16+ - ' **/README.md'
17+ - ' **/CHANGELOG.md'
1518 # pull_request event is required only for autolabeler
1619 pull_request :
1720 # Only following types are handled by the action, but one can default to all as well
Original file line number Diff line number Diff line change 11---
2- image : " buluma/github-action-molecule:4 .0.9 "
2+ image : " buluma/github-action-molecule:5 .0.0 "
33
44# services:
55# - docker:dind
6+ #
7+ # variables:
8+ # DOCKER_HOST: "tcp://docker:2375"
9+ # PY_COLORS: 1
610
711variables :
8- # DOCKER_HOST: "tcp://docker:2375"
912 PY_COLORS : 1
1013
1114molecule :
12- stage : build
13- allow_failure : true
1415 script :
15- - image=${image} tag=${tag} molecule test
16+ - if [ -f tox.ini ] ; then tox ; fi
17+ - if [ ! -f tox.ini ] ; then molecule test ; fi
18+ rules :
19+ - if : $CI_COMMIT_REF_NAME == "main"
20+ retry : 1
1621 parallel :
1722 matrix :
1823 - image : " alpine-openrc"
1924 tag : " latest"
2025 - image : " amazonlinux"
2126 tag : " latest"
2227 - image : " enterpriselinux"
23- tag : " latest "
28+ tag : " 8 "
2429 - image : " debian-systemd"
2530 tag : " latest"
2631 - image : " debian-systemd"
27- tag : " bookworm"
28- - image : " fedora-systemd"
29- tag : " 34"
32+ tag : " buster"
3033 - image : " fedora-systemd"
3134 tag : " 35"
3235 - image : " fedora-systemd"
3336 tag : " latest"
37+ - image : " fedora-systemd"
38+ tag : " rawhide"
3439 - image : " docker-opensuse-systemd"
3540 tag : " latest"
3641 - image : " docker-ubuntu-systemd"
Original file line number Diff line number Diff line change 11---
2+ #
3+ # Ansible managed
4+ #
5+
26repos :
37 - repo : https://github.com/pre-commit/pre-commit-hooks
4- rev : v4.2 .0
8+ rev : v4.3 .0
59 hooks :
10+ - id : check-merge-conflict
11+ - id : check-yaml
12+ - id : end-of-file-fixer
613 - id : trailing-whitespace
714 - id : end-of-file-fixer
8- - id : check-added-large-files
9-
10- - repo : https://github.com/adrienverge/yamllint
11- rev : v1.26.3
12- hooks :
13- - id : yamllint
14- args : [-c=.yamllint]
15-
15+ - id : sort-simple-yaml
16+ - id : check-shebang-scripts-are-executable
17+ - id : detect-aws-credentials
1618 - repo : https://github.com/buluma/pre-commit
17- rev : v1.0.2
19+ rev : v1.0.3
1820 hooks :
1921 - id : ansible_role_find_unused_variable
2022 - id : ansible_role_find_empty_files
2123 - id : ansible_role_find_empty_directories
2224 - id : ansible_role_fix_readability
2325 - id : ansible_role_find_undefined_handlers
2426 - id : ansible_role_find_unquoted_values
27+ - id : ansible_role_find_horizontal_when
28+ - repo : https://github.com/adrienverge/yamllint
29+ rev : v1.28.0
30+ hooks :
31+ - id : yamllint
32+ args : [-c=.yamllint]
Original file line number Diff line number Diff line change 11
22 Apache License
3- Version 2.0, 05 2022
3+ Version 2.0, 11 2022
44 http://www.apache.org/licenses/
55
66 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Original file line number Diff line number Diff line change 22# defaults file for terraform
33
44# The version of Terraform to install.
5- terraform_version : " 1.0.11 "
5+ terraform_version : " 1.3.4 "
66
77# Where to place the binary.
88terraform_destination : /usr/local/bin
Original file line number Diff line number Diff line change @@ -31,3 +31,35 @@ provisioner:
3131 interpreter_python : auto_legacy_silent
3232verifier :
3333 name : ansible
34+ scenario :
35+ create_sequence :
36+ - create
37+ - prepare
38+ check_sequence :
39+ - cleanup
40+ - destroy
41+ - create
42+ - prepare
43+ - converge
44+ - check
45+ - destroy
46+ converge_sequence :
47+ - create
48+ - prepare
49+ - converge
50+ destroy_sequence :
51+ - cleanup
52+ - destroy
53+ test_sequence :
54+ - lint
55+ - cleanup
56+ - destroy
57+ - syntax
58+ - create
59+ - prepare
60+ - converge
61+ - idempotence
62+ - side_effect
63+ - verify
64+ - cleanup
65+ - destroy
Original file line number Diff line number Diff line change 33#
44[tox]
55minversion = 3.21.4
6- envlist = py{310}-ansible-{4,5}
6+ envlist = py{310}-ansible-{4,5,6 }
77
88skipsdist = true
99
1010[testenv]
1111deps =
1212 4: ansible == 4.*
1313 5: ansible == 5.*
14+ 6: ansible == 6.*
1415 molecule[docker]
1516 docker == 5.*
1617 ansible-lint == 5.*
You can’t perform that action at this time.
0 commit comments