Skip to content

Commit

Permalink
Preview PR in gitpod (#4175)
Browse files Browse the repository at this point in the history
* Updated gitpod

* Updated gitpod
  • Loading branch information
sreichel committed Sep 19, 2024
1 parent 0b68f1b commit bdcfba4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
19 changes: 18 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: false
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false

# List the start-up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: echo 'init script' # runs during prebuild
command: echo 'start script'
Expand Down
6 changes: 3 additions & 3 deletions dev/gitpod/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
apache:
image: openmage/php-dev:7.3-apache
image: openmage/php-dev:8.3-apache
hostname: ${HOST_NAME:-openmage-7f000001.nip.io}
user: "33333:33333"
ports:
Expand All @@ -17,7 +17,7 @@ services:
- mysql

cron:
image: openmage/php-dev:7.3-cli
image: openmage/php-dev:8.3-cli
working_dir: /var/www/html
command: /run-cron.sh
user: www-data
Expand All @@ -29,7 +29,7 @@ services:
- mysql

cli:
image: openmage/php-dev:7.3-apache
image: openmage/php-dev:8.3-apache
working_dir: /var/www/html
command: /bin/true
user: "33333:33333"
Expand Down

0 comments on commit bdcfba4

Please sign in to comment.