-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* chore(#343): update gitpod config * chore(#343): update gitpod ddev setup * chore(#343): add welcome message * chore(#343): update gitpod/drupal setup
- Loading branch information
Showing
9 changed files
with
1,073 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
██████╗ ██████╗ ██╗ ██╗██╗ ██╗████████╗ ██╗███████╗ | ||
██╔══██╗██╔══██╗██║ ██║╚██╗██╔╝╚══██╔══╝ ██║██╔════╝ | ||
██║ ██║██████╔╝██║ ██║ ╚███╔╝ ██║ ██║███████╗ | ||
██║ ██║██╔══██╗██║ ██║ ██╔██╗ ██║ ██ ██║╚════██║ | ||
██████╔╝██║ ██║╚██████╔╝██╔╝ ██╗ ██║██╗╚█████╔╝███████║ | ||
╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚════╝ ╚══════╝ | ||
|
||
# Welcome to the DruxtJS Gitpod development environment | ||
|
||
To get started you can do one of the following tasks: | ||
- Run the Druxt build tools: `yarn build --watch` | ||
- Run the Druxt test suite: `yarn test --watch` | ||
- Generate Druxt documetation: `yarn build:docs` | ||
- Start the DruxtJS.org website: `cd docs && yarn dev` | ||
|
||
Happy contributing. | ||
|
5 changes: 1 addition & 4 deletions
5
.gitpod/download-ddev-images.sh → .gitpod/scripts/ddev-download.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
#!/usr/bin/env bash | ||
if [ -n "$DEBUG_DRUPALPOD" ]; then | ||
set -x | ||
fi | ||
|
||
ddev version | awk '/(drud|phpmyadmin)/ {print $2;}' >/tmp/images.txt | ||
while IFS= read -r item | ||
do | ||
docker pull "$item" | ||
done < <(cat /tmp/images.txt) | ||
done < <(cat /tmp/images.txt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
if [ -n "$DEBUG_DRUXTJS" ]; then | ||
set -x | ||
fi | ||
|
||
# Set up ddev for use on gitpod | ||
|
||
set -eu -o pipefail | ||
|
||
DDEV_DIR="${GITPOD_REPO_ROOT}/examples/drupal/drupal-9/.ddev" | ||
shortgpurl="${GITPOD_WORKSPACE_URL#'https://'}" | ||
|
||
# Generate a config.gitpod.yaml that adds the gitpod | ||
# proxied ports so they're known to ddev. | ||
|
||
cat <<CONFIGEND > "${DDEV_DIR}"/config.gitpod.yaml | ||
#ddev-gitpod-generated | ||
bind_all_interfaces: true | ||
host_webserver_port: 8080 | ||
CONFIGEND | ||
|
||
# We need host.docker.internal inside the container, | ||
# So add it via docker-compose.host-docker-internal.yaml | ||
hostip=$(awk "\$2 == \"$HOSTNAME\" { print \$1; }" /etc/hosts) | ||
|
||
cat <<COMPOSEEND >"${DDEV_DIR}"/docker-compose.host-docker-internal.yaml | ||
#ddev-gitpod-generated | ||
version: "3.6" | ||
services: | ||
web: | ||
environment: | ||
- DRUSH_OPTIONS_URI=$(gp url 8080) | ||
extra_hosts: | ||
- "host.docker.internal:${hostip}" | ||
COMPOSEEND | ||
|
||
# Misc housekeeping before start | ||
ddev config global --instrumentation-opt-in=true --omit-containers=ddev-router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.