mathieu-benoit / sail-sharp

Sail Sharp - Security best practices with .NET Core & Kubernetes
https://medium.com/p/c68ba253844a
3 stars 0 forks source link

VS Code extension + `gh pr comment` #133

Closed mathieu-benoit closed 5 months ago

github-actions[bot] commented 5 months ago

Deployment successfully completed for PR-133! :tada:

View in Humanitec

Deployment ID: 17d5a90c0a1a70e2

Domains:

my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff ### Deployment diff: ```json { "modules": { "add": null, "remove": [], "update": { "my-sample-workload": [ { "from": "", "op": "replace", "path": "/spec/annotations/humanitec.io~1workload-source", "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/score/score.yaml" }, { "from": "", "op": "replace", "path": "/spec/containers/my-sample-container/image", "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:1756faf6702d3dc3c9cd458e77adaff6a0cde53db715f9826a147f41c476ad6a" } ] } }, "shared": null } ```
Active Resources Usage ### Active Resources Usage: ```none ResType Class ResID Usage Last referencing deployment Last referencing deployment created ago agent default agent current deploy 17d5a90c0a1a70e2 35.599957969s base-env default base-env current deploy 17d5a90c0a1a70e2 35.599959762s k8s-cluster default k8s-cluster current deploy 17d5a90c0a1a70e2 35.599961105s k8s-namespace default k8s-namespace current deploy 17d5a90c0a1a70e2 35.599962007s logging default logging current deploy 17d5a90c0a1a70e2 35.599963058s k8s-service-account default modules.my-sample-workload current deploy 17d5a90c0a1a70e2 35.59996392s workload default modules.my-sample-workload current deploy 17d5a90c0a1a70e2 35.599964812s dns default modules.my-sample-workload.externals.dns current deploy 17d5a90c0a1a70e2 35.599965694s ingress default modules.my-sample-workload.externals.dns current deploy 17d5a90c0a1a70e2 35.599966655s tls-cert default modules.my-sample-workload.externals.dns current deploy 17d5a90c0a1a70e2 35.599967547s route default modules.my-sample-workload.externals.route current deploy 17d5a90c0a1a70e2 35.599968399s ```
Resources Graph ### Resources Graph: ```none strict digraph { label="Resource Graph app: my-sample-app, env: pr-133 green: virtual nodes (environment, workloads), blue: active resources "; labelloc="t"; overlap="false"; splines="true"; "3739585d037ad82a94514dba0e9ce0ff321714c8" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.route type: route class: default provision time: 10.167342s", style="filled", tooltip="guresid: 3739585d037ad82a94514dba0e9ce0ff321714c8", weight=0 ]; "a9800906f2f928258cfc899088e8ac50623914c0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: agent type: agent class: default provision time: 7.720817s", style="filled", tooltip="guresid: a9800906f2f928258cfc899088e8ac50623914c0", weight=0 ]; "35d8342893e1ccf5c8d1e3f396d9026808357f4b" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload type: k8s-service-account class: default provision time: 7.597456s", style="filled", tooltip="guresid: 35d8342893e1ccf5c8d1e3f396d9026808357f4b", weight=0 ]; "my-sample-workload" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-workload", style="filled", weight=0 ]; "my-sample-workload" -> "60842774b7ec3e265902b68d6acf219e1061f799" [ weight=0 ]; "my-sample-workload" -> "base" [ weight=0 ]; "7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env type: base-env class: default provision time: 18.414624s", style="filled", tooltip="guresid: 7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa", weight=0 ]; "7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa" -> "a9800906f2f928258cfc899088e8ac50623914c0" [ weight=0 ]; "base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled", weight=0 ]; "base" -> "7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa" [ weight=0 ]; "0c12aa93d5ee1192761e38fc35cfcf47e33b7393" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns type: tls-cert class: default provision time: 1.803341s", style="filled", tooltip="guresid: 0c12aa93d5ee1192761e38fc35cfcf47e33b7393", weight=0 ]; "0c12aa93d5ee1192761e38fc35cfcf47e33b7393" -> "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload type: workload class: default provision time: 174.133ms", style="filled", tooltip="guresid: 60842774b7ec3e265902b68d6acf219e1061f799", weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" -> "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" -> "3739585d037ad82a94514dba0e9ce0ff321714c8" [ weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" -> "35d8342893e1ccf5c8d1e3f396d9026808357f4b" [ weight=0 ]; "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns type: dns class: default provision time: 7.843613s", style="filled", tooltip="guresid: ec0d55a0896d5b623be3d903f3c53d21c3556300", weight=0 ]; "bdf1eaaee2673e85b348eaad62e3b76ac4987d75" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns type: ingress class: default provision time: 5.295278s", style="filled", tooltip="guresid: bdf1eaaee2673e85b348eaad62e3b76ac4987d75", weight=0 ]; "bdf1eaaee2673e85b348eaad62e3b76ac4987d75" -> "0c12aa93d5ee1192761e38fc35cfcf47e33b7393" [ weight=0 ]; "bdf1eaaee2673e85b348eaad62e3b76ac4987d75" -> "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ weight=0 ]; } ```
github-actions[bot] commented 5 months ago

Deployment successfully completed for PR-133! :tada:

View in Humanitec

Deployment ID: 17d5aa4278809b90

Domains:

my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff ### Deployment diff: ```json { "modules": { "add": null, "remove": [], "update": { "my-sample-workload": [ { "from": "", "op": "replace", "path": "/spec/containers/my-sample-container/image", "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:124242e3c48fb3450d69eaa5f3246eba162eb0acfb960fa747943a60dfaba6ed" }, { "from": "", "op": "replace", "path": "/spec/annotations/humanitec.io~1workload-source", "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/score/score.yaml" }, { "from": "", "op": "replace", "path": "/spec/annotations/humanitec.io~1workload-artefact-name", "value": "humctl score deploy" } ] } }, "shared": null } ```
Active Resources Usage ### Active Resources Usage: ```none ResType Class ResID Usage Last referencing deployment Last referencing deployment created ago agent default agent current deploy 17d5aa4278809b90 33.633910087s base-env default base-env current deploy 17d5aa4278809b90 33.63391182s k8s-cluster default k8s-cluster current deploy 17d5aa4278809b90 33.633913032s k8s-namespace default k8s-namespace current deploy 17d5aa4278809b90 33.633913934s logging default logging current deploy 17d5aa4278809b90 33.633914916s k8s-service-account default modules.my-sample-workload current deploy 17d5aa4278809b90 33.633915717s workload default modules.my-sample-workload current deploy 17d5aa4278809b90 33.633916519s dns default modules.my-sample-workload.externals.dns current deploy 17d5aa4278809b90 33.63391754s ingress default modules.my-sample-workload.externals.dns current deploy 17d5aa4278809b90 33.633918482s tls-cert default modules.my-sample-workload.externals.dns current deploy 17d5aa4278809b90 33.633919284s route default modules.my-sample-workload.externals.route current deploy 17d5aa4278809b90 33.633920125s ```
Resources Graph ### Resources Graph: ```none strict digraph { label="Resource Graph app: my-sample-app, env: pr-133 green: virtual nodes (environment, workloads), blue: active resources "; labelloc="t"; overlap="false"; splines="true"; "7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env type: base-env class: default provision time: 17.163125s", style="filled", tooltip="guresid: 7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa", weight=0 ]; "7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa" -> "a9800906f2f928258cfc899088e8ac50623914c0" [ weight=0 ]; "base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled", weight=0 ]; "base" -> "7e3b1cd7037e82a63578c6ff3ab27697d8aac8aa" [ weight=0 ]; "0c12aa93d5ee1192761e38fc35cfcf47e33b7393" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns type: tls-cert class: default provision time: 1.790625s", style="filled", tooltip="guresid: 0c12aa93d5ee1192761e38fc35cfcf47e33b7393", weight=0 ]; "0c12aa93d5ee1192761e38fc35cfcf47e33b7393" -> "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ weight=0 ]; "bdf1eaaee2673e85b348eaad62e3b76ac4987d75" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns type: ingress class: default provision time: 4.807899s", style="filled", tooltip="guresid: bdf1eaaee2673e85b348eaad62e3b76ac4987d75", weight=0 ]; "bdf1eaaee2673e85b348eaad62e3b76ac4987d75" -> "0c12aa93d5ee1192761e38fc35cfcf47e33b7393" [ weight=0 ]; "bdf1eaaee2673e85b348eaad62e3b76ac4987d75" -> "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ weight=0 ]; "a9800906f2f928258cfc899088e8ac50623914c0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: agent type: agent class: default provision time: 7.919391s", style="filled", tooltip="guresid: a9800906f2f928258cfc899088e8ac50623914c0", weight=0 ]; "3739585d037ad82a94514dba0e9ce0ff321714c8" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.route type: route class: default provision time: 9.97785s", style="filled", tooltip="guresid: 3739585d037ad82a94514dba0e9ce0ff321714c8", weight=0 ]; "35d8342893e1ccf5c8d1e3f396d9026808357f4b" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload type: k8s-service-account class: default provision time: 7.796418s", style="filled", tooltip="guresid: 35d8342893e1ccf5c8d1e3f396d9026808357f4b", weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload type: workload class: default provision time: 143.9ms", style="filled", tooltip="guresid: 60842774b7ec3e265902b68d6acf219e1061f799", weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" -> "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" -> "3739585d037ad82a94514dba0e9ce0ff321714c8" [ weight=0 ]; "60842774b7ec3e265902b68d6acf219e1061f799" -> "35d8342893e1ccf5c8d1e3f396d9026808357f4b" [ weight=0 ]; "my-sample-workload" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-workload", style="filled", weight=0 ]; "my-sample-workload" -> "base" [ weight=0 ]; "my-sample-workload" -> "60842774b7ec3e265902b68d6acf219e1061f799" [ weight=0 ]; "ec0d55a0896d5b623be3d903f3c53d21c3556300" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns type: dns class: default provision time: 8.040785s", style="filled", tooltip="guresid: ec0d55a0896d5b623be3d903f3c53d21c3556300", weight=0 ]; } ```