Skip to content

Commit 9fba8f5

Browse files
authored
Merge pull request #61 from cisagov/skeletonize
Skeletonize
2 parents 8b7c549 + 12e2c2d commit 9fba8f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2710
-935
lines changed

.ansible-lint

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
# See https://ansible-lint.readthedocs.io/en/latest/configuring.html
3+
# for a list of the configuration elements that can exist in this
4+
# file.
5+
enable_list:
6+
# Useful checks that one must opt-into. See here for more details:
7+
# https://ansible-lint.readthedocs.io/en/latest/rules.html
8+
- fcqn-builtins
9+
- no-log-password
10+
- no-same-owner
11+
exclude_paths:
12+
# This exclusion is implicit, unless exclude_paths is defined
13+
- .cache
14+
# Seems wise to ignore this too
15+
- .github
16+
kinds:
17+
# This will force our systemd specific molecule configurations to be treated
18+
# as plain yaml files by ansible-lint. This mirrors the default kind
19+
# configuration in ansible-lint for molecule configurations:
20+
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
21+
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
22+
use_default_rules: true

.bandit.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
# Configuration file for the Bandit python security scanner
3+
# https://bandit.readthedocs.io/en/latest/config.html
4+
5+
# Tests are first included by `tests`, and then excluded by `skips`.
6+
# If `tests` is empty, all tests are are considered included.
7+
8+
tests:
9+
# - B101
10+
# - B102
11+
12+
skips:
13+
- B101 # skip "assert used" check since assertions are required in pytests

.flake8

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[flake8]
2+
max-line-length = 80
3+
# Select (turn on)
4+
# * Complexity violations reported by mccabe (C) -
5+
# http://flake8.pycqa.org/en/latest/user/error-codes.html#error-violation-codes
6+
# * Documentation conventions compliance reported by pydocstyle (D) -
7+
# http://www.pydocstyle.org/en/stable/error_codes.html
8+
# * Default errors and warnings reported by pycodestyle (E and W) -
9+
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
10+
# * Default errors reported by pyflakes (F) -
11+
# http://flake8.pycqa.org/en/latest/glossary.html#term-pyflakes
12+
# * Default warnings reported by flake8-bugbear (B) -
13+
# https://github.com/PyCQA/flake8-bugbear#list-of-warnings
14+
# * The B950 flake8-bugbear opinionated warning -
15+
# https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
16+
select = C,D,E,F,W,B,B950
17+
# Ignore flake8's default warning about maximum line length, which has
18+
# a hard stop at the configured value. Instead we use
19+
# flake8-bugbear's B950, which allows up to 10% overage.
20+
#
21+
# Also ignore flake8's warning about line breaks before binary
22+
# operators. It no longer agrees with PEP8. See, for example, here:
23+
# https://github.com/ambv/black/issues/21. Guido agrees here:
24+
# https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b.
25+
ignore = E501,W503

.github/CODEOWNERS

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Each line is a file pattern followed by one or more owners.
2+
3+
# These owners will be the default owners for everything in the
4+
# repo. Unless a later match takes precedence, these owners will be
5+
# requested for review when someone opens a pull request.
6+
* @dav3r @jsf9k @mcdonnnj
7+
8+
# These folks own any files in the .github directory at the root of
9+
# the repository and any of its subdirectories.
10+
/.github/ @dav3r @felddy @jsf9k @mcdonnnj

