Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
434 commits
Select commit Hold shift + click to select a range
1f09791
Merge pull request #199 from cisagov/improvement/bump_artifact_action…
mcdonnnj Dec 6, 2024
ea0bf84
Merge pull request #201 from cisagov/improvement/update_bump_version_…
mcdonnnj Dec 6, 2024
71198d3
Merge pull request #196 from cisagov/lineage/skeleton
mcdonnnj Dec 6, 2024
03e668f
Change the format of the version tracking file
mcdonnnj Dec 6, 2024
414efb4
DRY out getting the project version in tests
mcdonnnj Dec 6, 2024
7d4071d
Merge pull request #203 from cisagov/improvement/change_version_file_…
mcdonnnj Dec 6, 2024
b6b0b7c
Use the full identifier for source Docker images
mcdonnnj Feb 2, 2024
3b7a9cc
Install cisagov/skeleton-python-library directly
mcdonnnj Feb 20, 2024
db19706
Use a specific version of Alpine Linux
mcdonnnj Feb 13, 2024
9e6eef2
Remove unused OS package dependencies
mcdonnnj Feb 20, 2024
f419d35
Merge pull request #187 from cisagov/improvement/use_full_image_source
mcdonnnj Feb 20, 2024
c516e44
Remove package upgrading
mcdonnnj Feb 20, 2024
460eeec
Change the secret message being checks in tests
mcdonnnj Feb 20, 2024
001e85e
Pin Python packages directly installed
mcdonnnj Feb 20, 2024
e708211
Merge pull request #188 from cisagov/improvement/install_skeleton-pyt…
mcdonnnj Feb 21, 2024
48fa1a5
Prefer calling pip as a module
mcdonnnj Feb 26, 2024
e6f5798
Move WORKDIR instruction
mcdonnnj Feb 23, 2024
95d4a7a
Use a Python virtual environment in the Docker image
mcdonnnj Feb 26, 2024
43bf47b
Merge pull request #189 from cisagov/improvement/make_builds_more_rep…
mcdonnnj Feb 26, 2024
79a4adf
Add a pipenv configuration
mcdonnnj Feb 27, 2024
d3895ef
Explain `ln` options being used
mcdonnnj Feb 27, 2024
6b869bb
Install Python dependencies using pipenv
mcdonnnj Feb 28, 2024
30f6fa9
Merge pull request #190 from cisagov/improvement/use_Python_venv
mcdonnnj Feb 27, 2024
5cbb75b
Use a multi-stage Docker build
mcdonnnj Feb 28, 2024
5dca6d9
Install core Python packages into the system Python environment
mcdonnnj Feb 28, 2024
79d8de9
Fix outdated comment in the Dockerfile
mcdonnnj Feb 28, 2024
440ba70
Fix typo in Dockerfile comment
mcdonnnj Feb 28, 2024
78f4f78
Update image tag information in the README
mcdonnnj Feb 29, 2024
1774267
Add instructions for managing Python dependencies
mcdonnnj Feb 29, 2024
704b76f
Merge pull request #191 from cisagov/improvement/pin_Python_configura…
mcdonnnj Feb 28, 2024
11f8e08
Merge pull request #192 from cisagov/improvement/update_readme
mcdonnnj Mar 4, 2024
af716cc
Bump setuptools from 69.1.0 to 69.1.1
mcdonnnj Feb 28, 2024
a65ebdc
Bump Python from 3.12.0 to 3.12.2
mcdonnnj Feb 28, 2024
5d52367
Bump Alpine Linux from 3.18 to 3.19
mcdonnnj Feb 28, 2024
56afca0
Bump cisagov/skeleton-python-library from 0.0.1 to 0.2.0
mcdonnnj Feb 28, 2024
ae0d4a8
Bump version from 0.0.1 to 0.2.0
mcdonnnj Mar 4, 2024
95e533b
Merge pull request #193 from cisagov/improvement/update_dependencies
mcdonnnj Mar 5, 2024
965da2c
Correct usage of the term "symlink"
mcdonnnj Mar 13, 2024
570b7d5
Bump python from 3.12.2-alpine3.19 to 3.13.1-alpine3.20
mcdonnnj Nov 23, 2024
b3c5df5
Bump Python packages installed in the Dockerfile
mcdonnnj Nov 23, 2024
c09b352
Update Python virtual environment dependencies
mcdonnnj Nov 23, 2024
192d9e6
Merge pull request #200 from cisagov/improvement/update_dependencies
mcdonnnj Dec 6, 2024
a1ece8f
Add a missing Oxford comma to a comment in the Dockerfile
mcdonnnj Dec 6, 2024
fd69f45
Ensure FROM/AS keywords use the same casing
mcdonnnj Dec 6, 2024
0d48ebd
Merge pull request #195 from cisagov/improvement/update_Dockerfile_co…
mcdonnnj Dec 6, 2024
59c6cfc
Ensure the `bump-version` script can bump prereleases
mcdonnnj Jan 5, 2025
bb998dd
Stop using an environment variable to store platforms
mcdonnnj Jan 5, 2025
f26b47c
Merge pull request #205 from cisagov/bugfix/allow_bump-version_to_bum…
mcdonnnj Jan 12, 2025
04f09e0
Merge pull request #206 from cisagov/improvement/stop_storing_platfor…
mcdonnnj Jan 12, 2025
ec3b18e
Use the docker/metadata-action Action to generate metadata
mcdonnnj Jan 8, 2025
5698c17
Only check the version label on releases
mcdonnnj Jan 10, 2025
7a5cddf
Merge pull request #207 from cisagov/improvement/use_metadata-action
mcdonnnj Jan 12, 2025
05fed52
Add a comment explaining why we require semver>=3
jsf9k Jan 15, 2025
ddd449a
Make wording in note more precise
jsf9k Jan 15, 2025
d9688b3
Add missing word in comment
jsf9k Jan 15, 2025
77aad83
Remove functionality to create special buildx Dockerfile
mcdonnnj Feb 1, 2025
4890bf8
Remove the `version` property
mcdonnnj Jan 31, 2025
72783dd
Add a `name` property
mcdonnnj Jan 31, 2025
55f898f
Sort Compose file keys
mcdonnnj Jan 31, 2025
9513ebc
Force string typing for a Compose value
mcdonnnj Feb 1, 2025
7c0da35
Rename Docker Compose file
mcdonnnj Feb 1, 2025
e42ea25
Merge pull request #209 from cisagov/documentation/improve-wording
mcdonnnj Feb 7, 2025
dfbbe4c
Merge pull request #210 from cisagov/improvement/update_compose_file_…
mcdonnnj Feb 7, 2025
dfeb249
Merge pull request #211 from cisagov/improvement/remove_buildx_scripting
mcdonnnj Feb 7, 2025
eafe720
Merge pull request #208 from cisagov/documentation/add-comment-for-se…
mcdonnnj Feb 7, 2025
c3cf7b4
Use a GitHub Action to update the Docker Hub description
mcdonnnj Feb 10, 2025
6c655fc
Limit when the Docker Hub description is updated
mcdonnnj Feb 10, 2025
797859d
Merge pull request #213 from cisagov/improvement/use_action_for_docke…
mcdonnnj Feb 11, 2025
05c413a
Correct input to peter-evans/dockerhub-description Action
mcdonnnj Feb 11, 2025
9ad5df4
Merge pull request #214 from cisagov/bug/fix_action_input
mcdonnnj Feb 11, 2025
058ed0f
Bump Alpine Linux from 3.20 to 3.21
mcdonnnj Feb 11, 2025
c5a0325
Bump Python from 3.12.1 to 3.12.2
mcdonnnj Feb 11, 2025
228f06a
Update Dockerfile Python dependencies
mcdonnnj Feb 11, 2025
99bb46d
Update Python virtual environment dependencies
mcdonnnj Feb 11, 2025
e8ec18b
Merge pull request #215 from cisagov/maintenance/update_image_depende…
mcdonnnj Feb 11, 2025
e51d105
Use semver to parse the log version in testing
mcdonnnj Feb 15, 2025
0a2e987
Merge pull request #216 from cisagov/improvement/use_semver_for_versi…
mcdonnnj Feb 18, 2025
2200891
Use docker/build-push-action default behavior
mcdonnnj Feb 19, 2025
9f30d47
Add a missing ignore directive for prettier
mcdonnnj Feb 20, 2025
f85efbb
Merge pull request #217 from cisagov/improvement/streamline_image_bui…
mcdonnnj Feb 20, 2025
7320dad
Merge pull request #218 from cisagov/bug/add_missing_ignore
mcdonnnj Feb 20, 2025
03933fe
Add version file and bump_version script
jsf9k Mar 10, 2025
3401551
Bump version from 0.0.1 to 0.0.1-rc.1
jsf9k Mar 10, 2025
5b5a526
Update pre-commit hook versions
mcdonnnj Feb 21, 2025
e0f5911
Merge pull request #198 from cisagov/improvement/fix-spelling-error-i…
jsf9k Mar 27, 2025
b35dec3
Merge pull request #200 from cisagov/improvement/update_yamllint_rules
jsf9k Mar 27, 2025
da028ea
Apply our standard job preamble via cisagov/action-job-preamble
jsf9k Feb 21, 2025
0e93632
Set actions_permissions_config input
jsf9k Feb 21, 2025
8b2ac55
Add a friendly name to the cisagov/action-job-preamble steps
jsf9k Feb 21, 2025
864b5af
Add a Dependabot ignore directive for cisagov/action-job-preamble
jsf9k Feb 22, 2025
8cdce2a
Update input name for cisagov/action-job-preamble
jsf9k Feb 23, 2025
17b93ec
Remove two Dependabot ignore directives
jsf9k Feb 23, 2025
6a9e331
Use cisagov/action-job-preamble in sync-labels.yml workflow
jsf9k Feb 23, 2025
b5b3b9d
Use v1 tag of cisagov/action-job-preamble
jsf9k Feb 23, 2025
3ec1b1f
Re-add comment explaining where the org var comes from
jsf9k Feb 24, 2025
764df0c
Flesh out org var comment even more
jsf9k Feb 25, 2025
c271b40
Subsume GH status checks and context dumping into cisagov/action-job-…
jsf9k Mar 26, 2025
f35dcbc
Merge pull request #201 from cisagov/improvement/use-job-preamble-action
jsf9k Mar 27, 2025
c4b192b
Add a CodeQL workflow to this repository
jsf9k Mar 2, 2025
0032cc2
Update comment to match what is in cisagov/skeleton-docker
jsf9k Mar 3, 2025
0534337
Use cisagov/action-job-preamble
jsf9k Mar 4, 2025
adea10c
Add the CodeQL action to the Dependabot configuration
jsf9k Mar 4, 2025
5dfe5df
Use cisagov/action-job-preamble instead of separate actions
jsf9k Mar 27, 2025
d740ee8
Add a workflow to run actions/dependency-review-action
jsf9k Mar 2, 2025
a446dde
Use cisagov/action-job-preamble
jsf9k Mar 4, 2025
494e116
Add the dependency review action to the Dependabot configuration
jsf9k Mar 4, 2025
3679b7d
Use cisagov/action-job-preamble instead of separate actions
jsf9k Mar 27, 2025
dad12c0
Merge pull request #202 from cisagov/feature/add-gh-actions-codeql-an…
jsf9k Mar 27, 2025
3e6e3bc
Merge pull request #203 from cisagov/feature/add-dependency-review-ac…
jsf9k Mar 27, 2025
4b2bc42
Merge pull request #204 from cisagov/feature/version-all-the-things
jsf9k Mar 27, 2025
ca757aa
Merge pull request #205 from cisagov/maintenance/update_pre-commit_hooks
jsf9k Mar 27, 2025
028f652
Do not disable GitHub permissions monitoring by default
jsf9k Mar 27, 2025
d289ef3
Merge pull request #206 from cisagov/improvement/do-not-disable-perms…
mcdonnnj Mar 27, 2025
82849b2
Merge github.com:cisagov/skeleton-generic into lineage/skeleton
mcdonnnj Apr 1, 2025
3497eb9
Enable new dependabot ignore directives
mcdonnnj Apr 1, 2025
868f2c0
Removed duplicate dependabot ignore directive
mcdonnnj Apr 1, 2025
9c9f8e1
Update to comply with the new yamllint rules
mcdonnnj Apr 1, 2025
54c682c
Use cisagov/action-job-preamble in all jobs
mcdonnnj Apr 1, 2025
b71d299
Do not monitor action permissions in the `build-push-all` job
mcdonnnj Apr 1, 2025
2838726
Merge pull request #221 from cisagov/lineage/skeleton
mcdonnnj Apr 8, 2025
9539369
Move the Docker Hub description update to its own job
mcdonnnj Mar 13, 2025
830e704
Let docker/build-push-action handle caching
mcdonnnj Apr 2, 2025
ab19c81
Explain why we use a specific setting for an action
mcdonnnj Apr 2, 2025
4f1c063
Merge pull request #220 from cisagov/improvement/break_out_update_doc…
mcdonnnj Apr 8, 2025
0738f43
Merge pull request #222 from cisagov/improvement/use_gha_cache_direct…
mcdonnnj Apr 8, 2025
65f9c30
Disable GH permissions monitoring everywhere
jsf9k Apr 8, 2025
2cfc534
Fix typo that was copied and pasted all over the show
jsf9k Apr 8, 2025
ed8fadd
Merge pull request #208 from cisagov/improvement/disable-permissions-…
jsf9k Apr 8, 2025
c8c4287
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Apr 8, 2025
9b6cbab
Disable GH permissions monitoring in build.yml workflow
jsf9k Apr 8, 2025
ecb9128
Make use of cisagov/action-job-preamble
jsf9k Apr 8, 2025
e0bf157
Fix typo
jsf9k Apr 9, 2025
9264d9a
Merge pull request #209 from cisagov/improvement/fix-typo
jsf9k Apr 9, 2025
229731e
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Apr 9, 2025
3a201d4
Merge pull request #223 from cisagov/lineage/skeleton
mcdonnnj Apr 10, 2025
ab35954
Upgrade to the latest version of the ansible-lint pre-commit hook
jsf9k May 7, 2025
d2d8236
Merge pull request #210 from cisagov/improvement/upgrade-to-latest-an…
jsf9k May 27, 2025
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
b2aa89c
Bump python from 3.13.2-alpine3.21 to 3.13.5-alpine3.22
mcdonnnj May 7, 2025
0858b07
Update Python package dependencies in the Dockerfile
mcdonnnj May 7, 2025
641bab8
Bump cisagov/skeleton-python-library from 0.2.0 to 0.2.2
mcdonnnj Jun 1, 2025
14d235c
Update Python virtual environment dependencies
mcdonnnj May 7, 2025
755f2c6
Remove Pipfile checking
mcdonnnj May 7, 2025
dc06eb4
Bump version from 0.2.0 to 0.2.2
mcdonnnj Jun 1, 2025
d84cffa
Merge pull request #230 from cisagov/maintenance/update_dependencies
mcdonnnj Jul 1, 2025
81dd393
Upgrade to the latest version of the ansible-lint pre-commit hook
jsf9k May 7, 2025
11c82ac
Add a reusable workflow to store some image metadata
mcdonnnj Apr 15, 2025
91b5c1a
Use the new repository metadata workflow in the `build` workflow
mcdonnnj Apr 16, 2025
edd5c86
Declare permissions for the `_repo-metadata.yml` workflow
mcdonnnj Apr 18, 2025
981d11b
Add a name for the `output-repo-metadata` job
mcdonnnj Apr 18, 2025
865432e
Merge pull request #227 from cisagov/improvement/store_repo_metadata_…
mcdonnnj Jul 2, 2025
cffd5f9
Merge pull request #233 from cisagov/lineage/skeleton
mcdonnnj Jul 2, 2025
51242d7
Move GitHub Actions job into its own workflow
mcdonnnj Apr 23, 2025
af91691
Merge pull request #229 from cisagov/improvement/update_dockerhub_des…
mcdonnnj Jul 2, 2025
5f64567
Add support for the `linux/386` platform
mcdonnnj Apr 15, 2025
a8307f8
Merge pull request #228 from cisagov/improvement/add_support_for_linu…
mcdonnnj Jul 2, 2025
8024436
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Jul 2, 2025
d2ae98f
Merge pull request #236 from cisagov/lineage/skeleton
mcdonnnj Jul 2, 2025
bd2a274
Add support for the `linux/riscv64` platform
mcdonnnj Jul 7, 2025
57bfd29
Bump version from 0.2.2 to 0.2.2+build.1
mcdonnnj Jul 7, 2025
94c293d
Break the build and push step into separate steps
mcdonnnj Jul 8, 2025
039eea5
Move a comment to the correct place
mcdonnnj Jul 8, 2025
388cca2
Merge pull request #237 from cisagov/improvement/add_support_for_riscv64
mcdonnnj Jul 9, 2025
b2d3c00
Merge pull request #239 from cisagov/bug/push_after_building
mcdonnnj Jul 9, 2025
03b54ad
Remove the Snyk link from the README
mcdonnnj Jul 7, 2025
8f3163d
Update the target URL for the platforms link
mcdonnnj Jul 7, 2025
00e680c
Merge pull request #238 from cisagov/improvement/tweak_readme
mcdonnnj Jul 9, 2025
8479455
Scan the Docker image with Trivy at build time
mcdonnnj May 8, 2025
7c2cd20
Capitalize Docker in prose in the `build` workflow
mcdonnnj Jul 9, 2025
4bff962
Capitalize Docker Compose where appropriate
mcdonnnj Jul 9, 2025
646c3bd
Merge pull request #240 from cisagov/improvement/add_trivy_scanning
mcdonnnj Jul 10, 2025
0370008
Merge pull request #241 from cisagov/improvement/fix_docker_case
mcdonnnj Jul 10, 2025
d8881be
Bump actions/download-artifact from 4 to 5
dependabot[bot] Aug 12, 2025
f891704
Add a configuration to automatically label pull requests
mcdonnnj Aug 28, 2025
97e6cc4
Bump aquasecurity/trivy-action from 0.32.0 to 0.33.0
dependabot[bot] Sep 2, 2025
28edbab
Sync the versions of `bandit` used by pre-commit
mcdonnnj Sep 3, 2025
db2ec5a
Merge pull request #243 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 3, 2025
8e49565
Merge pull request #245 from cisagov/dependabot/github_actions/aquase…
mcdonnnj Sep 3, 2025
ac1210e
Merge pull request #246 from cisagov/bug/sync_bandit_pre-commit_hooks
mcdonnnj Sep 3, 2025
b6c32f2
Bump library/python from 3.13.5-alpine3.22 to 3.13.7-alpine3.22
dependabot[bot] Sep 3, 2025
0aba281
Bump actions/labeler from 5 to 6
mcdonnnj Sep 8, 2025
35bac1f
Bump aquasecurity/trivy-action from 0.33.0 to 0.33.1
dependabot[bot] 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
50c0ad8
Add a dependabot configuration for Docker Compose
mcdonnnj Sep 11, 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
cb19850
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Sep 18, 2025
ca3226e
Sync bandit versions used in pre-commit config
jsf9k Sep 18, 2025
d946283
Update GitHub actions to versions used upstream
jsf9k Sep 18, 2025
f2a3280
Add python configuration to labeler
jsf9k Sep 18, 2025
a197a7a
Add test code to labeler configuration
jsf9k Sep 18, 2025
0f35673
Correct version file location in labeler configuration
jsf9k Sep 18, 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
bf938b8
Use lowercase for the protocol in EXPOSE statement
jsf9k Sep 24, 2025
4181a26
Merge pull request #247 from cisagov/dependabot/github_actions/aquase…
jsf9k Sep 24, 2025
725caab
Merge pull request #248 from cisagov/improvement/add_docker-compose_d…
jsf9k Sep 24, 2025
7da4b0d
Merge pull request #244 from cisagov/dependabot/docker/library/python…
jsf9k Sep 24, 2025
bc0d88f
Add a section to trigger the "docker" label
jsf9k Sep 24, 2025
ce6e5eb
Allow the test composition and pytest config to trigger the test label
jsf9k Sep 24, 2025
0a33d37
Mirror the "docker" configuration in cisagov/skeleton-generic#222
jsf9k Sep 24, 2025
974d210
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Sep 24, 2025
ce7e572
Include comment from cisagov/skeleton-generic#222
jsf9k Sep 25, 2025
2186042
Merge pull request #249 from cisagov/lineage/skeleton
jsf9k Sep 25, 2025
65474e2
Enable all label configuration for actions/labeler
mcdonnnj Oct 3, 2025
2a7792e
Bump peter-evans/dockerhub-description from 4 to 5
dependabot[bot] Oct 6, 2025
32eeb0c
Merge pull request #223 from cisagov/improvement/uncomment_labeler_co…
jsf9k Oct 6, 2025
3303b22
Merge pull request #251 from cisagov/dependabot/github_actions/peter-…
jsf9k Oct 6, 2025
3cf19cd
Add JavaScript-related labels
mcdonnnj Oct 3, 2025
e38c7f0
Add JavaScript-related labels to the labeler configuration
mcdonnnj Oct 3, 2025
443c477
Merge pull request #224 from cisagov/improvement/add_javascript_labels
jsf9k Oct 6, 2025
68196a2
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Oct 7, 2025
722507b
Merge pull request #252 from cisagov/lineage/skeleton
jsf9k Oct 7, 2025
965b51e
Merge remote-tracking branch 'skeleton-docker/develop' into lineage/s…
jsf9k Oct 24, 2025
6bb07ee
Prefer double quotes for YAML strings
jsf9k Oct 24, 2025
b3955db
Alphabetize YAML keys
jsf9k Oct 24, 2025
b2f976d
Update name key value in Docker compose configs
jsf9k Oct 24, 2025
0ec88eb
Uncomment new Dependabot ignore directives from upstream
jsf9k Oct 24, 2025
901d252
Update Docker image metadata with correct image name
jsf9k Oct 24, 2025
14ff4b9
Prefer apt commands over apt-get and apt-clean
jsf9k Oct 24, 2025
1aebb7b
Correct a bug in apt upgrade command
jsf9k Oct 24, 2025
f31b640
Remove support for the riscv64 hardware platform
jsf9k Oct 24, 2025
e8e71b5
Setup Pipfile and Pipfile.lock for this project
jsf9k Oct 24, 2025
ccf0f11
Modernize ENV syntax
jsf9k Oct 24, 2025
2c9e442
Add whitespace changes to satisfy black pre-commit linter
jsf9k Oct 24, 2025
297043c
Update Dockerfile to use pipenv
jsf9k Oct 24, 2025
44dc773
Remove code to upgrade system packages
jsf9k Oct 24, 2025
a4b4403
Remove code associated with installation dependencies
jsf9k Oct 24, 2025
357f39c
Correct comment
jsf9k Oct 24, 2025
19af055
Copy Python wheel dependencies to compile stage
jsf9k Oct 27, 2025
a50700e
Remove support for the s390x and arm/v6 hardware platforms
jsf9k Oct 27, 2025
eef4918
Add TODO comments for pruning the lists of system packages we install
jsf9k Oct 27, 2025
ba2561d
Remove support for the 386, arm/v7, and ppc64le HW platforms
jsf9k Oct 27, 2025
9d49814
Add TODO comments for pinning system packages
jsf9k Oct 28, 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
18 changes: 16 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,22 @@
# These owners will be the default owners for everything in the
# repo. Unless a later match takes precedence, these owners will be
# requested for review when someone opens a pull request.
* @dav3r @jasonodoom @jsf9k @mcdonnnj
* @dav3r @jsf9k @mcdonnnj

