Merged in feature/removejob (pull request #95)

Remove Job

* removejob

* rmjob

* sync

* cleanup

* precommit

* startslow

* startslow

* startslow

* openapi

* clean

* test

* scripts

* littlecleanercmds

* mermaid
This commit is contained in:
Michael McGuinness
2025-03-10 11:03:00 +00:00
parent 7d78e65d0c
commit 62886dbba8
148 changed files with 2088 additions and 3828 deletions
+33 -40
View File
@@ -8,18 +8,15 @@ vars:
OUT_DIR: out
includes:
deps:
dir: "{{.CONTEXT}}"
taskfile: dependencies.yml
test:
dir: "{{.CONTEXT}}"
taskfile: tests.yml
docker:
dir: "{{.CONTEXT}}"
dir: "."
taskfile: docker.yml
openapi:
dir: "{{.CONTEXT}}"
taskfile: openapi.yml
taskfile: openapi-scripts.yml
compose:
dir: "{{.CONTEXT}}"
taskfile: local-deployments.yml
@@ -28,75 +25,71 @@ includes:
taskfile: database.yml
tasks:
init:
cmds:
- touch .env
fullsuite:
cmds:
- task: deps:tidy
- task: generate:clean
- task: build:nogen
- task: lint:nogen
- task: test:unit:nogen
- task: test:endtoend:cmd:nocache
- task: build
- task: lint
- task: test:unit
- task: test:endtoend
precommit:
cmds:
- task: lint:short
deps:tidy:
- go mod tidy
- go mod vendor
build:
deps:
- generate
cmds:
- task: build:nogen
build:nogen:
cmds:
- task: deps:tidy
- task: generate
- task: docker:build
generate:clean:
run: once
deps:
- db:generate:clean
- openapi:generate
- test:mocks:generate
- docs:generate
cmds:
- go generate ./...
generate:
run: once
deps:
- db:generate
- openapi:generate
- test:mocks:generate
- docs:generate
cmds:
- go generate ./...
lint:
deps:
- generate
cmds:
- task: lint:nogen
lint:nogen:
cmds:
- task: go:lint
- task: db:lint
- task: yaml:lint
- task: json:lint
- task: docker:lint
- task: compose:lint
- task: openapi:lint
lint:fix:
cmds:
- task: go:lint:fix
- task: openapi:lint
- task: db:lint
- task: yaml:lint
- task: json:lint:fix
- task: docker:lint
- task: compose:lint
lint:short:
deps:
- go:lint
- yaml:lint
- json:lint
- docker:lint
- openapi:lint
- db:lint
- compose:lint:short
go:lint:
cmds:
- golangci-lint run
go:lint:fix:
cmds:
- golangci-lint run --fix
- golangci-lint run --fix {{.CLI_ARGS}}
yaml:lint:
cmds:
- yamllint . -s
- yamllint . -s {{.CLI_ARGS}}
json:lint:
cmds:
- jsonlint devbox.json -q -s
json:lint:fix:
cmds:
- jsonlint devbox.json -q -s -i
- jsonlint devbox.json -q -s -i {{.CLI_ARGS}}
docs:generate:
run: once
cmds:
- gomarkdoc --template-file file=docs/templates/root.gotxt ./cmd/...