devspace icon indicating copy to clipboard operation
devspace copied to clipboard

DEVSPACE_CONFIG is not honoured when used with git based dependencies

Open jaydeland opened this issue 1 year ago • 1 comments

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 avatar Dec 05 '24 17:12 jaydeland

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

deniseschannon avatar Dec 19 '24 20:12 deniseschannon

The Devspace project currently lacks enough contributors to adequately respond to all issues. After 90d of inactivity,  the issue is closed. You can re-open this issue if you still want help.

deniseschannon avatar Jun 27 '25 15:06 deniseschannon