Skip to content

Commit c5b7ee8

Browse files
authored
Merge branch 'main' into feat-dedibox-inventory
2 parents 0805e63 + 0e2a7e6 commit c5b7ee8

File tree

13 files changed

+311
-301
lines changed

13 files changed

+311
-301
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ansible-lint
2+
on:
3+
pull_request:
4+
jobs:
5+
build:
6+
name: Ansible Lint # Naming the build is important to use it as a status check
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Run ansible-lint
11+
uses: ansible/ansible-lint@main
12+
# optional (see below):
13+
with:
14+
args: ""
15+
setup_python: "true"
16+
working_directory: ""
17+
requirements_file: ""

.github/workflows/ansible-test-integration.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
name: integration
1+
name: Nightly integration tests
22

33
on:
4-
pull_request:
5-
push:
6-
branches:
7-
- main
8-
# schedule:
9-
# - cron: "0 6 * * *"
10-
workflow_dispatch:
4+
schedule:
5+
# Will run at 00:00 every day
6+
- cron: "0 0 * * *"
117

128
jobs:
139
integration:
@@ -89,7 +85,6 @@ jobs:
8985
eval
9086
"echo \"$(cat "tests/integration/integration_config.yml.template")\""
9187
> tests/integration/integration_config.yml
92-
target-python-version: 3.9
9388
controller-python-version: auto
9489
target: ${{ matrix.module }}
9590
testing-type: integration
Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# We only support ansible-core versions that are not EOL
2+
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html
3+
14
name: sanity
25

36
on:
@@ -10,40 +13,22 @@ on:
1013
workflow_dispatch:
1114

1215
jobs:
13-
sanity_29:
14-
timeout-minutes: 60
15-
name: Sanity (Ⓐ$${{ matrix.ansible }})
16-
strategy:
17-
matrix:
18-
ansible:
19-
- stable-2.9
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Perform testing
23-
uses: ansible-community/ansible-test-gh-action@release/v1
24-
with:
25-
ansible-core-version: ${{ matrix.ansible }}
26-
origin-python-version: 3.8
27-
target-python-version: 3.8
28-
testing-type: sanity
29-
3016
sanity:
3117
timeout-minutes: 30
3218
name: Sanity (Ⓐ$${{ matrix.ansible }})
3319
strategy:
3420
matrix:
3521
ansible:
36-
- stable-2.10
37-
- stable-2.11
38-
- stable-2.12
39-
- stable-2.13
40-
- devel
22+
- stable-2.16
23+
- stable-2.17
24+
- stable-2.18
25+
- devel
4126
runs-on: ubuntu-latest
4227
steps:
4328
- name: Perform testing
4429
uses: ansible-community/ansible-test-gh-action@release/v1
4530
with:
4631
ansible-core-version: ${{ matrix.ansible }}
47-
origin-python-version: 3.9
48-
target-python-version: 3.9
32+
origin-python-version: 3.11
33+
target-python-version: 3.11
4934
testing-type: sanity

.github/workflows/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: github-actions
9+
directory: /
10+
schedule:
11+
interval: monthly
12+
13+
- package-ecosystem: pip
14+
directory: /
15+
schedule:
16+
interval: monthly

0 commit comments

Comments
 (0)