-
Add all the files in this repo to your existing project (make sure all the script files in
./gitpod/
directory are executable)chmod +x .gitpod/*
-
Generate ssh-key in Gitpod
ssh-keygen -b 4096
-
In Gitpod terminal, run
gp env "PANTHEON_SSH_KEY=$(cat ~/.ssh/id_rsa)"
This will add environment variable scoped to this project. -
Optional - use the same
PANTHEON_SSH_KEY
in all your projects:- Edit
PANTHEON_SSH_KEY
in https://gitpod.io/variables - Update the scope to
*/*
.
- Edit
-
Add the content of
~/.ssh/id_rsa.pub
to Pantheon
https://pantheon.io/docs/ssh-keys#add-your-ssh-key-to-pantheon -
Generate Terminus Token
https://pantheon.io/docs/machine-tokens#create-a-machine-token -
Add Terminus token you generated to Gitpod as a new environment variable
PROJECT_TERMINUS_TOKEN
(https://gitpod.io/variables) -
Update
.ddev/config.yaml
to the correct project namename: project_name
-
Update line 43 in
.ddev/providers/pantheon.yaml
project: project_name.pantheon_environment_name
-
Recommended:
To speed up the process, enable Prebuilds by follow the instructions @ https://www.gitpod.io/docs/prebuilds#enable-prebuilt-workspaces
-
Notifications
You must be signed in to change notification settings - Fork 2
DrupalPod (ddev-gitpod) setup for clients' projects hosted on Pantheon
License
drupalpod/drupalpod-pantheon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
DrupalPod (ddev-gitpod) setup for clients' projects hosted on Pantheon
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published