forked from AzBuilder/terrakube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
112 lines (101 loc) · 3.33 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
# 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.
image:
file: .gitpod.Dockerfile
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: false
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: false
tasks:
- name: Dex Environment Setup
init: |
chmod +x scripts/dependencies/loadDex.sh
command: scripts/dependencies/loadDex.sh
- name: Minio Environment Setup
init: |
chmod +x scripts/dependencies/loadMinio.sh
command: scripts/dependencies/loadMinio.sh
- name: Dependencies Backend
init: |
chmod +x scripts/dependencies/loadDependencies.sh &&
scripts/dependencies/loadDependencies.sh &&
gp sync-done dependencies-backend
command: echo "Backend Dependencies installed, you can close this terminal"
- name: Dependencies Frontend
init: |
chmod +x scripts/dependencies/loadDependenciesUI.sh &&
scripts/dependencies/loadDependenciesUI.sh &&
gp sync-done dependencies-frontend
command: echo "Frontend Dependencies installed, you can close this terminal"
- name: Setup Development Environment
init: |
chmod +x scripts/setupDevelopmentEnvironment.sh &&
chmod +x scripts/setupDevelopmentEnvironmentMinio.sh &&
chmod +x scripts/setupDevelopmentEnvironmentAzure.sh &&
chmod +x scripts/setupDevelopmentEnvironmentGcp.sh &&
chmod +x scripts/build/terrakubeBuild.sh &&
chmod +x scripts/build/generateSampleCaCerts.sh
command: scripts/setupDevelopmentEnvironment.sh
- name: Dex Authentication Url
command: |
echo "$(gp url 5556)/dex/auth?client_id=example-app&redirect_uri=$(gp url 3000)&response_type=code&scope=openid+profile+email+offline_access+groups&state=I+wish+to+wash+my+irish+wristwatch"
ports:
- name: Dex Authentication
description: Dex Authentication Endpoint
port: 5556
onOpen: ignore
visibility: public
- name: OpenLDAP
port: 1389
onOpen: ignore
- name: TerrakubeAPI
port: 8080
onOpen: ignore
visibility: public
- name: TerrakubeRegistry
port: 8075
onOpen: ignore
visibility: public
- name: TerrakubeExecutor
port: 8090
onOpen: ignore
visibility: public
- name: TerrakubeUI
port: 3000
onOpen: ignore
visibility: public
- name: Minio
port: 9000
onOpen: ignore
visibility: public
- name: MinioConsole
port: 9001
onOpen: ignore
visibility: public
- name: MinioConsole
port: 6379
onOpen: ignore
visibility: private
- name: PostgreSQL
port: 5432
onOpen: ignore
visibility: private
vscode:
extensions:
- esbenp.prettier-vscode
- vscjava.vscode-java-pack