Skip to content

Commit

Permalink
chore: edited taskfile (#37)
Browse files Browse the repository at this point in the history
* fix: edited taskfile

* Update Taskfile.yaml

Co-authored-by: Lucas Roesler <roesler.lucas@gmail.com>

* Update Taskfile.yaml

* Update Taskfile.yaml

* Update Taskfile.yaml

Co-authored-by: Lucas Roesler <roesler.lucas@gmail.com>

---------

Co-authored-by: kay_alave <kay.alave@gmail.com>
Co-authored-by: Lucas Roesler <roesler.lucas@gmail.com>
  • Loading branch information
3 people committed Jun 19, 2023
1 parent 8cb32ff commit 5447602
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
version: 3


vars:
REGISTRY: contiamo
COMPONENT: datahub-sap-hana
Expand All @@ -9,6 +8,9 @@ vars:
VERSION:
sh: git describe --tags --always --dirty 2>/dev/null || echo "0.0.0"

dotenv:
- ".env"

tasks:
check_poetry:
desc: Check if poetry is installed
Expand Down Expand Up @@ -74,4 +76,30 @@ tasks:
deps:
- build
cmds:
- docker build --build-arg VERSION={{.VERSION}} --build-arg SHA=$(SHA) -t {{.REGISTRY}}/{{.COMPONENT}}:latest .
- docker build --build-arg VERSION={{.VERSION}} --build-arg SHA=$(SHA) -t {{.REGISTRY}}/{{.COMPONENT}}:latest .

start:
desc: start the test SAP Hana database
dir: tests
cmds:
- docker-compose up -d

stop:
desc: stop the test SAP Hana database
summary: |
This task stops the test SAP Hana database.
Examples:
task stop
task stop -- -v
dir: tests
cmds:
- docker-compose down {{.CLI_ARGS}}

ingest:
cmds:
- poetry run datahub ingest -c recipe.yaml




0 comments on commit 5447602

Please sign in to comment.