.github/dependabot.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
3+
# Any ignore directives should be uncommented in downstream projects to disable
4+
# Dependabot updates for the given dependency. Downstream projects will get
5+
# these updates when the pull request(s) in the appropriate skeleton are merged
6+
# and Lineage processes these changes.
7+
8+
version: 2
9+
updates:
10+
- package-ecosystem: "docker"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"
14+
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
ignore:
20+
# Managed by cisagov/skeleton-generic
21+
- dependency-name: actions/cache
22+
- dependency-name: actions/checkout
23+
- dependency-name: actions/setup-go
24+
- dependency-name: actions/setup-python
25+
- dependency-name: hashicorp/setup-terraform
26+
- dependency-name: mxschmitt/action-tmate
27+
# Managed by cisagov/skeleton-docker
28+
- dependency-name: actions/download-artifact
29+
- dependency-name: actions/github-script
30+
- dependency-name: actions/upload-artifact
31+
- dependency-name: docker/build-push-action
32+
- dependency-name: docker/login-action
33+
- dependency-name: docker/setup-buildx-action
34+
- dependency-name: docker/setup-qemu-action
35+
- dependency-name: github/codeql-action
36+
37+
- package-ecosystem: "pip"
38+
directory: "/"
39+
schedule:
40+
interval: "weekly"
41+
42+
- package-ecosystem: "terraform"
43+
directory: "/"
44+
schedule:
45+
interval: "weekly"

.github/labels.yml

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
# Rather than breaking up descriptions into multiline strings we disable that
3+
# specific rule in yamllint for this file.
4+
# yamllint disable rule:line-length
5+
- color: "eb6420"
6+
description: This issue or pull request is awaiting the outcome of another issue or pull request
7+
name: blocked
8+
- color: "000000"
9+
description: This issue or pull request involves changes to existing functionality
10+
name: breaking change
11+
- color: "d73a4a"
12+
description: This issue or pull request addresses broken functionality
13+
name: bug
14+
- color: "07648d"
15+
description: This issue will be advertised on code.gov's Open Tasks page (https://code.gov/open-tasks)
16+
name: code.gov
17+
- color: "0366d6"
18+
description: Pull requests that update a dependency file
19+
name: dependencies
20+
- color: "2497ed"
21+
description: Pull requests that update Docker code
22+
name: docker
23+
- color: "5319e7"
24+
description: This issue or pull request improves or adds to documentation
25+
name: documentation
26+
- color: "cfd3d7"
27+
description: This issue or pull request already exists or is covered in another issue or pull request
28+
name: duplicate
29+
- color: "b005bc"
30+
description: A high-level objective issue encompassing multiple issues instead of a specific unit of work
31+
name: epic
32+
- color: "000000"
33+
description: Pull requests that update GitHub Actions code
34+
name: github-actions
35+
- color: "0e8a16"
36+
description: This issue or pull request is well-defined and good for newcomers
37+
name: good first issue
38+
- color: "ff7518"
39+
description: Pull request that should count toward Hacktoberfest participation
40+
name: hacktoberfest-accepted
41+
- color: "a2eeef"
42+
description: This issue or pull request will add or improve functionality, maintainability, or ease of use
43+
name: improvement
44+
- color: "fef2c0"
45+
description: This issue or pull request is not applicable, incorrect, or obsolete
46+
name: invalid
47+
- color: "ce099a"
48+
description: This pull request is ready to merge during the next Lineage Kraken release
49+
name: kraken 🐙
50+
- color: "a4fc5d"
51+
description: This issue or pull request requires further information
52+
name: need info
53+
- color: "fcdb45"
54+
description: This pull request is awaiting an action or decision to move forward
55+
name: on hold
56+
- color: "3772a4"
57+
description: Pull requests that update Python code
58+
name: python
59+
- color: "ef476c"
60+
description: This issue is a request for information or needs discussion
61+
name: question
62+
- color: "00008b"
63+
description: This issue or pull request adds or otherwise modifies test code
64+
name: test
65+
- color: "1d76db"
66+
description: This issue or pull request pulls in upstream updates
67+
name: upstream update
68+
- color: "d4c5f9"
69+
description: This issue or pull request increments the version number
70+
name: version bump
71+
- color: "ffffff"
72+
description: This issue will not be incorporated
73+
name: wontfix

.github/lineage.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
lineage:
3+
skeleton:
4+
remote-url: https://github.com/cisagov/skeleton-docker.git
5+
version: '1'

0 commit comments

Comments
 (0)