forked from drupal/drupal
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.gitpod.yml
More file actions
45 lines (42 loc) · 1.27 KB
/
.gitpod.yml
File metadata and controls
45 lines (42 loc) · 1.27 KB
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
# Learn more about this file at https://www.gitpod.io/docs/references/gitpod-yml
image: devwithlando/gitpod:1
tasks:
- name: Setup Drupal Dev Env
init: |
lando start
lando composer require drush/drush
lando composer install
chmod ug+w -R /workspace/drupal-dev-environment/sites/default/
lando drush si -y --account-pass=admin --site-name='lando_drupal9' --db-url=mysql://drupal9:drupal9@database/drupal9 demo_umami
command: |
# start a rebuild with actual networking service (prebuild uses different)
lando rebuild -y
gp preview $(gp url $(lando info --format=json | jq -r ".[0].urls[0]" | sed -e 's#http://localhost:\(\)#\1#'))
ports:
- port: 3306
onOpen: ignore
- port: 80
onOpen: ignore
- port: 443
onOpen: ignore
github:
prebuilds:
master: true
branches: true
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
- skippednote.VS-code-drupal