Skip to content

Commit 226a99a

Browse files
committed
fix(devcontainer): use poetry run for invoke
invoke commands rely on some dependencies. Signed-off-by: Fatih Acar <[email protected]>
1 parent 6269987 commit 226a99a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.devcontainer/onCreateCommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ poetry install --no-interaction --no-ansi
88

99
git submodule update --init
1010

11-
invoke demo.pull
11+
poetry run invoke demo.pull

.devcontainer/postCreateCommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
git pull
44
git submodule update
5-
invoke demo.start --wait
5+
poetry run invoke demo.start --wait
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

33
export WEB_CONCURRENCY=2
4-
invoke demo.start
4+
poetry run invoke demo.start
55
sleep 120
66
docker logs infrahub-server-1
7-
invoke demo.load-infra-schema
7+
poetry run invoke demo.load-infra-schema
88
docker logs infrahub-server-1
99
sleep 90
1010
docker logs infrahub-server-1
11-
invoke demo.load-infra-data
12-
invoke demo.stop
11+
poetry run invoke demo.load-infra-data
12+
poetry run invoke demo.stop

0 commit comments

Comments
 (0)