generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CST config Signed-off-by: GitHub <noreply@github.com>
- Loading branch information
Jacob Woffenden
authored
Apr 4, 2024
1 parent
d09af66
commit 53330d2
Showing
2 changed files
with
19 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
IMAGE_NAME = ghcr.io/ministryofjustice/observability-platform-grafana-api-key-rotator:latest | ||
|
||
test: build | ||
container-structure-test test --config test/container-structure-test.yml --image $(IMAGE_NAME) | ||
|
||
build: | ||
docker build --file Dockerfile --tag ghcr.io/ministryofjustice/observability-platform-grafana-api-key-rotator:latest . | ||
docker build --file Dockerfile --tag $(IMAGE_NAME) . | ||
|
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,12 @@ | ||
--- | ||
schemaVersion: 2.0.0 | ||
|
||
fileExistenceTests: | ||
- name: "function.py" | ||
path: "/var/task/function.py" | ||
|
||
- name: "requirements.txt" | ||
path: "/var/task/requirements.txt" | ||
|
||
- name: "requirements-pip.txt" | ||
path: "/var/task/requirements-pip.txt" |