Skip to content

Commit 1f2bd71

Browse files
authored
Update .gitpod.yml
1 parent b8c8cca commit 1f2bd71

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.gitpod.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
# this is just a config file for gitpod. See readme at https://github.com/temporalio/samples-typescript/blob/main/.gitpod.readme.md
1+
# this is a config file for gitpod setup, ignore if you are running samples locally
2+
# See readme at https://github.com/temporalio/samples-typescript/blob/main/.gitpod.readme.md
23

34
tasks:
45
- name: Run Hello World Worker
56
init: |
67
alias tctl="docker exec temporal-admin-tools tctl"
78
echo "tctl configured! try typing tctl -v" # can't run tctl directly from gitpod.yml
8-
gp open .gitpod.readme.md
9-
cd hello-world
9+
cd hello-world # this cd doesnt persist in postbuild
1010
npm install
1111
command: |
12+
gp open .gitpod.readme.md
1213
gp sync-await server-up
14+
cd hello-world
1315
npm run start.watch
1416
- name: Run Hello World Workflow
1517
init: |
1618
alias tctl="docker exec temporal-admin-tools tctl"
1719
echo "tctl configured! try typing tctl -v" # can't run tctl directly from gitpod.yml
1820
command: |
1921
cd hello-world
20-
until npm run workflow; do clear; sleep 5; done; # "sleep until temporal is actually up"
22+
until npm run workflow; do sleep 5; done; # "sleep until temporal is actually up"
2123
gp sync-done server-up
2224
gp preview http://localhost:8088 # open up Temporal Web to show new workflow
2325
npm run workflow # run workflow again for user's easy access
@@ -27,11 +29,11 @@ tasks:
2729
command: docker-compose up
2830

2931
ports:
30-
- port: 5432 #postgres
32+
- port: 5432 # postgres
3133
onOpen: ignore
32-
- port: 7233 #temporal server
34+
- port: 7233 # temporal server
3335
onOpen: ignore
34-
- port: 8088 #temporal web
36+
- port: 8088 # temporal web
3537
onOpen: ignore
3638
visibility: public
3739

0 commit comments

Comments
 (0)