Skip to content

devspace deploy fails in CI/CD-flow after upgrade to devspace 6.1 #2415

@rosen91

Description

@rosen91

What happened?
Recently updated our Gitlab CI/CD-flow to use devspace 6.1 instead of 4.x. Also updated devspace.yaml to use new syntax and v2beta1 so it sure might be an issue in my reconfiguration that causes this. But when deploying with devspace deploy it fails with:
/root/.devspace/bin/helm: text file busy

This particaluar job has multiple deployments, database, redis, api etc, and it fails on different deployments every time. Asked in Slack and @FabianKramm thought it might be something to do with downloading helm binary and parallel deployments.

What did you expect to happen instead?
It would deploy successfully and move on to the other dependencies.

How can we reproduce the bug? (as minimally and precisely as possible)
Don't really know.. It's a big project with multiple dependencies, devspace.yaml files and it's running in Gitlab CI/CD with the Kubernetes executor on GCP. I can give access to repository if needed.

My devspace.yaml:

version: v2beta1
images: ...
deployments: 
  api-gateway-search:
    kubectl:
      manifests:
        - search/
  api-gateway-config:
    kubectl:
      manifests:
        - config/
   api-gateway-database:
    helm:
      chart:
        name: component-chart
        repo: https://charts.devspace.sh
      values:
        containers:
          ...
        volumes:
         ...
        service:
        ,,,
        
     more-services...
...

CI/CD Environment:

  • DevSpace Version: [use devspace --version]
    image:
    name: devspacesh/devspace:6.1
  • Operating System: windows | linux | mac
    Linux
  • ARCH of the OS: AMD64 | ARM64 | i386
    Kubernetes Cluster:
  • Cloud Provider: google | aws | azure | other
    Google
  • Kubernetes Version: [use kubectl version]

Anything else we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions