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

[Upsun] project:init should generate relationships with the new format #196

Closed
lolautruche opened this issue Jan 11, 2024 · 0 comments · Fixed by #198
Closed

[Upsun] project:init should generate relationships with the new format #196

lolautruche opened this issue Jan 11, 2024 · 0 comments · Fixed by #198
Assignees

Comments

@lolautruche
Copy link
Contributor

Before

   relationships:
      postgresql: "postgresql:postgresql"

After

  relationships:
    database:
      service: postgresql
      endpoint: postgresql

We may also consider using the new shorthand syntax:

services: 
  pg_datatabase:
    type: postgresql:15

applications:
  app:
    type: 'php:8.2'
    relationships:
      # Defining relationships with null values,
      # using the services names as relationship names
      # 1st relationship below is an equivalent of:
      #pg_database:
      #  service: pg_database
      #  endpoint: postgresql
      pg_database:
@akalipetis akalipetis self-assigned this Jan 18, 2024
akalipetis added a commit that referenced this issue Jan 19, 2024
The new structure is supported both for validation, and when Upsunifying new apps

Fix #196
akalipetis added a commit that referenced this issue Feb 1, 2024
The new structure is supported both for validation, and when Upsunifying new apps

Fix #196
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 a pull request may close this issue.

2 participants