Skip to content
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

Add platform.sh support #942

Merged
merged 6 commits into from
May 13, 2024
Merged

Conversation

senghe
Copy link
Contributor

@senghe senghe commented Jan 25, 2024

Hi. I've already prepared a platform.sh setup configuration for Sylius. In a nearest future I'll push also a documentation for this feature into Sylius repository.

I hope you like it 🖖

@senghe senghe requested a review from a team as a code owner January 25, 2024 20:06
@senghe senghe force-pushed the feature/platform-sh-support branch from 1b31a3f to db6201f Compare January 25, 2024 20:09
@TheMilek TheMilek force-pushed the feature/platform-sh-support branch from 925f284 to 0065622 Compare April 22, 2024 06:37
@senghe senghe requested a review from a team as a code owner April 22, 2024 06:37
@TheMilek TheMilek force-pushed the feature/platform-sh-support branch from 0065622 to 883f9eb Compare April 22, 2024 06:40
diimpp
diimpp previously requested changes Apr 22, 2024
.env.platform.dist Outdated Show resolved Hide resolved
.env.platform.dist Outdated Show resolved Hide resolved
.node-version Outdated Show resolved Hide resolved
.platform.app.yaml Outdated Show resolved Hide resolved
@@ -0,0 +1,99 @@
name: sylius

type: php:8.1
Copy link
Member

@diimpp diimpp Apr 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build flavor should be specified at the top.

Suggested change
type: php:8.1
type: php:8.1
build:
flavor: none

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall placement feels weird, I personally would go for

  • type
  • build
  • runtime
  • variables
  • dependencies
  • hooks
  • relationships
  • disk
  • mounts
  • web
  • workers
  • cron

or last three as

  • workers
  • cron
  • web

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will leave it for now as it is similar to config provided for the template by platform.sh 🤔 https://github.com/platformsh-templates/sylius/blob/master/.platform.app.yaml

.platform.app.yaml Outdated Show resolved Hide resolved
.platform.app.yaml Outdated Show resolved Hide resolved
.platform.app.yaml Outdated Show resolved Hide resolved
.platform.app.yaml Outdated Show resolved Hide resolved
.platform.app.yaml Outdated Show resolved Hide resolved
@TheMilek TheMilek force-pushed the feature/platform-sh-support branch 3 times, most recently from 31b16b3 to aac747b Compare April 24, 2024 07:57
@TheMilek TheMilek force-pushed the feature/platform-sh-support branch from aac747b to cf624b9 Compare May 9, 2024 10:30
@Wojdylak Wojdylak requested a review from diimpp May 10, 2024 12:59
@GSadee GSadee dismissed diimpp’s stale review May 13, 2024 05:24

Suggestions have been aplied

@GSadee GSadee merged commit 2c6cac8 into Sylius:1.12 May 13, 2024
8 checks passed
@GSadee
Copy link
Member

GSadee commented May 13, 2024

Thank you, Marcin! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants