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

Platformify should allow naming an app after one of the services we support #221

Open
akalipetis opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working Platformify

Comments

@akalipetis
Copy link
Member

Having the same name for an app and a service leads to an error, as we can't conclusively infer relationships.

Naming an app after our known services should not be allowed when running platformify.

Example config:

applications:
  mysql:
...
    relationships:
      mysql: "mysql:MySQL"

Error:

  E: Error parsing configuration files:
      - applications: Application 'mysql' already exists as a service.
  To git.eu-5.platform.sh:XXX.git
   ! [remote rejected] HEAD -> main (invalid configuration files)
  error: failed to push some refs to 'git.eu-5.platform.sh:XXX.git'
@akalipetis akalipetis added the bug Something isn't working label May 9, 2024
@akalipetis akalipetis added the Platformify label Jul 2, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Platformify
Projects
None yet
Development

No branches or pull requests

1 participant