Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024 Spring Maintenance #72

Merged
merged 5 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 22 additions & 21 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:3.10",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/ansible:2": {},
"ghcr.io/devcontainers-contrib/features/flake8:2": {},
"ghcr.io/devcontainers-contrib/features/yamllint:2": {}
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/ansible:2": {},
"ghcr.io/devcontainers-contrib/features/yamllint:2": {},
"ghcr.io/hspaans/devcontainer-features/ansible-lint:1": {},
"ghcr.io/hspaans/devcontainer-features/pytest:1": {},
"ghcr.io/hspaans/devcontainer-features/pymarkdownlnt:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"ms-python.autopep8",
"ms-python.flake8",
"redhat.ansible",
"redhat.vscode-yaml"
],
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8",
"editor.formatOnSave": true
},
"ansible.python.interpreterPath": "/usr/local/bin/python",
"python.formatting.provider": "none"
}
},
"postCreateCommand": "pip install -r requirements.txt"
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"ms-python.autopep8",
"ms-python.flake8",
"redhat.ansible",
"redhat.vscode-yaml"
],
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8",
"editor.formatOnSave": true
},
"ansible.python.interpreterPath": "/usr/local/bin/python",
"python.formatting.provider": "none"
}
}
}
15 changes: 14 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
---
version: 2
updates:
- package-ecosystem: devcontainers
directory: /.devcontainer/
schedule:
interval: monthly
groups:
devcontainers:
patterns:
- "*"

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
interval: monthly
groups:
github-actions:
patterns:
- "*"
4 changes: 2 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ galaxy_info:

license: MIT

min_ansible_version: 7.0.0
min_ansible_version: "2.17.0"

platforms:
- name: Debian
versions:
- buster
- bullseye
- bookworm
- name: Ubuntu
versions:
- focal
- jammy
- noble

galaxy_tags:
- mail
Expand Down
18 changes: 0 additions & 18 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,10 @@ lint: |
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
platforms:
- name: debian-10
image: "ghcr.io/hspaans/molecule-containers:debian-10"
command: ""
cgroupns_mode: host
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true

- name: debian-11
image: "ghcr.io/hspaans/molecule-containers:debian-11"
command: ""
cgroupns_mode: host
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
Expand All @@ -40,9 +25,6 @@ platforms:
image: "ghcr.io/hspaans/molecule-containers:debian-12"
command: ""
cgroupns_mode: host
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.