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

DEVSPACE_CONFIG is not honoured when used with git based dependencies #2919

Open
jaydeland opened this issue Dec 5, 2024 · 1 comment
Open
Labels
kind/bug Something isn't working

Comments

@jaydeland
Copy link

What happened?

  • I have DEVSPACE_CONFIG set to devspace-2.yaml and when my dependency is pulled in from git it still tries to use the devspace.yaml
  • NOTE: This does work when using path based dependencies

What did you expect to happen instead?
I expected devspace2.yaml to be used

How can we reproduce the bug? (as minimally and precisely as possible)

My devspace.yaml:

version: v2beta1
name: app1

vars:
  service_name: ${DEPLOY_NAME}
  MYSQL_HOST: mysql
  MYSQL_DATABASE: ${DEVSPACE_NAME}_development
  MYSQL_PASSWORD: password
  MYSQL_USER: root

imports:
  - git: <REPO>
    subPath: devspace/app
    branch: main

dependencies:
  app-dep1:
    git: <REPO>
    branch: feature/devspace
  app-dep2:
    git: <REPO>
    branch: master

Local Environment:

  • DevSpace Version: devspace version 6.3.14
  • Operating System: mac
  • ARCH of the OS:ARM64

Anything else we need to know?

@jaydeland jaydeland added the kind/bug Something isn't working label Dec 5, 2024
Copy link

This isn't a bug but expected behavior when using git based dependencies. Why can't you use path based dependencies for your scenario?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants