File tree Expand file tree Collapse file tree 3 files changed +107
-4
lines changed
Expand file tree Collapse file tree 3 files changed +107
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ default_language_version :
3+ node : system
4+
5+ repos :
6+ - repo : https://github.com/pre-commit/pre-commit-hooks
7+ rev : 2c9f875913ee60ca25ce70243dc24d5b6415598c # 4.6.0
8+ hooks :
9+ - id : trailing-whitespace
10+ - id : end-of-file-fixer
11+ - id : detect-aws-credentials
12+ args : ["--allow-missing-credentials"]
13+ - id : detect-private-key
14+
15+ - repo : https://github.com/doublify/pre-commit-rust
16+ rev : eeee35a89e69d5772bdee97db1a6a898467b686e # 1.0
17+ hooks :
18+ - id : fmt
19+ args : ["--all", "--", "--check"]
20+ - id : clippy
21+ args : ["--all-targets", "--", "-D", "warnings"]
22+ - repo : https://github.com/adrienverge/yamllint
23+ rev : 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # 1.35.1
24+ hooks :
25+ - id : yamllint
26+
27+ - repo : https://github.com/igorshubovych/markdownlint-cli
28+ rev : f295829140d25717bc79368d3f966fc1f67a824f # 0.41.0
29+ hooks :
30+ - id : markdownlint
31+
32+ - repo : https://github.com/koalaman/shellcheck-precommit
33+ rev : 2491238703a5d3415bb2b7ff11388bf775372f29 # 0.10.0
34+ hooks :
35+ - id : shellcheck
36+ args : ["--severity=info"]
37+
38+ - repo : https://github.com/rhysd/actionlint
39+ rev : 62dc61a45fc95efe8c800af7a557ab0b9165d63b # 1.7.1
40+ hooks :
41+ - id : actionlint
42+
43+ - repo : https://github.com/hadolint/hadolint
44+ rev : b3555ba9c2bfd9401e79f2f0da68dd1ae38e10c7 # 2.12.0
45+ hooks :
46+ - id : hadolint
Original file line number Diff line number Diff line change 11# Container Support Helper
22
3- This is a tool meant to make the life of a support engineer easier when working with docker containers.
3+ This is a tool meant to make the life of a support engineer easier when working
4+ with docker containers.
45
5- We often face issues where we would have loved to know more details about the environment a container is running in.
6- This tool is meant to print as much information as possible to stdout (later possibly also to a log file) to aid in debugging:
6+ We often face issues where we would have loved to know more details about the
7+ environment a container is running in. This tool is meant to print as much
8+ information as possible to stdout (later possibly also to a log file)
9+ to aid in debugging:
710
811It currently prints:
912- CPU core count
@@ -17,7 +20,6 @@ It currently prints:
1720- List of all network interfaces with names and IP addresses
1821- Reverse Lookup for those IP addresses (IP Address => List of hostnames)
1922- Forward lookup for those hostnames (Hostname => List of IP addresses)
20-
2123
2224Here is an example of what it looks like on my Laptop:
2325
Original file line number Diff line number Diff line change 1+ [graph ]
2+ targets = [
3+ { triple = " x86_64-unknown-linux-gnu" },
4+ { triple = " aarch64-unknown-linux-gnu" },
5+ { triple = " x86_64-unknown-linux-musl" },
6+ { triple = " aarch64-apple-darwin" },
7+ { triple = " x86_64-apple-darwin" },
8+ ]
9+
10+ [advisories ]
11+ yanked = " deny"
12+
13+ [bans ]
14+ multiple-versions = " allow"
15+
16+ [licenses ]
17+ unused-allowed-license = " allow"
18+ confidence-threshold = 1.0
19+ allow = [
20+ " Apache-2.0" ,
21+ " BSD-2-Clause" ,
22+ " BSD-3-Clause" ,
23+ " CC0-1.0" ,
24+ " ISC" ,
25+ " LicenseRef-ring" ,
26+ " LicenseRef-webpki" ,
27+ " MIT" ,
28+ " MPL-2.0" ,
29+ " Unicode-3.0" ,
30+ " Unicode-DFS-2016" ,
31+ " Zlib" ,
32+ " Unlicense" ,
33+ ]
34+ private = { ignore = true }
35+
36+ [[licenses .clarify ]]
37+ name = " ring"
38+ expression = " LicenseRef-ring"
39+ license-files = [
40+ { path = " LICENSE" , hash = 0xbd0eed23 },
41+ ]
42+
43+ [[licenses .clarify ]]
44+ name = " webpki"
45+ expression = " LicenseRef-webpki"
46+ license-files = [
47+ { path = " LICENSE" , hash = 0x001c7e6c },
48+ ]
49+
50+ [sources ]
51+ unknown-registry = " deny"
52+ unknown-git = " deny"
53+
54+ [sources .allow-org ]
55+ github = [" stackabletech" ]
You can’t perform that action at this time.
0 commit comments