Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4d88c8b
Add a configuration block for pre-commit.ci
mcdonnnj May 28, 2025
3b58427
Use a version tag for cisagov/setup-env-github-action
mcdonnnj May 15, 2025
787a5a4
Use @geerlingguy's Trixie Docker image
jsf9k Aug 18, 2025
d7ea385
Add Debian Forky to Molecule/GH Actions testing
jsf9k Aug 18, 2025
3fd56b5
Fix default file in the Docker image update script
mcdonnnj Aug 20, 2025
3ebe067
Use a variable to store the default Molecule file
mcdonnnj Aug 20, 2025
f891704
Add a configuration to automatically label pull requests
mcdonnnj Aug 28, 2025
0aba281
Bump actions/labeler from 5 to 6
mcdonnnj Sep 8, 2025
507fe98
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 8, 2025
428ab61
Bump actions/setup-go from 5 to 6
dependabot[bot] Sep 8, 2025
623a983
Adjust the labels dependabot uses
mcdonnnj Sep 8, 2025
03065cd
Adjust GNU getopt check logic in the `setup-env` script
mcdonnnj Sep 16, 2025
dd78561
Merge pull request #212 from cisagov/improvement/use_tag_not_branch
mcdonnnj Sep 17, 2025
c2a8218
Merge pull request #216 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 17, 2025
4f7398e
Merge pull request #217 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 17, 2025
4d30d44
Merge pull request #213 from cisagov/improvement/add_ci_config_to_pre…
mcdonnnj Sep 17, 2025
deb2480
Merge pull request #215 from cisagov/improvement/add_pr_auto_labelling
mcdonnnj Sep 17, 2025
ad43910
Merge pull request #218 from cisagov/improvement/adjust_dependabot_la…
mcdonnnj Sep 17, 2025
b45b24c
Merge pull request #221 from cisagov/improvement/adjust_gnu_getopt_ch…
mcdonnnj Sep 17, 2025
c7e1ce8
Bump actions/checkout from 4 to 5
dependabot[bot] Sep 17, 2025
a27070a
Merge pull request #214 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 17, 2025
d070095
Update pre-commit hook versions
mcdonnnj May 4, 2025
ee20b2a
Conform to new markdownlint rule
mcdonnnj Aug 29, 2025
5bde44c
Bump version from 0.0.1-rc.1 to 1.0.0
mcdonnnj Sep 17, 2025
37010e5
Merge pull request #220 from cisagov/maintenance/update_pre-commit_hooks
mcdonnnj Sep 17, 2025
15f3b1f
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Sep 18, 2025
6c03354
Update actions/checkout to v5
jsf9k Sep 18, 2025
bb97e2c
Update actions/setup-python to v6
jsf9k Sep 18, 2025
b27ae5c
Use the v1 tag for setup-env-github-action as is done upstream
jsf9k Sep 18, 2025
db25b4e
Add ansible label configuration
jsf9k Sep 18, 2025
354dc08
Add python label configuration
jsf9k Sep 18, 2025
2bd9447
Add Molecule tests as trigger for test label
jsf9k Sep 18, 2025
c9d93a9
Allow changes to files in meta dir to trigger the dependencies label
jsf9k Sep 19, 2025
47096f2
Add ansible label
jsf9k Sep 19, 2025
eb05bc1
Add python label
jsf9k Sep 19, 2025
2c67d97
Merge pull request #235 from cisagov/improvement/use-geerlingguy-imag…
jsf9k Sep 19, 2025
eb79012
Merge pull request #236 from cisagov/improvement/add-debian-forky
jsf9k Sep 19, 2025
ccb48e1
Merge pull request #238 from cisagov/bug/fix_update_helper_script
jsf9k Sep 19, 2025
c034776
Use YAML anchors to simplify Molecule config
jsf9k Aug 20, 2025
b2cc855
Merge pull request #237 from cisagov/improvement/use-anchors-in-molec…
jsf9k Sep 19, 2025
760c689
Merge remote-tracking branch 'origin/develop' into lineage/skeleton
jsf9k Sep 19, 2025
3260b69
Merge pull request #239 from cisagov/lineage/skeleton
jsf9k Sep 19, 2025
d18e90b
Add additional repository labels
mcdonnnj Sep 19, 2025
e875abf
Add auto-label configuration for the `docker` label
mcdonnnj Sep 22, 2025
e447508
Merge pull request #222 from cisagov/improvement/expand_available_labels
jsf9k Sep 22, 2025
f922355
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Sep 26, 2025
a069895
Merge pull request #240 from cisagov/lineage/skeleton
jsf9k Sep 26, 2025
99d7bf2
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Sep 26, 2025
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
188 changes: 52 additions & 136 deletions .config/molecule/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ dependency:
driver:
name: docker
platforms:
- cgroupns_mode: host
- &common_amd64_platform_config
cgroupns_mode: host
command: /lib/systemd/systemd
image: docker.io/geerlingguy/docker-amazonlinux2023-ansible:latest
name: amazonlinux2023-systemd-amd64
Expand All @@ -13,177 +14,92 @@ platforms:
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd
image: docker.io/geerlingguy/docker-amazonlinux2023-ansible:latest

