Merged in bugfix/cleanup (pull request #10)

Clean Up Testing and Linting

* somescriptcleanup

* mostgolangci

* deplatest

* imageversions

* usingscratch

* movedqueuefrtesting

* finishedunittesting

* linting

* taskfilecontext
This commit is contained in:
Michael McGuinness
2025-01-10 11:12:03 +00:00
parent 57764272c3
commit 0ebb8a21a1
62 changed files with 940 additions and 357 deletions
+3 -3
View File
@@ -1,9 +1,10 @@
---
# https://taskfile.dev
version: '3'
vars:
DOCKERFILE: "{{.CONTEXT}}/build/Dockerfile"
DOCKERFILE: "build/Dockerfile"
tasks:
lint:
@@ -11,5 +12,4 @@ tasks:
- godolint {{.DOCKERFILE}}
build:
cmds:
- docker build --build-arg TARGETCMD=queryService -t {{.IMAGE_NAME}}_queryservice -f {{.DOCKERFILE}} {{.CONTEXT}}
- docker build --build-arg TARGETCMD=queryRunner -t {{.IMAGE_NAME}}_queryrunner -f {{.DOCKERFILE}} {{.CONTEXT}}
- docker build -t {{.IMAGE_NAME}} -f {{.DOCKERFILE}} .