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

Aggregate Docker build/run task labels with VS Code defaults #1396

Merged
merged 2 commits into from
Nov 6, 2019

Conversation

philliphoff
Copy link
Member

@philliphoff philliphoff commented Nov 5, 2019

Moves the addition of the default VS Code labels to Docker images/containers to the base task providers in order to apply to all platforms (instead of just .NET Core). Also updates the logic so that default labels are included (by default) even if the user explicitly adds their own labels, with an option (by setting docker[Build|Run].labels.includeDefaults = false) to not include the default labels.

Resolves #1392 (except for discussion related to ports, which should be a separate PR).

@philliphoff philliphoff requested a review from a team as a code owner November 5, 2019 23:48
src/tasks/TaskDefinitionBase.ts Show resolved Hide resolved
@philliphoff philliphoff merged commit 0d545eb into bmw/customexecution Nov 6, 2019
@philliphoff philliphoff deleted the philliphoff-default-labels branch November 6, 2019 18:36
bwateratmsft added a commit that referenced this pull request Nov 6, 2019
* Use CustomExecution instead of ShellExecution

* Rev to 0.9.0

* Change to use child_process.spawn

* Refresh dockerode before trees

* Aggregate Docker build/run task labels with VS Code defaults (#1396)
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants