-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from ropable/master
Logging, exception handling, update minor dependencies, update GitHub workflows
- Loading branch information
Showing
7 changed files
with
148 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Scan project for secrets & sensitive information" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
secret-scan: | ||
name: Scan project for secrets | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Secret scanning | ||
uses: trufflesecurity/trufflehog@main | ||
with: | ||
base: "" | ||
head: ${{ github.ref_name }} | ||
extra_args: --only-verified |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
nameSuffix: -prod | ||
resources: | ||
- ../../base | ||
- ingress.yaml | ||
- pdb.yaml | ||
secretGenerator: | ||
- name: healthcheck-env | ||
type: Opaque | ||
envs: | ||
- .env | ||
labels: | ||
- includeSelectors: true | ||
pairs: | ||
variant: prod | ||
patches: | ||
- path: deployment_patch.yaml | ||
- path: deployment_hpa_patch.yaml | ||
- path: service_patch.yaml | ||
images: | ||
- name: ghcr.io/dbca-wa/healthcheck | ||
newTag: 1.3.2 | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
nameSuffix: -prod | ||
resources: | ||
- ../../base | ||
- ingress.yaml | ||
- pdb.yaml | ||
secretGenerator: | ||
- name: healthcheck-env | ||
type: Opaque | ||
envs: | ||
- .env | ||
labels: | ||
- includeSelectors: true | ||
pairs: | ||
variant: prod | ||
patches: | ||
- path: deployment_patch.yaml | ||
- path: deployment_hpa_patch.yaml | ||
- path: service_patch.yaml | ||
images: | ||
- name: ghcr.io/dbca-wa/healthcheck | ||
newTag: 1.3.3 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[tool.poetry] | ||
name = "healthcheck" | ||
version = "1.3.2" | ||
version = "1.3.3" | ||
description = "Internal service endpoint health check for Spatial Support System" | ||
authors = ["ASI <[email protected]>"] | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
bottle = "0.13.1" | ||
bottle = "0.13.2" | ||
requests = "2.32.3" | ||
pytz = "2024.1" | ||
pytz = "2024.2" | ||
python-dotenv = "1.0.1" | ||
gunicorn = "23.0.0" | ||
humanize = "4.11.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters