You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add DockerComposeV1 task and refactoring DockerComposeV0 (#20085)
* Update task.loc messages
* Add DockerComposeV1
* Add DockerComposeV1 to the CODEOWNERS
* Set the docker compose v2 util as default for the DockerComposeV1 task
* Add condition for COMPATIBILITY flag
* Remove useDockerComposeV2 FF
* Add DockerComposemV1 task to make-options
* Remove buildConfig from DockerComposeV1 and add Node20 handler as default
* Update DockerComposeV1 task version
* Bump DockerComposeV0 task version
* Changed if empty condition for docker which result
* Build DockerComposeV0
* Update resjson manually
* Update DockerComposeV1
* Update unit tests
* Check in unit tests if docker cli exists
* Update unit tests and deprecationMessage
* Add unit tests
* Update unit tests DockerComposeV1
* Remove compatibility answers
* Update DockerComposeV1 resources.resjson
* Update L0Linux
* Show stdout & stderr in tests
* Add console.log with composeCommand
* Generated task
* Enable system debug
* Update
* Change Node20 to Node20_1
---------
Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <[email protected]>
"loc.messages.InvalidProjectName": "The project name \"%s\" must be a valid docker compose project name. Follow the link for more details: https://docs.docker.com/compose/project-name/#set-a-project-name",
85
-
"loc.messages.MigrateToDockerComposeV2": "The task is utilizing Docker Compose V1, but there are plans to transition to Docker Compose V2. It's necessary to investigate how to adapt your project to Docker Compose V2. For guidance on this migration, you can refer to the official Docker Compose documentation at the provided link: https://docs.docker.com/compose/migrate/"
85
+
"loc.messages.MigrateToDockerComposeV2": "The task is using Docker Compose V1, which is end-of-life and will be removed from Microsoft-hosted agents July 24. Pipelines running on Microsoft-hosted agents should be updated for Docker Compose v2 compatibility e.g. use compatible container names. For guidance on required updates, please refer to the official Docker Compose documentation at https://docs.docker.com/compose/migrate/"
Copy file name to clipboardExpand all lines: Tasks/DockerComposeV0/task.json
+4-2
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,12 @@
14
14
"version": {
15
15
"Major": 0,
16
16
"Minor": 242,
17
-
"Patch": 2
17
+
"Patch": 4
18
18
},
19
19
"demands": [],
20
20
"preview": "false",
21
+
"deprecated": true,
22
+
"deprecationMessage": "The DockerCompose@0 task is deprecated. The task uses docker-compose v1 which no longer receives update since July 2023. To use docker compose v2, use the DockerCompose@1 task.",
21
23
"groups": [
22
24
{
23
25
"name": "advanced",
@@ -357,6 +359,6 @@
357
359
"ImageNameWithoutTag": "Image name not specified with tag, pushing all tags of the image specified.",
"InvalidProjectName": "The project name \"%s\" must be a valid docker compose project name. Follow the link for more details: https://docs.docker.com/compose/project-name/#set-a-project-name",
360
-
"MigrateToDockerComposeV2": "The task is utilizing Docker Compose V1, but there are plans to transition to Docker Compose V2. It's necessary to investigate how to adapt your project to Docker Compose V2. For guidance on this migration, you can refer to the official Docker Compose documentation at the provided link: https://docs.docker.com/compose/migrate/"
362
+
"MigrateToDockerComposeV2": "The task is using Docker Compose V1, which is end-of-life and will be removed from Microsoft-hosted agents July 24. Pipelines running on Microsoft-hosted agents should be updated for Docker Compose v2 compatibility e.g. use compatible container names. For guidance on required updates, please refer to the official Docker Compose documentation at https://docs.docker.com/compose/migrate/"
Copy file name to clipboardExpand all lines: Tasks/DockerComposeV0/task.loc.json
+3-1
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,12 @@
14
14
"version": {
15
15
"Major": 0,
16
16
"Minor": 242,
17
-
"Patch": 2
17
+
"Patch": 4
18
18
},
19
19
"demands": [],
20
20
"preview": "false",
21
+
"deprecated": true,
22
+
"deprecationMessage": "The DockerCompose@0 task is deprecated. The task uses docker-compose v1 which no longer receives update since July 2023. To use docker compose v2, use the DockerCompose@1 task.",
0 commit comments