-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitpod.yml
49 lines (45 loc) · 1.4 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
# Learn more about this file at https://www.gitpod.io/docs/references/gitpod-yml
image: devwithlando/gitpod:1
tasks:
- name: Setup Gitpod for Lando
command: |
lando init --source remote --remote-url https://www.drupal.org/download-latest/tar.gz --remote-options="--strip-components 1" --recipe drupal9 --webroot . --name lando-drupal9
lando start
lando composer require drush/drush
lando composer install -n
chmod ug+w -R /workspace/gitpod/sites/default/
lando drush si -y --account-pass=admin --site-name='lando_drupal9' --db-url=mysql://drupal9:drupal9@database/drupal9 demo_umami
gp preview $(gp url $(lando info --format=json | jq -r ".[0].urls[1]" | sed -e 's#http://localhost:\(\)#\1#'))
ports:
- port: 3306
onOpen: ignore
- port: 8080
onOpen: ignore
- port: 8443
onOpen: ignore
- port: 9003
onOpen: ignore
- port: 80
onOpen: ignore
- port: 443
onOpen: ignore
github:
prebuilds:
master: true
branches: false
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: false
addBadge: true
vscode:
extensions:
- felixfbecker.php-debug
- dbaeumer.vscode-eslint
- eamodio.gitlens
- EditorConfig.EditorConfig
- esbenp.prettier-vscode
- stylelint.vscode-stylelint
- tombonnike.vscode-status-bar-format-toggle
- usernamehw.errorlens
- mblode.twig-language