# These folks own any files in the .github directory at the root of
# the repository and any of its subdirectories.
/.github/ @dav3r @felddy @jasonodoom @jsf9k @mcdonnnj
/.github/ @dav3r @felddy @jsf9k @mcdonnnj

# These folks own all linting configuration files.
/.ansible-lint @dav3r @felddy @jsf9k @mcdonnnj
/.bandit.yml @dav3r @felddy @jsf9k @mcdonnnj
/.flake8 @dav3r @felddy @jsf9k @mcdonnnj
/.isort.cfg @dav3r @felddy @jsf9k @mcdonnnj
/.mdl_config.yaml @dav3r @felddy @jsf9k @mcdonnnj
/.pre-commit-config.yaml @dav3r @felddy @jsf9k @mcdonnnj
/.prettierignore @dav3r @felddy @jsf9k @mcdonnnj
/.yamllint @dav3r @felddy @jsf9k @mcdonnnj
/requirements.txt @dav3r @felddy @jsf9k @mcdonnnj
/requirements-dev.txt @dav3r @felddy @jsf9k @mcdonnnj
/requirements-test.txt @dav3r @felddy @jsf9k @mcdonnnj
/setup-env @dav3r @felddy @jsf9k @mcdonnnj
25 changes: 20 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,43 @@ updates:
schedule:
interval: weekly

