[JIRA] (JENKINS-58732) Invert pipeline-model-definition → docker-workflow dependency

0 views
Skip to first unread message

jglick@cloudbees.com (JIRA)

unread,
Jul 30, 2019, 11:29:01 AM7/30/19
to jenkinsc...@googlegroups.com
Jesse Glick created an issue
 
Jenkins / Task JENKINS-58732
Invert pipeline-model-definition → docker-workflow dependency
Issue Type: Task Task
Assignee: Andrew Bayer
Components: docker-workflow-plugin, pipeline-model-definition-plugin
Created: 2019-07-30 15:28
Priority: Minor Minor
Reporter: Jesse Glick

Currently pipeline-model-definition has a dependency on docker-workflow to supply agent docker and agent dockerfile definitions. These should rather be defined in the docker-workflow plugin, which would then get a dependency on pipeline-model-extensions (unclear if that should be optional).

This would match, for example, how agent kubernetes is defined in the kubernetes plugin, and how I propose (related to JENKINS-48050) something like agent dockerNode should be defined in the docker plugin, keeping the sensitive aspects of the behavior close to the plugin which manages that environment.

It would also allow docker-workflow to be omitted from distributions which do not need it. In particular, Kubernetes-oriented distributions are unlikely to have any use for agent docker. (You might want to install docker-workflow so as to be able to use withDockerContainer with DinD, but in that case you would still be using agent kubernetes, and anyway the most common use case—building Docker images—is preferably handled via Kaniko.)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jul 30, 2019, 11:36:02 AM7/30/19
to jenkinsc...@googlegroups.com
Jesse Glick commented on Task JENKINS-58732
 
Re: Invert pipeline-model-definition → docker-workflow dependency

Pending JENKINS-49651, delivering this to existing installations might be tricky as users might update some but not all plugins.

jglick@cloudbees.com (JIRA)

unread,
Jan 23, 2020, 10:59:03 AM1/23/20
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Jesse Glick
Change By: Jesse Glick
Assignee: Andrew Bayer Jesse Glick
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Jan 23, 2020, 11:00:02 AM1/23/20
to jenkinsc...@googlegroups.com
Jesse Glick started work on Task JENKINS-58732
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

unread,
Jan 31, 2020, 4:50:02 PM1/31/20
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Mar 5, 2020, 3:33:03 PM3/5/20
to jenkinsc...@googlegroups.com
Change By: Jesse Glick
Status: In Review Fixed but Unreleased
Resolution: Fixed
Released As: docker-workflow 1.22; pipeline-model-definition 1.5.2 (?)
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

dnusbaum@cloudbees.com (JIRA)

unread,
Mar 9, 2020, 5:51:03 PM3/9/20
to jenkinsc...@googlegroups.com
Devin Nusbaum updated an issue
Change By: Devin Nusbaum
Released As: docker-workflow 1.22; pipeline-model-definition 1. 5 6 . 2 (?) 0

dnusbaum@cloudbees.com (JIRA)

unread,
Mar 9, 2020, 5:57:03 PM3/9/20
to jenkinsc...@googlegroups.com

Docker-related functionality has been removed from Pipeline: Declarative Plugin as of version 1.6.0, which was just released, and resides in Docker Pipeline Plugin as of version 1.22. Pipeline: Declarative Plugin still has a dependency on Docker Pipeline Plugin for now to guide users to the latest version of Docker Pipeline Plugin so that the dependency can be safely removed in a few weeks or so.

jglick@cloudbees.com (JIRA)

unread,
Mar 10, 2020, 3:52:03 PM3/10/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages