Skip to content

Commit 85050e7

Browse files
authored
Merge pull request #61 from cisagov/lineage/skeleton
⚠️ CONFLICT! Lineage pull request for: skeleton
2 parents aed64a7 + 67d1ed3 commit 85050e7

File tree

16 files changed

+297
-162
lines changed

16 files changed

+297
-162
lines changed

.config/molecule/config.yml

Lines changed: 56 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ dependency:
44
driver:
55
name: docker
66
platforms:
7-
- cgroupns_mode: host
7+
- &common_amd64_platform_config
8+
cgroupns_mode: host
89
command: /lib/systemd/systemd
910
image: docker.io/geerlingguy/docker-amazonlinux2023-ansible:latest
1011
name: amazonlinux2023-systemd-amd64
@@ -13,159 +14,92 @@ platforms:
1314
privileged: true
1415
volumes:
1516
- /sys/fs/cgroup:/sys/fs/cgroup:rw
16-
- cgroupns_mode: host
17-
command: /lib/systemd/systemd
18-
image: docker.io/geerlingguy/docker-amazonlinux2023-ansible:latest
17+
18+
- &common_arm64_platform_config
19+
<<: *common_amd64_platform_config
1920
name: amazonlinux2023-systemd-arm64
2021
platform: arm64
21-
pre_build_image: true
22-
privileged: true
23-
volumes:
24-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
25-
- cgroupns_mode: host
26-
command: /lib/systemd/systemd
22+
23+
- <<: *common_amd64_platform_config
24+
image: docker.io/geerlingguy/docker-debian10-ansible:latest
25+
name: debian10-systemd-amd64
26+
27+
- <<: *common_arm64_platform_config
28+
image: docker.io/geerlingguy/docker-debian10-ansible:latest
29+
name: debian10-systemd-arm64
30+
31+
- <<: *common_amd64_platform_config
2732
image: docker.io/geerlingguy/docker-debian11-ansible:latest
2833
name: debian11-systemd-amd64
29-
platform: amd64
30-
pre_build_image: true
31-
privileged: true
32-
volumes:
33-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
34-
- cgroupns_mode: host
35-
command: /lib/systemd/systemd
34+
35+
- <<: *common_arm64_platform_config
3636
image: docker.io/geerlingguy/docker-debian11-ansible:latest
3737
name: debian11-systemd-arm64
38-
platform: arm64
39-
pre_build_image: true
40-
privileged: true
41-
volumes:
42-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
43-
- cgroupns_mode: host
44-
command: /lib/systemd/systemd
38+
39+
- <<: *common_amd64_platform_config
4540
image: docker.io/geerlingguy/docker-debian12-ansible:latest
4641
name: debian12-systemd-amd64
47-
platform: amd64
48-
pre_build_image: true
49-
privileged: true
50-
volumes:
51-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
52-
- cgroupns_mode: host
53-
command: /lib/systemd/systemd
42+
43+
- <<: *common_arm64_platform_config
5444
image: docker.io/geerlingguy/docker-debian12-ansible:latest
5545
name: debian12-systemd-arm64
56-
platform: arm64
57-
pre_build_image: true
58-
privileged: true
59-
volumes:
60-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
61-
- cgroupns_mode: host
62-
command: /lib/systemd/systemd
63-
image: docker.io/cisagov/docker-debian13-ansible:latest
46+
47+
- <<: *common_amd64_platform_config
48+
image: docker.io/geerlingguy/docker-debian13-ansible:latest
6449
name: debian13-systemd-amd64
65-
platform: amd64
66-
pre_build_image: true
67-
privileged: true
68-
volumes:
69-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
70-
- cgroupns_mode: host
71-
command: /lib/systemd/systemd
72-
image: docker.io/cisagov/docker-debian13-ansible:latest
50+
51+
- <<: *common_arm64_platform_config
52+
image: docker.io/geerlingguy/docker-debian13-ansible:latest
7353
name: debian13-systemd-arm64
74-
platform: arm64
75-
pre_build_image: true
76-
privileged: true
77-
volumes:
78-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
79-
- cgroupns_mode: host
80-
command: /lib/systemd/systemd
54+
55+
- <<: *common_amd64_platform_config
56+
image: docker.io/cisagov/docker-debian14-ansible:latest
57+
name: debian14-systemd-amd64
58+
59+
- <<: *common_arm64_platform_config
60+
image: docker.io/cisagov/docker-debian14-ansible:latest
61+
name: debian14-systemd-arm64
62+
63+
- <<: *common_amd64_platform_config
8164
image: docker.io/cisagov/docker-kali-ansible:latest
8265
name: kali-systemd-amd64
83-
platform: amd64
84-
pre_build_image: true
85-
privileged: true
86-
volumes:
87-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
88-
- cgroupns_mode: host
89-
command: /lib/systemd/systemd
66+
67+
- <<: *common_arm64_platform_config
9068
image: docker.io/cisagov/docker-kali-ansible:latest
9169
name: kali-systemd-arm64
92-
platform: arm64
93-
pre_build_image: true
94-
privileged: true
95-
volumes:
96-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
97-
- cgroupns_mode: host
98-
command: /lib/systemd/systemd
70+
71+
- <<: *common_amd64_platform_config
9972
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
10073
name: fedora41-systemd-amd64
101-
platform: amd64
102-
pre_build_image: true
103-
privileged: true
104-
volumes:
105-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
106-
- cgroupns_mode: host
107-
command: /lib/systemd/systemd
74+
75+
- <<: *common_arm64_platform_config
10876
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
10977
name: fedora41-systemd-arm64
110-
platform: arm64
111-
pre_build_image: true
112-
privileged: true
113-
volumes:
114-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
115-
- cgroupns_mode: host
116-
command: /lib/systemd/systemd
78+
79+
- <<: *common_amd64_platform_config
11780
image: docker.io/geerlingguy/docker-fedora42-ansible:latest
11881
name: fedora42-systemd-amd64
119-
platform: amd64
120-
pre_build_image: true
121-
privileged: true
122-
volumes:
123-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
124-
- cgroupns_mode: host
125-
command: /lib/systemd/systemd
82+
83+
- <<: *common_arm64_platform_config
12684
image: docker.io/geerlingguy/docker-fedora42-ansible:latest
12785
name: fedora42-systemd-arm64
128-
platform: arm64
129-
pre_build_image: true
130-
privileged: true
131-
volumes:
132-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
133-
- cgroupns_mode: host
134-
command: /lib/systemd/systemd
86+
87+
- <<: *common_amd64_platform_config
13588
image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
13689
name: ubuntu-22-systemd-amd64
137-
platform: amd64
138-
pre_build_image: true
139-
privileged: true
140-
volumes:
141-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
142-
- cgroupns_mode: host
143-
command: /lib/systemd/systemd
90+
91+
- <<: *common_arm64_platform_config
14492
image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
14593
name: ubuntu-22-systemd-arm64
146-
platform: arm64
147-
pre_build_image: true
148-
privileged: true
149-
volumes:
150-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
151-
- cgroupns_mode: host
152-
command: /lib/systemd/systemd
94+
95+
- <<: *common_amd64_platform_config
15396
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
15497
name: ubuntu-24-systemd-amd64
155-
platform: amd64
156-
pre_build_image: true
157-
privileged: true
158-
volumes:
159-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
160-
- cgroupns_mode: host
161-
command: /lib/systemd/systemd
98+
99+
- <<: *common_arm64_platform_config
162100
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
163101
name: ubuntu-24-systemd-arm64
164-
platform: arm64
165-
pre_build_image: true
166-
privileged: true
167-
volumes:
168-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
102+
169103
provisioner:
170104
name: ansible
171105
config_options:

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ updates:
1212
- dependency-name: actions/cache
1313
- dependency-name: actions/checkout
1414
- dependency-name: actions/dependency-review-action
15+
- dependency-name: actions/labeler
1516
- dependency-name: actions/setup-go
1617
- dependency-name: actions/setup-python
1718
- dependency-name: cisagov/action-job-preamble
@@ -24,6 +25,12 @@ updates:
2425
# Managed by cisagov/skeleton-ansible-role
2526
- dependency-name: cisagov/action-disable-apparmor
2627
- dependency-name: docker/setup-buildx-action
28+
labels:
29+
# dependabot default we need to replicate
30+
- dependencies
31+
# This matches our label definition in .github/labels.yml as opposed to
32+
# dependabot's default of `github_actions`.
33+
- github-actions
2734
package-ecosystem: github-actions
2835
schedule:
2936
interval: weekly

