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 build missing "--dependency" flag #1113

Closed
shaunc opened this issue Jun 2, 2020 · 3 comments
Closed

devspace build missing "--dependency" flag #1113

shaunc opened this issue Jun 2, 2020 · 3 comments
Assignees
Labels
area/building-images Issues related to building Docker images kind/feature New feature or feature request

Comments

@shaunc
Copy link
Contributor

shaunc commented Jun 2, 2020

Is your feature request related to a problem?

I am having trouble requiring devspace to rebuild a particular dependency.

Which solution do you suggest?

Add --depedency flag to devspace build.

Which alternative solutions exist?

Good question. As far as I can tell, --force-build also isn't working for dependencies.
The only option so far is that I go to a copy of the dependency's repo and rebuild there -- which means I have to manually make sure the config is appropriate.

Additional context

/kind feature

@FabianKramm FabianKramm self-assigned this Jun 4, 2020
@FabianKramm FabianKramm added area/building-images Issues related to building Docker images kind/feature New feature or feature request labels Jun 4, 2020
@FabianKramm
Copy link
Collaborator

@shaunc thanks for opening this issue! Seems like there are two things here:

  1. --force-build when used with devspace dev and devspace deploy should actually also force rebuilding the dependency images. Is that not working for you? I just tested it and it works for me, it is rebuilding the images if the flag is provided
  2. yes a --dependency flag for devspace build is a good idea, we can do that!

FabianKramm added a commit to FabianKramm/devspace that referenced this issue Jun 4, 2020
@FabianKramm FabianKramm mentioned this issue Jun 4, 2020
@shaunc
Copy link
Contributor Author

shaunc commented Jun 4, 2020

Force build is not working in a complex situation for me, but I don't have a reproduction. Perhaps treat this as a report for #2 -- will open a new ticket with a reproduction for #1 if it persists.

@LukasGentele
Copy link
Contributor

Implemented as part of v4.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/building-images Issues related to building Docker images kind/feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

3 participants