-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
have compose build only depend on actual dependencies #959
Conversation
].toSet().asImmutable() | ||
|
||
if (project.name in composeDeps) { | ||
composeBuild.dependsOn(project.tasks.assemble) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should i be depending on this? or on something like this? files(project(project.name).airbyteDocker.outputs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
your dependcy is correct right now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
building the image only depends on the jar. We might actually want to use the docker plugin here instead of docker compose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool. thanks! going to merge as is and then we can move to the docker plugin after if we'd like.
output of -dry-run
|
].toSet().asImmutable() | ||
|
||
if (project.name in composeDeps) { | ||
composeBuild.dependsOn(project.tasks.assemble) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
your dependcy is correct right now
].toSet().asImmutable() | ||
|
||
if (project.name in composeDeps) { | ||
composeBuild.dependsOn(project.tasks.assemble) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
building the image only depends on the jar. We might actually want to use the docker plugin here instead of docker compose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
Closes #958
What
:composeBuild
depends on all integrations. It shouldn't. It only has a few real dependencies. Developing on the API or the webapp right now is really painful because of this.