- &common_arm64_platform_config
<<: *common_amd64_platform_config
name: amazonlinux2023-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-debian10-ansible:latest
name: debian10-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-debian10-ansible:latest
name: debian10-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-debian11-ansible:latest
name: debian11-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-debian11-ansible:latest
name: debian11-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-debian12-ansible:latest
name: debian12-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-debian12-ansible:latest
name: debian12-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd
image: docker.io/cisagov/docker-debian13-ansible:latest

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-debian13-ansible:latest
name: debian13-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd
image: docker.io/cisagov/docker-debian13-ansible:latest

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-debian13-ansible:latest
name: debian13-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/cisagov/docker-debian14-ansible:latest
name: debian14-systemd-amd64

- <<: *common_arm64_platform_config
image: docker.io/cisagov/docker-debian14-ansible:latest
name: debian14-systemd-arm64

- <<: *common_amd64_platform_config
image: docker.io/cisagov/docker-kali-ansible:latest
name: kali-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/cisagov/docker-kali-ansible:latest
name: kali-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
name: fedora41-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-fedora41-ansible:latest
name: fedora41-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-fedora42-ansible:latest
name: fedora42-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-fedora42-ansible:latest
name: fedora42-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
name: ubuntu-22-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-ubuntu2204-ansible:latest
name: ubuntu-22-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_amd64_platform_config
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
name: ubuntu-24-systemd-amd64
platform: amd64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- cgroupns_mode: host
command: /lib/systemd/systemd

- <<: *common_arm64_platform_config
image: docker.io/geerlingguy/docker-ubuntu2404-ansible:latest
name: ubuntu-24-systemd-arm64
platform: arm64
pre_build_image: true
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw

provisioner:
name: ansible
config_options:
Expand Down
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ updates:
- dependency-name: actions/cache
- dependency-name: actions/checkout
- dependency-name: actions/dependency-review-action
- dependency-name: actions/labeler
- dependency-name: actions/setup-go
- dependency-name: actions/setup-python
- dependency-name: cisagov/action-job-preamble
Expand All @@ -26,6 +27,12 @@ updates:
- dependency-name: docker/setup-buildx-action
# # Managed by cisagov/skeleton-ansible-role-with-test-user
# - dependency-name: aws-actions/configure-aws-credentials
labels:
# dependabot default we need to replicate
- dependencies
# This matches our label definition in .github/labels.yml as opposed to
# dependabot's default of `github_actions`.
- github-actions
package-ecosystem: github-actions
schedule:
interval: weekly
Expand Down
77 changes: 77 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
# Each entry in this file is a label that will be applied to pull requests
# if there is a match based on the matching rules for the entry. Please see
# the actions/labeler documentation for more information:
# https://github.com/actions/labeler#match-object
#
# Note: Verify that the label you want to use is defined in the
# crazy-max/ghaction-github-labeler configuration file located at
# .github/labels.yml.

# Enable if Ansible playbooks are used in the repository.
ansible:
- changed-files:
- any-glob-to-any-file:
- defaults/**/*.yml
- handlers/**/*.yml
- meta/**/*.yml
- tasks/**/*.yml
- vars/**/*.yml
dependencies:
- changed-files:
- any-glob-to-any-file:
# Add any dependency files used.
- .pre-commit-config.yaml
- meta/**/*.yml
- requirements*.txt
# Enable if Docker is used in the repository.
# docker:
# - changed-files:
# - any-glob-to-any-file:
# - "**/compose*.yml"
# - "**/docker-compose*.yml"
# - "**/Dockerfile*"
documentation:
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
github-actions:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**
# Enable if Packer is used in the repository.
# packer:
# - changed-files:
# - any-glob-to-any-file:
# - "**/*.pkr.hcl"
# Enable if Python is used in the repository.
python:
- changed-files:
- any-glob-to-any-file:
- "**/*.py"
# Enable if Terraform is used in the repository.
# terraform:
# - changed-files:
# - any-glob-to-any-file:
# - "**/*.tf"
test:
- changed-files:
- any-glob-to-any-file:
# Add any test-related files or paths.
- .ansible-lint
- .bandit.yml
- .config/molecule/config.yml
- .flake8
- .isort.cfg
- .mdl_config.yaml
- .yamllint
- molecule/**
upstream update:
- head-branch:
# Any Lineage pull requests should use this branch.
- lineage/skeleton
version bump:
- changed-files:
- any-glob-to-any-file:
# Ensure this matches your version tracking file(s).
- version.txt
12 changes: 12 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# Rather than breaking up descriptions into multiline strings we disable that
# specific rule in yamllint for this file.
# yamllint disable rule:line-length
- color: f15a53
description: Pull requests that update Ansible code
name: ansible
- color: eb6420
description: This issue or pull request is awaiting the outcome of another issue or pull request
name: blocked
Expand All @@ -17,6 +20,9 @@
- color: 0366d6
description: Pull requests that update a dependency file
name: dependencies
- color: 2497ed
description: Pull requests that update Docker code
name: docker
- color: 5319e7
description: This issue or pull request improves or adds to documentation
name: documentation
Expand Down Expand Up @@ -50,6 +56,12 @@
- color: fcdb45
description: This pull request is awaiting an action or decision to move forward
name: on hold
- color: 02a8ef
description: Pull requests that update Packer code
name: packer
- color: 3772a4
description: Pull requests that update Python code
name: python
- color: ef476c
description: This issue is a request for information or needs discussion
name: question
Expand Down
Loading
Loading