Skip to content

Commit

Permalink
Update CI workflow and Python version
Browse files Browse the repository at this point in the history
* Update CI workflow and gitignore file

* Update Python version in devcontainer.json
  • Loading branch information
hspaans authored Dec 28, 2023
1 parent cf7ea71 commit b26c8f0
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:0-3.9",
"image": "mcr.microsoft.com/devcontainers/python:3.10",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/ansible:2": {},
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
push:
branches:
- master
schedule:
- cron: '30 5 18 * *'

jobs:
ansible-role-ci:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
## Python
.pytest_cache/
__pycache__/
*.py[cod]
*.py[codz]
*$py.class
pytestdebug.log
61 changes: 50 additions & 11 deletions molecule/debian/molecule.yml → molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,74 @@ platforms:
image: "ghcr.io/hspaans/molecule-container-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-container-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
pre_build_image: true

- name: debian-12
image: "ghcr.io/hspaans/molecule-container-debian:12"
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
pre_build_image: true

- name: fedora-38
image: "ghcr.io/hspaans/molecule-containers:fedora-38"
command: ""
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true

- name: fedora-39
image: "ghcr.io/hspaans/molecule-containers:fedora-39"
command: ""
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true

- name: ubuntu-20.04
image: "ghcr.io/hspaans/molecule-containers:ubuntu-20.04"
command: ""
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true

- name: ubuntu-22.04
image: "ghcr.io/hspaans/molecule-containers:ubuntu-22.04"
command: ""
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true

- name: ubuntu-24.04
image: "ghcr.io/hspaans/molecule-containers:ubuntu-24.04"
command: ""
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true

provisioner:
name: ansible
playbooks:
Expand Down
48 changes: 0 additions & 48 deletions molecule/ubuntu/molecule.yml

This file was deleted.

0 comments on commit b26c8f0

Please sign in to comment.