forked from gitlabhq/terraform-provider-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
19 lines (19 loc) · 923 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: gitpod/workspace-go
tasks:
# Retrieve our go dependencies. Also inject several vscode settings that are specifically helpful to a GitPod environment and not needed when opening the repo locally.
# The reason the settings are copied to a temp file and then moved is that applying the jq string directly to settings.json results in a blank file.
- init: |
go get
cat .vscode/settings.json | jq '. + {"terminal.integrated.lineHeight": 1.0,"terminal.integrated.letterSpacing": 1.0,"terminal.integrated.scrollback": 5000}' > .vscode/temp.json
mv .vscode/temp.json .vscode/settings.json
- name: Start acceptance Test Environment
command: make testacc-up
openMode: split-right
# Port 8080 is used for acceptance testing, and we don't need to open it when the container comes up
ports:
- port: 8080
onOpen: ignore
vscode:
extensions:
- golang.Go
- hashicorp.terraform