Skip to content

Commit

Permalink
Add support for prebuild in gitpod
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Feb 21, 2021
1 parent 2cf7050 commit 44f35bb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitpod.yml
Expand Up @@ -13,3 +13,23 @@ tasks:
- name: Server
init: composer install && composer dump-autoload && git submodule update --init && echo "Creating database..." && sleep 5 && mysql -u root -e "create database bugtracker" && cp .gitpod/config_inc.php ./config/ && php ./admin/upgrade_unattended.php && mysql -u root bugtracker -e "INSERT INTO mantis_project_table (name, enabled, view_state, access_min, category_id, inherit_global, description) VALUES ('Test', 1, 10, 10, 1, 1, '')"
command: php -S 0.0.0.0:8000

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 check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false

0 comments on commit 44f35bb

Please sign in to comment.