.github/labeler.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
# Each entry in this file is a label that will be applied to pull requests
3+
# if there is a match based on the matching rules for the entry. Please see
4+
# the actions/labeler documentation for more information:
5+
# https://github.com/actions/labeler#match-object
6+
#
7+
# Note: Verify that the label you want to use is defined in the
8+
# crazy-max/ghaction-github-labeler configuration file located at
9+
# .github/labels.yml.
10+
11+
# Enable if Ansible playbooks are used in the repository.
12+
ansible:
13+
- changed-files:
14+
- any-glob-to-any-file:
15+
- defaults/**/*.yml
16+
- handlers/**/*.yml
17+
- meta/**/*.yml
18+
- tasks/**/*.yml
19+
- vars/**/*.yml
20+
dependencies:
21+
- changed-files:
22+
- any-glob-to-any-file:
23+
# Add any dependency files used.
24+
- .pre-commit-config.yaml
25+
- meta/**/*.yml
26+
- requirements*.txt
27+
# Enable if Docker is used in the repository.
28+
# docker:
29+
# - changed-files:
30+
# - any-glob-to-any-file:
31+
# - "**/compose*.yml"
32+
# - "**/docker-compose*.yml"
33+
# - "**/Dockerfile*"
34+
documentation:
35+
- changed-files:
36+
- any-glob-to-any-file:
37+
- "**/*.md"
38+
github-actions:
39+
- changed-files:
40+
- any-glob-to-any-file:
41+
- .github/workflows/**
42+
# Enable if Packer is used in the repository.
43+
# packer:
44+
# - changed-files:
45+
# - any-glob-to-any-file:
46+
# - "**/*.pkr.hcl"
47+
# Enable if Python is used in the repository.
48+
python:
49+
- changed-files:
50+
- any-glob-to-any-file:
51+
- "**/*.py"
52+
# Enable if Terraform is used in the repository.
53+
# terraform:
54+
# - changed-files:
55+
# - any-glob-to-any-file:
56+
# - "**/*.tf"
57+
test:
58+
- changed-files:
59+
- any-glob-to-any-file:
60+
# Add any test-related files or paths.
61+
- .ansible-lint
62+
- .bandit.yml
63+
- .config/molecule/config.yml
64+
- .flake8
65+
- .isort.cfg
66+
- .mdl_config.yaml
67+
- .yamllint
68+
- molecule/**
69+
upstream update:
70+
- head-branch:
71+
# Any Lineage pull requests should use this branch.
72+
- lineage/skeleton
73+
version bump:
74+
- changed-files:
75+
- any-glob-to-any-file:
76+
# Ensure this matches your version tracking file(s).
77+
- version.txt

.github/labels.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# Rather than breaking up descriptions into multiline strings we disable that
33
# specific rule in yamllint for this file.
44
# yamllint disable rule:line-length
5+
- color: f15a53
6+
description: Pull requests that update Ansible code
7+
name: ansible
58
- color: eb6420
69
description: This issue or pull request is awaiting the outcome of another issue or pull request
710
name: blocked
@@ -17,6 +20,9 @@
1720
- color: 0366d6
1821
description: Pull requests that update a dependency file
1922
name: dependencies
23+
- color: 2497ed
24+
description: Pull requests that update Docker code
25+
name: docker
2026
- color: 5319e7
2127
description: This issue or pull request improves or adds to documentation
2228
name: documentation
@@ -50,12 +56,21 @@
5056
- color: fcdb45
5157
description: This pull request is awaiting an action or decision to move forward
5258
name: on hold
59+
- color: 02a8ef
60+
description: Pull requests that update Packer code
61+
name: packer
62+
- color: 3772a4
63+
description: Pull requests that update Python code
64+
name: python
5365
- color: ef476c
5466
description: This issue is a request for information or needs discussion
5567
name: question
5668
- color: d73a4a
5769
description: This issue or pull request addresses a security issue
5870
name: security
71+
- color: 7b42bc
72+
description: Pull requests that update Terraform code
73+
name: terraform
5974
- color: 00008b
6075
description: This issue or pull request adds or otherwise modifies test code
6176
name: test

0 commit comments

Comments
 (0)