-
Notifications
You must be signed in to change notification settings - Fork 87
/
.gitpod.yml
53 lines (49 loc) · 1.41 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
image:
file: .gitpod.Dockerfile
# Adding vscode C# extension
vscode:
extensions:
- muhammad-sammy.csharp
# Ports to expose
ports:
- name: Consul Dev Server UI
port: 8500
onOpen: open-preview
# Start-up tasks
tasks:
- name: Consul.NET Client # this task is optional (used as workaround for OmniSharp/omnisharp-vscode/issues/4783)
before: |
dotnet --version
init: |
dotnet build
cd Consul.Test/ && pwd
dotnet build
cd ..
command: |
cd Consul.Test/ && pwd
dotnet run --framework "net6.0"
cd ..
- name: Consul Server
before: |
consul --version
command: |
cd Consul.Test/
consul agent -dev -config-file test_config.json
openMode: split-right
# Configuring pre-builds
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