-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitpod.yml
62 lines (54 loc) · 1.89 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
# echo "ROOT_URL=$(gp url 5000)" >> .env.local
tasks:
- name: Steedos
command: |
echo "ROOT_URL=$(gp url 5000)" >> .env.local
echo "METADATA_SERVER=$(gp url 5000)" >> .env.local
docker-compose up
- name: Nextjs
command: |
git config pull.rebase false
yarn
yarn build
cd apps/experience
echo "STEEDOS_EXPERIENCE_URL=$(gp url 3000)" >> .env.local
echo "NEXTAUTH_URL=$(gp url 3000)" >> .env.local
echo "STEEDOS_ROOT_URL=$(gp url 5000)" >> .env.local
echo "STEEDOS_EXPERIENCE_ASSETURLS=$(gp url 8080)/@steedos-widgets/amis-object/dist/assets-dev.json" >> .env.local
yarn run dev
- name: unpkg.com
command: |
echo "STEEDOS_UNPKG_URL=$(gp url 8080)" >> packages/@steedos-widgets/amis-object/.env.local
echo "STEEDOS_UNPKG_URL=$(gp url 8080)" >> packages/@steedos-widgets/sortable/.env.local
echo "STEEDOS_UNPKG_URL=$(gp url 8080)" >> packages/@steedos-widgets/fullcalendar/.env.local
gp await-port 3000
yarn unpkg
- name: storybook
command: |
cd apps/storybook
echo "STEEDOS_UNPKG_URL=$(gp url 8080)" >> .env.local
echo "STEEDOS_ROOT_URL=$(gp url 5000)" >> .env.local
echo "STEEDOS_EXPERIENCE_ASSETURLS=$(gp url 8080)/@steedos-widgets/amis-object/dist/assets-dev.json" >> .env.local
gp await-port 3000
# yarn storybook
ports:
- port: 3000
onOpen: ignore
visibility: public
- port: 5000
onOpen: ignore
visibility: public
- port: 8080
onOpen: ignore
visibility: public
- port: 4222
onOpen: ignore
- port: 8222
onOpen: ignore
- port: 6379
onOpen: ignore
- port: 27017
onOpen: ignore