Skip to content

Migrate PR builds to SymfonyCloud #10750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .platform/routes.yaml

This file was deleted.

7 changes: 2 additions & 5 deletions .platform.app.yaml → .symfony.cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
name: symfonydocs

# The toolstack used to build the application.
type: "php"

build:
flavor: "composer"
type: "python:3.7"

# The configuration of app when it is exposed to the web.
web:
Expand Down Expand Up @@ -53,7 +50,7 @@ hooks:
build: |
virtualenv .virtualenv
. .virtualenv/bin/activate
# Platform.sh currently sets PIP_USER=1.
# SymfonyCloud currently sets PIP_USER=1.
export PIP_USER=
pip install pip==9.0.1 wheel==0.29.0
pip install -r _build/.requirements.txt
Expand Down
11 changes: 11 additions & 0 deletions .symfony/routes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
https://{default}/:
cache:
cookies:
- '*'
default_ttl: 0
enabled: true
headers:
- Accept
- Accept-Language
type: upstream
upstream: symfonydocs:http
File renamed without changes.