[jbosstools-issues] [JBoss JIRA] (JBIDE-24146) Support pipeline deployment style
Andre Dietisheim (JIRA)
issues at jboss.org
Tue Sep 5 05:27:00 EDT 2017
[ https://issues.jboss.org/browse/JBIDE-24146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458583#comment-13458583 ]
Andre Dietisheim commented on JBIDE-24146:
------------------------------------------
There's a nice example on github showing pipeline deployment: https://github.com/siamaksade/openshift-cd-demo
> Support pipeline deployment style
> ---------------------------------
>
> Key: JBIDE-24146
> URL: https://issues.jboss.org/browse/JBIDE-24146
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.4.4.AM2
> Reporter: Jeff MAURY
> Labels: application_wizard, openshift, openshift_v3
> Fix For: 4.5.x
>
> Attachments: jenkins-pipeline-template.png, jenkins-variants.png, pipeline-build.png, webui-edit-pipeline-file.png
>
>
> In the web-console jenkins pipelines are supported in the following way:
> * when opening up an empty project you get a special template:
> !jenkins-pipeline-template.png!
> * which offers 2 different jenkins variants (and a full example that contains app source and build pipeline):
> !jenkins-variants.png!
> * once executed you get a special build type *pipeline*
> !pipeline-build.png!
> * the full example template is using the following build config with the strategy type *JenkinsPipeline*:
> {code}
> apiVersion: v1
> kind: BuildConfig
> metadata:
> name: sample-pipeline
> namespace: gulu
> selfLink: /oapi/v1/namespaces/gulu/buildconfigs/sample-pipeline
> uid: 12dec3c8-1948-11e7-a217-0251082287a6
> resourceVersion: '3757'
> creationTimestamp: '2017-04-04T15:05:00Z'
> labels:
> app: jenkins-pipeline-example
> name: sample-pipeline
> template: application-template-sample-pipeline
> annotations:
> pipeline.alpha.openshift.io/uses: >-
> [{"name": "nodejs-mongodb-example", "namespace": "", "kind":
> "DeploymentConfig"}]
> spec:
> triggers:
> - type: GitHub
> github:
> secret: secret101
> - type: Generic
> generic:
> secret: secret101
> runPolicy: Serial
> source:
> type: None
> strategy:
> type: JenkinsPipeline
> jenkinsPipelineStrategy:
> jenkinsfile: >-
> node('nodejs') {
> stage 'build'
> openshiftBuild(buildConfig: 'nodejs-mongodb-example', showBuildLogs:
> 'true')
> stage 'deploy'
> openshiftDeploy(deploymentConfig: 'nodejs-mongodb-example')
> }
> output: {}
> resources: {}
> postCommit: {}
> nodeSelector: null
> status:
> lastVersion: 1
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list