Skip to content

Commit 2e03a1c

Browse files
Initial commit
Signed-off-by: Lynsei Hogan <lynsei.hogan@mckesson.com>
1 parent f31ec77 commit 2e03a1c

File tree

94 files changed

+11140
-77
lines changed

Some content is hidden

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

94 files changed

+11140
-77
lines changed

deno.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
},
1313
"publish": {
1414
"include": [
15-
"./src/mod.ts",
16-
"./src/version.ts",
17-
"./src/make_version.ts"
15+
"src/**/**/*.ts"
1816
]
1917
},
2018
"lint": {
@@ -54,6 +52,7 @@
5452
},
5553
"imports": {
5654
"@deno/dnt": "jsr:@deno/dnt@^0.42.1",
55+
"@onjara/optic": "jsr:@onjara/optic@^2.0.3",
5756
"@std/assert": "jsr:@std/assert@1.0.13",
5857
"@std/encoding": "jsr:@std/encoding@^1.0.10",
5958
"@std/fmt": "jsr:@std/fmt@^1.0.8",

deno.lock

Lines changed: 130 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lefthook.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pre-push:
1616
tags:
1717
- security
1818
run: trufflehog filesystem . -x .hogignore
19-
- name: "lizard"
20-
tags:
21-
- quality
22-
run: python3 ./src/SAST/lizard.py
19+
# - name: "lizard"
20+
# tags:
21+
# - quality
22+
# run: python3 ./src/SAST/lizard.py
2323
# - name: "prettier"
2424
# tags:
2525
# - quality
@@ -40,10 +40,10 @@ pre-commit:
4040
tags:
4141
- security
4242
run: trufflehog filesystem . -x .hogignore
43-
- name: "lizard"
44-
tags:
45-
- quality
46-
run: python3 ./src/SAST/lizard.py
43+
# - name: "lizard"
44+
# tags:
45+
# - quality
46+
# run: python3 ./src/SAST/lizard.py
4747
# - name: "prettier"
4848
# tags:
4949
# - quality

scripts/bin.sh

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bash
2-
platform=`uname -m`
2+
export platform=`uname -m`
33
# We don't need return codes for "$(command)", only stdout is needed.
44
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc.
55
# shellcheck disable=SC2312
6-
export __DEVOPS_CONFIG_PATH=$HOME/.config/.devops
6+
export __DEVOPS_CONFIG_PATH="$HOME/.config/.devops"
77
export __DEVOPS_MACHINE_ARCH=`uname -m`
88
abort() {
99
printf "%s\n" "$@" >&2
@@ -59,21 +59,12 @@ _config () {
5959
}
6060

6161
_run () {
62-
echo "Pulling child images for your platform: $platform."
63-
docker pull lynsei/run.child.gh:$platform
64-
docker pull lynsei/run.child.volta:$platform
65-
docker pull lynsei/run.child.openssl:$platform
66-
docker pull lynsei/run.child.fish:$platform
67-
docker pull lynsei/run.child.curl:$platform
68-
docker pull lynsei/run.child.wget:$platform
69-
docker pull lynsei/run.child.yq:$platform
70-
docker pull lynsei/run.child.jq:$platform
71-
docker pull lynsei/run.child.python3:$platform
72-
docker pull lynsei/run.child.golang:$platform
73-
echo "Example command:"
62+
# echo "Pulling child images for your platform: $platform."
63+
## Currently no default images since sd-install will pull those specified in the .config.yml file
64+
echo -e "\nExample command:"
7465
echo "sd-run child -i gh -- -h"
7566
}
7667

7768
[ ! -f $__DEVOPS_CONFIG_PATH/.config.location ] && _config
7869

79-
[ -f $__DEVOPS_CONFIG_PATH/.config.location ] && _run
70+
[ -f $__DEVOPS_CONFIG_PATH/.config.location ] && _run

0 commit comments

Comments
 (0)