- directory: /
package-ecosystem: docker-compose
schedule:
interval: weekly

- directory: /
ignore:
# Managed by cisagov/skeleton-generic
- 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: crazy-max/ghaction-dump-context
- dependency-name: cisagov/action-job-preamble
- dependency-name: cisagov/setup-env-github-action
- dependency-name: crazy-max/ghaction-github-labeler
- dependency-name: crazy-max/ghaction-github-status
- dependency-name: github/codeql-action
- dependency-name: hashicorp/setup-packer
- dependency-name: hashicorp/setup-terraform
- dependency-name: mxschmitt/action-tmate
- dependency-name: step-security/harden-runner
# Managed by cisagov/skeleton-docker
- dependency-name: actions/download-artifact
- dependency-name: actions/github-script
- dependency-name: actions/upload-artifact
- dependency-name: aquasecurity/trivy-action
- dependency-name: docker/build-push-action
- dependency-name: docker/login-action
- dependency-name: docker/metadata-action
- dependency-name: docker/setup-buildx-action
- dependency-name: docker/setup-qemu-action
- dependency-name: github/codeql-action
- dependency-name: peter-evans/dockerhub-description
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
76 changes: 76 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
# 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.

ansible:
- changed-files:
- any-glob-to-any-file:
- "**/ansible/**"
dependencies:
- changed-files:
- any-glob-to-any-file:
# Add any dependency files used.
- .pre-commit-config.yaml
- requirements*.txt
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/**
javascript:
- changed-files:
- any-glob-to-any-file:
- "**/*.js"
packer:
- changed-files:
- any-glob-to-any-file:
- "**/*.pkr.hcl"
python:
- changed-files:
- any-glob-to-any-file:
- "**/*.py"
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
- .flake8
- .isort.cfg
- .mdl_config.yaml
- .yamllint
- compose.yml
- pytest.ini
- tests/**
typescript:
- changed-files:
- any-glob-to-any-file:
- "**/*.ts"
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).
- src/version.txt
59 changes: 37 additions & 22 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,75 +2,90 @@
# Rather than breaking up descriptions into multiline strings we disable that
# specific rule in yamllint for this file.
# yamllint disable rule:line-length
- color: "eb6420"
- 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
- color: "000000"
description: This issue or pull request involves changes to existing functionality
name: breaking change
- color: "d73a4a"
- color: d73a4a
description: This issue or pull request addresses broken functionality
name: bug
- color: "07648d"
- color: 07648d
description: This issue will be advertised on code.gov's Open Tasks page (https://code.gov/open-tasks)
name: code.gov
- color: "0366d6"
- color: 0366d6
description: Pull requests that update a dependency file
name: dependencies
- color: "2497ed"
- color: 2497ed
description: Pull requests that update Docker code
name: docker
- color: "5319e7"
- color: 5319e7
description: This issue or pull request improves or adds to documentation
name: documentation
- color: "cfd3d7"
- color: cfd3d7
description: This issue or pull request already exists or is covered in another issue or pull request
name: duplicate
- color: "b005bc"
- color: b005bc
description: A high-level objective issue encompassing multiple issues instead of a specific unit of work
name: epic
- color: "000000"
description: Pull requests that update GitHub Actions code
name: github-actions
- color: "0e8a16"
- color: 0e8a16
description: This issue or pull request is well-defined and good for newcomers
name: good first issue
- color: "ff7518"
- color: ff7518
description: Pull request that should count toward Hacktoberfest participation
name: hacktoberfest-accepted
- color: "a2eeef"
- color: a2eeef
description: This issue or pull request will add or improve functionality, maintainability, or ease of use
name: improvement
- color: "fef2c0"
- color: fef2c0
description: This issue or pull request is not applicable, incorrect, or obsolete
name: invalid
- color: "ce099a"
- color: f1d642
description: Pull requests that update JavaScript code
name: javascript
- color: ce099a
description: This pull request is ready to merge during the next Lineage Kraken release
name: kraken 🐙
- color: "a4fc5d"
- color: a4fc5d
description: This issue or pull request requires further information
name: need info
- color: "fcdb45"
- color: fcdb45
description: This pull request is awaiting an action or decision to move forward
name: on hold
- color: "3772a4"
- color: 02a8ef
description: Pull requests that update Packer code
name: packer
- color: 3772a4
description: Pull requests that update Python code
name: python
- color: "ef476c"
- color: ef476c
description: This issue is a request for information or needs discussion
name: question
- color: "d73a4a"
- color: d73a4a
description: This issue or pull request addresses a security issue
name: security
- color: "00008b"
- color: 7b42bc
description: Pull requests that update Terraform code
name: terraform
- color: 00008b
description: This issue or pull request adds or otherwise modifies test code
name: test
- color: "1d76db"
- color: 2b6ebf
description: Pull requests that update TypeScript code
name: typescript
- color: 1d76db
description: This issue or pull request pulls in upstream updates
name: upstream update
- color: "d4c5f9"
- color: d4c5f9
description: This issue or pull request increments the version number
name: version bump
- color: "ffffff"
- color: ffffff
description: This issue will not be incorporated
name: wontfix
2 changes: 1 addition & 1 deletion .github/lineage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
lineage:
skeleton:
remote-url: https://github.com/cisagov/skeleton-docker.git
version: '1'
version: "1"
81 changes: 81 additions & 0 deletions .github/workflows/_repo-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
name: Provide repository metadata

on: # yamllint disable-line rule:truthy
workflow_call:
outputs:
image-name:
description: The name of the Docker image.
value: ${{ jobs.output-repo-metadata.outputs.image-name }}
image-platforms:
description: The supported platforms for the Docker image.
value: ${{ jobs.output-repo-metadata.outputs.image-platforms }}

jobs:
output-repo-metadata:
name: Generate outputs for repository metadata
outputs:
image-name: ${{ steps.set-outputs.outputs.image-name }}
image-platforms: ${{ steps.set-outputs.outputs.image-platforms }}
permissions: {}
runs-on: ubuntu-latest
steps:
- name: Set outputs for repository metadata
id: set-outputs
run: |
# Standard Python Libraries
import json
import os
import sys
from typing import Any, TypedDict


class GhaOutput(TypedDict):

description: str
name: str
value: Any


# Every output in this list must be configured as an output for the workflow.
gha_outputs: list[GhaOutput] = [
{
"description": "The name of the Docker image.",
"name": "image-name",
"value": "cisagov/pshtt_reporter",
},
{
"description": "The supported platforms for the Docker image.",
"name": "image-platforms",
"value": [
# The GitHub runners take forever when building
# wheels for all these platforms, so we comment
# out the less common ones: 386, arm/v6, arm/v7,
# ppc64le, and s390x.
# "linux/386",
"linux/amd64",
# "linux/arm/v6",
# "linux/arm/v7",
"linux/arm64",
# "linux/ppc64le",
# The base Docker image does not support the
# riscv64 hardware platform.
# "linux/riscv64",
# "linux/s390x",
],
},
]

if os.getenv("GITHUB_OUTPUT") is None:
print(
"GITHUB_OUTPUT is not set. "
"This script is intended to be run in a GitHub Actions environment."
)
sys.exit(1)

with open(os.environ["GITHUB_OUTPUT"], "a") as gh_output:
for output in gha_outputs:
if any(isinstance(output["value"], t) for t in [list, dict]):
output["value"] = json.dumps(output["value"])
gh_output.write(f"{output['name']}={output['value']}\n")
shell: python3 {0}
Loading
Loading