├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── feature-request.md └── PULL_REQUEST_TEMPLATE │ └── pull-request-template.md ├── .gitignore ├── .nojekyll ├── 404.html ├── LICENSE ├── README.adoc ├── _ ├── css │ └── site.css ├── font │ ├── roboto-latin-400.woff │ ├── roboto-latin-400.woff2 │ ├── roboto-latin-400italic.woff │ ├── roboto-latin-400italic.woff2 │ ├── roboto-latin-500.woff │ ├── roboto-latin-500.woff2 │ ├── roboto-latin-500italic.woff │ ├── roboto-latin-500italic.woff2 │ ├── roboto-mono-latin-400.woff │ ├── roboto-mono-latin-400.woff2 │ ├── roboto-mono-latin-500.woff │ └── roboto-mono-latin-500.woff2 ├── img │ ├── back.svg │ ├── caret.svg │ ├── chevron.svg │ ├── close.svg │ ├── home-o.svg │ ├── home.svg │ └── menu.svg └── js │ ├── site.js │ └── vendor │ └── highlight.js ├── code_of_conduct.md ├── contributing ├── con_contributing-documentation.md ├── proc_git-setup.md └── ref_documentation-styling.md ├── docs ├── 0.10.5 │ ├── _images │ │ ├── deployment_complete.png │ │ ├── initiate_deployment.png │ │ ├── openshift_pipelines_blank_status.png │ │ ├── openshift_pipelines_create_name_project.png │ │ ├── openshift_pipelines_create_new.png │ │ ├── openshift_pipelines_create_project.png │ │ ├── openshift_pipelines_delete_operator.png │ │ ├── openshift_pipelines_install_overview.png │ │ ├── openshift_pipelines_install_subscription.png │ │ ├── openshift_pipelines_installed.png │ │ ├── openshift_pipelines_installed_tile.png │ │ ├── openshift_pipelines_operator_crd_editor.png │ │ ├── openshift_pipelines_operator_tiles.png │ │ ├── openshift_pipelines_show_community_operator.png │ │ ├── openshift_pipelines_subscription_installing.png │ │ ├── openshift_pipelines_terminating.png │ │ ├── openshift_pipelines_workloads_pods.png │ │ ├── operator-install-1.png │ │ ├── operator-install-2.png │ │ ├── operator-install-3.png │ │ ├── operator-install-4.png │ │ ├── operator-install-5.png │ │ ├── operator-install-6.png │ │ ├── operator-install-7.png │ │ ├── operatorhub.png │ │ ├── operatorhub_2.png │ │ ├── operaturhub_1.png │ │ ├── pipeline-diagram.svg │ │ ├── pipeline.png │ │ ├── pipeline_details.png │ │ ├── pipeline_image.png │ │ ├── pipeline_import_flow.png │ │ ├── pipeline_list.png │ │ ├── pipeline_resources.png │ │ ├── pipeline_resources_tasks.png │ │ ├── pipeline_run.png │ │ ├── pipeline_topology.png │ │ ├── pipelines_namespace.png │ │ ├── spring-petclinic-deployed.png │ │ ├── steps_tasks_pipeline.png │ │ ├── task_image.png │ │ ├── tekton_architecture.png │ │ └── tekton_architecture.svg │ ├── assembly_cli-reference.html │ ├── assembly_creating-applications-with-cicd-pipelines.html │ ├── assembly_installing-pipelines.html │ ├── assembly_working-with-pipelines-using-the-developer-perspective.html │ ├── con-pipeline-resource-types.html │ ├── con_pipeline-cluster-resource.html │ ├── con_pipeline-git-resources.html │ ├── con_pipeline-image-resources.html │ ├── con_pipeline-pull-request-resources.html │ ├── con_pipeline-task.html │ ├── con_pipelines-concepts.html │ ├── index.html │ ├── installing-tkn.html │ ├── op-installing-tkn-on-linux.html │ ├── op-installing-tkn-on-macos.html │ ├── op-installing-tkn-on-windows.html │ ├── op-installing_pipelines.html │ ├── op-pipelinerun-definition-reference.html │ ├── op-pipelines-definition-reference.html │ ├── op-taskrun-definition-reference.html │ ├── op-tkn-clustertask-management.html │ ├── op-tkn-condition-management.html │ ├── op-tkn-pipeline-management.html │ ├── op-tkn-pipeline-resource-management.html │ ├── op-tkn-pipeline-run.html │ ├── op-tkn-reference.html │ ├── op-tkn-task-management.html │ ├── op-tkn-task-run.html │ ├── op-tkn-trigger-management.html │ ├── op-tkn-utility-commands.html │ ├── proc_assembling-a-pipeline.html │ ├── proc_checking-pipeline-and-application-status.html │ ├── proc_creating-applications-with-cicd-pipelines.html │ ├── proc_creating-project-and-checking-pipeline-service-account.html │ ├── proc_defining-and-creating-pipeline-tasks.html │ ├── proc_defining-and-creating-pipelineresources.html │ ├── proc_installing-cli.html │ ├── proc_installing-pipelines-operator-in-web-console.html │ ├── proc_installing-pipelines-operator-using-the-cli.html │ ├── proc_interacting-with-pipelines-using-the-developer-perspective.html │ ├── proc_triggering-and-running-a-pipeline.html │ ├── proc_uninstalling-pipelines-operator.html │ └── release_notes.html ├── 0.5 │ ├── _images │ │ ├── deployment_complete.png │ │ ├── initiate_deployment.png │ │ ├── openshift_pipelines_blank_status.png │ │ ├── openshift_pipelines_create_name_project.png │ │ ├── openshift_pipelines_create_new.png │ │ ├── openshift_pipelines_create_project.png │ │ ├── openshift_pipelines_delete_operator.png │ │ ├── openshift_pipelines_install_overview.png │ │ ├── openshift_pipelines_install_subscription.png │ │ ├── openshift_pipelines_installed.png │ │ ├── openshift_pipelines_installed_tile.png │ │ ├── openshift_pipelines_operator_crd_editor.png │ │ ├── openshift_pipelines_operator_tiles.png │ │ ├── openshift_pipelines_show_community_operator.png │ │ ├── openshift_pipelines_subscription_installing.png │ │ ├── openshift_pipelines_terminating.png │ │ ├── openshift_pipelines_workloads_pods.png │ │ ├── operator-install-1.png │ │ ├── operator-install-2.png │ │ ├── operator-install-3.png │ │ ├── operator-install-4.png │ │ ├── operator-install-5.png │ │ ├── operator-install-6.png │ │ ├── operator-install-7.png │ │ ├── operatorhub.png │ │ ├── operatorhub_2.png │ │ ├── operaturhub_1.png │ │ ├── pipeline-diagram.svg │ │ ├── pipeline.png │ │ ├── pipeline_image.png │ │ ├── pipeline_resources.png │ │ ├── pipeline_resources_tasks.png │ │ ├── pipelines_namespace.png │ │ ├── spring-petclinic-deployed.png │ │ ├── steps_tasks_pipeline.png │ │ ├── task_image.png │ │ ├── tekton_architecture.png │ │ └── tekton_architecture.svg │ ├── assembly_cli-reference.html │ ├── assembly_installing-pipelines.html │ ├── assembly_understanding-openshift-pipelines.html │ ├── assembly_using-pipelines.html │ ├── con-pipeline-resource-types.html │ ├── con_pipeline-cluster-resource.html │ ├── con_pipeline-git-resources.html │ ├── con_pipeline-image-resources.html │ ├── con_pipeline-pull-request-resources.html │ ├── con_pipeline-task.html │ ├── con_pipelines-concepts.html │ ├── index.html │ ├── node_modules │ │ └── @antora │ │ │ └── expand-path-helper │ │ │ └── CHANGELOG.html │ ├── proc_assembling-a-pipeline.html │ ├── proc_checking-pipeline-and-application-status.html │ ├── proc_defining-and-creating-pipeline-tasks.html │ ├── proc_defining-and-creating-pipelineresources.html │ ├── proc_deploying-an-application-to-openshift.html │ ├── proc_installing-cli.html │ ├── proc_installing-pipelines-operator.html │ ├── proc_triggering-and-running-a-pipeline.html │ ├── proc_uninstalling-pipelines-operator.html │ ├── proc_working-with-pipelines-using-developer-perspective.html │ └── ref_cli-reference.html ├── 0.7 │ ├── _images │ │ ├── deployment_complete.png │ │ ├── initiate_deployment.png │ │ ├── openshift_pipelines_blank_status.png │ │ ├── openshift_pipelines_create_name_project.png │ │ ├── openshift_pipelines_create_new.png │ │ ├── openshift_pipelines_create_project.png │ │ ├── openshift_pipelines_delete_operator.png │ │ ├── openshift_pipelines_install_overview.png │ │ ├── openshift_pipelines_install_subscription.png │ │ ├── openshift_pipelines_installed.png │ │ ├── openshift_pipelines_installed_tile.png │ │ ├── openshift_pipelines_operator_crd_editor.png │ │ ├── openshift_pipelines_operator_tiles.png │ │ ├── openshift_pipelines_show_community_operator.png │ │ ├── openshift_pipelines_subscription_installing.png │ │ ├── openshift_pipelines_terminating.png │ │ ├── openshift_pipelines_workloads_pods.png │ │ ├── operator-install-1.png │ │ ├── operator-install-2.png │ │ ├── operator-install-3.png │ │ ├── operator-install-4.png │ │ ├── operator-install-5.png │ │ ├── operator-install-6.png │ │ ├── operator-install-7.png │ │ ├── operatorhub.png │ │ ├── operatorhub_2.png │ │ ├── operaturhub_1.png │ │ ├── pipeline-diagram.svg │ │ ├── pipeline.png │ │ ├── pipeline_image.png │ │ ├── pipeline_list.png │ │ ├── pipeline_overview.png │ │ ├── pipeline_resources.png │ │ ├── pipeline_resources_tasks.png │ │ ├── pipeline_run.png │ │ ├── pipelines_namespace.png │ │ ├── spring-petclinic-deployed.png │ │ ├── steps_tasks_pipeline.png │ │ ├── task_image.png │ │ ├── tekton_architecture.png │ │ └── tekton_architecture.svg │ ├── assembly_cli-reference.html │ ├── assembly_installing-pipelines.html │ ├── assembly_understanding-openshift-pipelines.html │ ├── assembly_using-pipelines.html │ ├── con-pipeline-resource-types.html │ ├── con_pipeline-cluster-resource.html │ ├── con_pipeline-git-resources.html │ ├── con_pipeline-image-resources.html │ ├── con_pipeline-pull-request-resources.html │ ├── con_pipeline-task.html │ ├── con_pipelines-concepts.html │ ├── index.html │ ├── node_modules │ │ └── @antora │ │ │ └── expand-path-helper │ │ │ └── CHANGELOG.html │ ├── proc_assembling-a-pipeline.html │ ├── proc_checking-pipeline-and-application-status.html │ ├── proc_defining-and-creating-pipeline-tasks.html │ ├── proc_defining-and-creating-pipelineresources.html │ ├── proc_deploying-an-application-to-openshift.html │ ├── proc_installing-cli.html │ ├── proc_installing-pipelines-operator.html │ ├── proc_triggering-and-running-a-pipeline.html │ ├── proc_uninstalling-pipelines-operator.html │ ├── proc_working-with-pipelines-using-developer-perspective.html │ ├── ref_cli-reference.html │ └── release_notes_0.7.html └── 0.8 │ ├── _images │ ├── application-deployed.png │ ├── deployment_complete.png │ ├── initiate_deployment.png │ ├── openshift_pipelines_blank_status.png │ ├── openshift_pipelines_create_name_project.png │ ├── openshift_pipelines_create_new.png │ ├── openshift_pipelines_create_project.png │ ├── openshift_pipelines_delete_operator.png │ ├── openshift_pipelines_install_overview.png │ ├── openshift_pipelines_install_subscription.png │ ├── openshift_pipelines_installed.png │ ├── openshift_pipelines_installed_tile.png │ ├── openshift_pipelines_operator_crd_editor.png │ ├── openshift_pipelines_operator_tiles.png │ ├── openshift_pipelines_show_community_operator.png │ ├── openshift_pipelines_subscription_installing.png │ ├── openshift_pipelines_terminating.png │ ├── openshift_pipelines_workloads_pods.png │ ├── operator-install-1.png │ ├── operator-install-2.png │ ├── operator-install-3.png │ ├── operator-install-4.png │ ├── operator-install-5.png │ ├── operator-install-6.png │ ├── operator-install-7.png │ ├── operatorhub.png │ ├── operatorhub_2.png │ ├── operaturhub_1.png │ ├── pipeline-diagram.svg │ ├── pipeline.png │ ├── pipeline_image.png │ ├── pipeline_list.png │ ├── pipeline_overview.png │ ├── pipeline_resources.png │ ├── pipeline_resources_tasks.png │ ├── pipeline_run.png │ ├── pipelines_namespace.png │ ├── spring-petclinic-deployed.png │ ├── steps_tasks_pipeline.png │ ├── task_image.png │ ├── tekton_architecture.png │ └── tekton_architecture.svg │ ├── assembly_cli-reference.html │ ├── assembly_installing-pipelines.html │ ├── assembly_using-pipelines.html │ ├── con-pipeline-resource-types.html │ ├── con_pipeline-cluster-resource.html │ ├── con_pipeline-git-resources.html │ ├── con_pipeline-image-resources.html │ ├── con_pipeline-pull-request-resources.html │ ├── con_pipeline-task.html │ ├── con_pipelines-concepts.html │ ├── index.html │ ├── proc_assembling-a-pipeline.html │ ├── proc_checking-pipeline-and-application-status.html │ ├── proc_defining-and-creating-pipeline-tasks.html │ ├── proc_defining-and-creating-pipelineresources.html │ ├── proc_deploying-an-application-to-openshift.html │ ├── proc_installing-cli.html │ ├── proc_installing-pipelines-operator-in-web-console.html │ ├── proc_installing-pipelines-operator-using-the-cli.html │ ├── proc_triggering-and-running-a-pipeline.html │ ├── proc_uninstalling-pipelines-operator.html │ ├── proc_working-with-pipelines-using-developer-perspective.html │ ├── ref_cli-reference.html │ └── release_notes_0.8.html ├── docs_build.sh ├── gulpfile.js ├── index.html ├── old_bin ├── ant-include.sh ├── asciidoc-coalescer.rb ├── createFile.sh └── quick-build.sh ├── package-lock.json ├── package.json ├── site.yml ├── sitemap.xml └── ui-bundle.zip /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug Report 3 | about: Create a report to help us improve documentation 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the Bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **Steps to Reproduce** 14 | 1. 15 | 2. 16 | 3. 17 | 18 | **Expected Behavior** 19 | A clear and concise description of what you expected to happen. 20 | 21 | 22 | 23 | **Additional context** 24 | Add any other context about the problem here. If applicable, add screenshots to help explain your problem. -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Request 3 | about: Suggest an idea for this documentation repository 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. 12 | 13 | **Describe the solution you would like to see** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Additional context** 17 | Add any other context or screenshots about the feature request here. 18 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull-request-template.md: -------------------------------------------------------------------------------- 1 | 6 | 7 | ## Proposed Changes 8 | 9 | - 10 | - 11 | - 12 | 13 | ## Description 14 | - Fixes Issue # 15 | - Version: 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /public/ 3 | /build/ -------------------------------------------------------------------------------- /.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/.nojekyll -------------------------------------------------------------------------------- /404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Page Not Found :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 |
12 | 18 |
19 |
20 | 47 |
48 | 54 |
55 |

Page Not Found

56 |
57 |

The page you’re looking for does not exist. It may have been moved.

58 |
59 |
60 |

If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken. 61 | If you typed the URL of this page manually, please double check that you entered the address correctly.

62 |
63 |
64 |
65 |
66 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- 1 | = Openshift Pipelines Documentation 2 | 3 | WARNING: This documentation repo has been deprecated. Please visit this link:https://docs.openshift.com/container-platform/latest/pipelines/understanding-openshift-pipelines.html[OpenShift Pipelines documentation]. 4 | 5 | Welcome to the source file repository for OpenShift Pipelines documentation. 6 | 7 | OpenShift Pipelines is a cloud-native CI/CD solution built for Kubernetes and is based on the upstream Tekton project (previously known as Knative Build). 8 | It complements the Jenkins images that are shipped with OpenShift (OCP). 9 | 10 | The operator for OpenShift Pipelines is available in the OpenShift OperatorHub. 11 | To try out OpenShift Pipelines, obtain an OCP cluster by visiting link:https://cloud.redhat.com[cloud.redhat.com] or link:https://rhpds.redhat.com[rhpds.redhat.com]. 12 | 13 | 14 | --- 15 | 16 | == Questions and Feedback 17 | 18 | * For questions and feedback please join the pipelines-interest@redhat.com mailing list. 19 | * If you would like to contribute a fix or add new content to the documentation, you can submit an issue or pull request. Please see our link:contributing/con_contributing-documentation.md[contributor guidelines] for information on how you can help. 20 | 21 | 22 | == Resources 23 | 24 | For more information on OpenShift Pipelines, please check out the following links: 25 | 26 | * link:https://docs.google.com/presentation/d/1E6FChdbIrMHlynF-yvEMrTiAnR8rwMdvebBxPgdcmrE/edit#slide=id.g547716335e_0_260[OpenShift Pipelines Overview Presentation] 27 | 28 | * link:https://github.com/openshift/pipelines-tutorial/[OpenShift Pipelines Tutorial] 29 | 30 | * link:https://github.com/tektoncd/pipeline/tree/master/docs[Tekton Documentation] 31 | 32 | * link:https://github.com/tektoncd/cli/tree/v0.1.2[Tekton CLI Download] 33 | -------------------------------------------------------------------------------- /_/font/roboto-latin-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-400.woff -------------------------------------------------------------------------------- /_/font/roboto-latin-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-400.woff2 -------------------------------------------------------------------------------- /_/font/roboto-latin-400italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-400italic.woff -------------------------------------------------------------------------------- /_/font/roboto-latin-400italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-400italic.woff2 -------------------------------------------------------------------------------- /_/font/roboto-latin-500.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-500.woff -------------------------------------------------------------------------------- /_/font/roboto-latin-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-500.woff2 -------------------------------------------------------------------------------- /_/font/roboto-latin-500italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-500italic.woff -------------------------------------------------------------------------------- /_/font/roboto-latin-500italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-latin-500italic.woff2 -------------------------------------------------------------------------------- /_/font/roboto-mono-latin-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-mono-latin-400.woff -------------------------------------------------------------------------------- /_/font/roboto-mono-latin-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-mono-latin-400.woff2 -------------------------------------------------------------------------------- /_/font/roboto-mono-latin-500.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-mono-latin-500.woff -------------------------------------------------------------------------------- /_/font/roboto-mono-latin-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/_/font/roboto-mono-latin-500.woff2 -------------------------------------------------------------------------------- /_/img/back.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/img/caret.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/img/chevron.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/img/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/img/home-o.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/img/home.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/img/menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_/js/site.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var n=document.querySelector(".nav-container"),i=document.querySelector(".nav-toggle");i.addEventListener("click",function(e){if(i.classList.contains("is-active"))return r(e);var t=document.documentElement;t.classList.add("is-clipped--nav"),i.classList.add("is-active"),n.classList.add("is-active"),t.addEventListener("click",r),l(e)}),n.addEventListener("click",l);var e=n.querySelector("[data-panel=menu]");if(e){var t,a,c=n.querySelector(".nav"),s=e.querySelector(".is-current-page");s?(function(e){var t,n=e.parentNode;for(;!(t=n.classList).contains("nav-menu");)"LI"===n.tagName&&t.contains("nav-item")&&t.add("is-active","is-current-path"),n=n.parentNode;e.classList.add("is-active")}(s),function(e,t){var n=e.getBoundingClientRect(),i=n.height,a=window.getComputedStyle(c);"sticky"===a.position&&(i-=n.top-parseFloat(a.top));e.scrollTop=Math.max(0,.5*(t.getBoundingClientRect().height-i)+t.offsetTop)}(e,s.querySelector(".nav-link"))):e.scrollTop=0,(t=e,a=".nav-item-toggle",[].slice.call(t.querySelectorAll(a))).forEach(function(e){var t=e.parentElement;e.addEventListener("click",o.bind(t));var n=function(e,t){var n;if("nextElementSibling"in e)n=e.nextElementSibling;else for(n=e;(n=n.nextSibling)&&1!==n.nodeType;);return n&&t?n[n.matches?"matches":"msMatchesSelector"](t)&&n:n}(e,".nav-text");n&&(n.style.cursor="pointer",n.addEventListener("click",o.bind(t)))}),c.querySelector(".context").addEventListener("click",function(){var e=c.querySelector(".is-active[data-panel]"),t="menu"===e.dataset.panel?"explore":"menu";e.classList.toggle("is-active"),c.querySelector("[data-panel="+t+"]").classList.toggle("is-active")}),e.addEventListener("mousedown",function(e){1". 36 | 37 | 38 | ## Raising an Issue 39 | 40 | GitHub issues can be used to report bugs or submit feature requests. 41 | 42 | When reporting an issue, you can use the [applicable issue reporting template](https://github.com/openshift/pipelines-docs/issues/new/choose). Please include the following information: 43 | 44 | * The version of the project you are using (version number, git commit, etc.) 45 | * Operating system you are using 46 | * The exact, minimal, steps needed to reproduce the issue. 47 | 48 | 49 | ## Put in a Pull Request 50 | 51 | Make a pull request (PR) to add content to the repository. When making a PR, ensure you include: 52 | 53 | * A description of what the PR fixes 54 | * Associated issue# and issue title (if applicable) 55 | * The version of the project you are using (version number, git commit, etc.) 56 | * Operating system you are using 57 | 58 | See [here](/contributing/proc_git-setup.md) for more information on using Git and making pull requests. 59 | 60 | ## Updating Documentation 61 | The source documentation files are located in the version branches in the `pipelines-docs/modules/ROOT/pages/` directory. To access them, checkout the op--master, for example op-0.8-master, and navigate to the pipelines-docs/modules/ROOT/pages/ directory. 62 | 63 | This repository uses Antora to publish the documentation and we use asciidoc markup language. 64 | 65 | The documentation follows the [modular documentation guidelines](https://redhat-documentation.github.io/modular-docs/#introduction). 66 | 67 | There are four types of content: 68 | * proc: Files appended with proc are Procedural modules 69 | * con: Files appended with con are concept modules 70 | * ref: Files appended with ref are reference modules 71 | * Assembly: Files appended with assembly are master docs for a particular section. They are a collection of the modules in a section, and contain a list of `include files` that are a part of that assembly/section. 72 | 73 | The `index.adoc` file is the first landing page in the rendered version of the documentation. 74 | 75 | The following sections describe how you can update existing content, verify, and publish your documentation. It also covers instructions on creating new Version branches. 76 | 77 | ### Modifying existing documentation 78 | 79 | ### Prerequisites 80 | You must: 81 | * Fork and clone this repository. 82 | * Install [Antora](https://docs.antora.org). 83 | * Install [AsciiDoctor](https://asciidoctor.org/). 84 | * Use [AsciiDoc](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/). 85 | 86 | ### Procedure 87 | To update existing documentation: 88 | 89 | 1. Checkout the product version branch you want to update, for example: 90 | 91 | ``` 92 | git checkout op--master 93 | ``` 94 | 1. Ensure that your forked repository is in sync with the **openshift/pipelines-docs** repository: 95 | 96 | ``` 97 | git fetch && git reset --hard /op--master 98 | ``` 99 | 1. Checkout a new feature branch with a name relevant to the update you want to make, for example: 100 | 101 | ``` 102 | git checkout -b update_links 103 | ``` 104 | 1. Make changes to the documentation. 105 | 106 | 1. To add a new module to the repository, add the module to the `/modules/ROOT/nav.adoc` file in the following format: 107 | `* xref:[ ]`. 108 | The number of asterisks (*) represents the heading level. 109 | 110 | 1. [Preview the documentation on the branch.](#preview_on_branch) 111 | 1. Push the changes to your fork's feature branch. 112 | 1. Submit a PR against `openshift/pipelines-docs/`. 113 | 1. After the PR is merged, [render and publish the documentation set in the master branch](#full_render). 114 | 115 | ## Previewing the rendered documentation. 116 | 1. Checkout to the branch from which you are raisng the PR or with the source files for the documentation you want to preview. 117 | 1. To build the docs run: 118 | 119 | ``` 120 | antora local-site.yml && build/site/index.html 121 | ``` 122 | 123 | ## Rendering and publishing the OpenShift Pipelines documentation set 124 | 125 | 1. Checkout to the **master** branch 126 | 127 | :warning: If you created documentation for an unpublished version, in the `site.yml` file: 128 | 1. On the line `branches: []`, add the name of the branch containing the new version of the documentation. 129 | 1. Edit the `` in the `start_page: @docs::index.adoc` to the latest version number. 130 | 131 | 1. Run the `./docs_build.sh` script. 132 | 1. Run `$ index.html` to review the generated content. 133 | 1. Submit a PR against **openshift/pipelines-docs** repository. 134 | 135 | 136 | ## Creating documentation for a new version of OpenShift Pipelines 137 | 138 | 139 | To create a new Version branch and publish it with updated documentation using the CLI: 140 | 141 | 1. In the fork, checkout to the branch with the documentation for the last version of OpenShift Pipelines, for example, for `op-0.8-master`, run: 142 | 143 | ``` 144 | git fetch --all && git checkout op-0.8-master 145 | ``` 146 | 1. Reset the branch to be in sync with the `openshift/pipelines-docs` repository. 147 | 148 | ``` 149 | git reset --hard /op--master 150 | ``` 151 | 1. Create a new Version branch for the new version of the documentation, naming the branch in the following format: `op--master`. 152 | 153 | ``` 154 | git checkout -B op--master 155 | ``` 156 | 1. In the new version branch, edit the `version` in `antora.yml` file. This file is specific to each branch and is not present in the Master. 157 | 1. Push the changes to your fork and submit a PR to create an equivalent branch in the `openshift/pipelines-docs` repository. 158 | 1. To [verify that the new version of the documentation renders properly and publish](#full_render). Ensure that you update the `site.yml` in the `master` branch as described in the steps. 159 | 1. To modify the documentation continue from Step 3 in the [Modifying existing documentation](#existing_docs). 160 | 161 | To create a branch using the GUI: 162 | 1. Select the latest version branch on which you want to base the new version from the **Branch** drop down on the top-left. 163 | 164 | **Note**: Do not base your new version branch on the Master. Master does not have the Modules/Root folder that gives you access to the root docs. 165 | 1. Click the **Branch** drop down and type the name of the new version branch you want to create in the **Find or Create a branch** field, and click **Create branch: to create the branch. This automatically creates a **Compare & Pull Request**, ignore it. 166 | 167 | 168 | ## Code of Conduct 169 | 170 | Examples of behavior that contributes to creating a positive environment include: 171 | 172 | * Using welcoming and inclusive language 173 | * Focusing on what is best for the community 174 | * Being respectful of differing viewpoints and experiences 175 | * Gracefully accepting constructive criticism 176 | 177 | This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org/version/1/4). 178 | -------------------------------------------------------------------------------- /contributing/proc_git-setup.md: -------------------------------------------------------------------------------- 1 | # Using Git 2 | 3 | This guide explains how to set up your system to connect to the proper git repositories. 4 | 5 | `openshift/pipelines-docs` is a public GitHub repository that hosts the OpenShift Pipelines documentation. 6 | 7 | * [Installing Git](#Installing-Git) 8 | * [Configuring Git](#Configuring-Git) 9 | * [Fork the upstream repository](#Fork-the-upstream-(GitHub)-repository) 10 | * [Add your SSH keys](#Add-your-SSH-keys-to-GitHub) 11 | * [Updating repository URLs](#Updating-repository-URLs) 12 | * [Accessing unmerged commits](#Accessing-another-writer’s-unmerged-commits) 13 | * [Additional resources](#Additional-resources) 14 | 15 | ---------------------------- 16 | ### Installing Git 17 | 18 | If using Fedora, open your terminal and enter the proper installation command. 19 | 20 | #### Fedora 21 | For installation use: 22 | 23 | Up to Fedora 21 24 | ``` 25 | $ yum install git 26 | ``` 27 | Fedora 22 and later 28 | ``` 29 | $ dnf install git 30 | ``` 31 | 32 | #### Other operating systems 33 | 34 | * [Download Git](https://git-scm.com/downloads) 35 | 36 | 37 | ----------------------------------------- 38 | ### Configuring Git 39 | 40 | Once you have Git installed, set up your Git account. 41 | 42 | #### Procedure 43 | 1. Open **Terminal** 44 | 2. Set your name and email 45 | 46 | ``` 47 | $ git config --global user.name "" 48 | $ git config --global user.email "" 49 | ``` 50 | 51 | > **TIP:** The email you specify should be the same one found in your [email settings](https://help.github.com/articles/adding-an-email-address-to-your-github-account/). To keep your email address hidden, see [Keeping your email address private](https://help.github.com/articles/keeping-your-email-address-private). 52 | 53 | 3. Set your Git defaults 54 | 55 | ``` 56 | $ git config --global pull.rebase true 57 | $ git config --global push.default simple 58 | ``` 59 | 60 | ----------------------------------------- 61 | ### Fork the upstream (GitHub) repository 62 | 63 | Fork the `openshift/pipelines-docs` upstream repository to create a copy under your own GitHub ID. Clone your forked repository to bring your GitHub repository files to your local machine. Your forked repository is now the `origin` repository for your local files. 64 | 65 | #### Procedure 66 | 1. Open a browser and navigate to the upstream repository located at https://github.com/openshift/pipelines-docs.git 67 | 2. Click **Fork** located in the upper right under your profile icon. 68 | 3. Select your user account for the location of the forked repository. This creates your own copy of the repository under your own GitHub ID. 69 | 70 | > **NOTE:** For more information on [forking](https://help.github.com/articles/fork-a-repo/) and [cloning](https://help.github.com/articles/cloning-a-repository/), consult the official [documentation](https://help.github.com/). 71 | 72 | 73 | ----------------------------------------- 74 | ### Add your SSH keys to GitHub 75 | If you choose to use the SSH address for your clones, you will need to add an SSH Key to GitHub first. 76 | 77 | #### Procedure 78 | 1. Open the *Terminal*. 79 | 2. Check to see if you have a public SSH key: 80 | 81 | ```` 82 | $ ls ~/.ssh/ 83 | ```` 84 | 3. If you do not have a key, generate one: 85 | 86 | ``` 87 | $ ssh-keygen -t rsa -C "" 88 | ``` 89 | 4. Open your key in an editor: 90 | 91 | ``` 92 | $ cd ~/.ssh/ 93 | $ vi id_rsa.pub 94 | ``` 95 | 5. Copy the contents of the file to your clipboard. 96 | 6. Visit [https://github.com/settings/keys](https://github.com/settings/keys) 97 | 7. Click **New SSH Key**. 98 | 8. Name your key and paste the contents of your key file. 99 | 9. Click **Add SSH Key**. 100 | 101 | 102 | ----------------------------------------- 103 | ### Updating repository URLs 104 | 105 | If the upstream repository is moved, you can change the downstream URL by using the following command: 106 | 107 | ``` 108 | $ git remote set-url upstream https://github.com/ 109 | ``` 110 | 111 | Use the following command any time you need to fetch the latest source code locally: 112 | 113 | ``` 114 | $ git fetch upstream 115 | ``` 116 | 117 | 118 | ------------------------------------------ 119 | ### Accessing another writer’s unmerged commits 120 | 121 | This is the process you can use if you need commits another writer has submitted that is not yet merged. 122 | 123 | 1. Check out a new topic branch from upstream/master as you normally do. 124 | 125 | ``` 126 | $ git fetch upstream 127 | $ git checkout -b upstream/master 128 | ``` 129 | 130 | 2. If you have not yet added that writer’s remote repository, add it now. 131 | 132 | ``` 133 | $ git remote add -f git@github.com:/strimzi-kafka-operator.git 134 | ``` 135 | 136 | 3. Rebase to bring in the changes that are in that user’s outstanding 137 | `origin/` branch. 138 | 139 | ``` 140 | $ git rebase / 141 | ``` 142 | 143 | --------------------------------------- 144 | ### Additional resources 145 | 146 | * [Official Git Site](https://git-scm.com) 147 | * [GitHub Help](http://help.github.com) 148 | -------------------------------------------------------------------------------- /contributing/ref_documentation-styling.md: -------------------------------------------------------------------------------- 1 | # Style Guidelines 2 | 3 | ## General Quick Reference 4 | 5 | |Item |Use |Not 6 | --- |--- |--- | 7 | |Filesystem names and paths, symbols, and literals |\`filename` | 8 | |GUI items (_Match the capitalization of the button_) |**bold** | 9 | |Navigation link text |**bold** | 10 | |Superuser console commands | $ sudo |# 11 | |Emphasis |\_yay\_ |\*yay\* 12 | |Decimal integers < 10 |five |5 13 | |Decimal integers >= 10 |15 |fifteen 14 | |Number ranges (_always use numerals_) |1-20 |1-twenty 15 | |Do not use Latin abbreviations |that is |i.e. 16 | -------------------------------------------------------------------------------- /docs/0.10.5/_images/deployment_complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/deployment_complete.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/initiate_deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/initiate_deployment.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_blank_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_blank_status.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_create_name_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_create_name_project.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_create_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_create_new.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_create_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_create_project.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_delete_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_delete_operator.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_install_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_install_overview.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_install_subscription.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_install_subscription.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_installed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_installed.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_installed_tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_installed_tile.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_operator_crd_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_operator_crd_editor.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_operator_tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_operator_tiles.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_show_community_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_show_community_operator.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_subscription_installing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_subscription_installing.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_terminating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_terminating.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/openshift_pipelines_workloads_pods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/openshift_pipelines_workloads_pods.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-1.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-2.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-3.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-4.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-5.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-6.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operator-install-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operator-install-7.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operatorhub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operatorhub.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operatorhub_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operatorhub_2.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/operaturhub_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/operaturhub_1.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_details.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_details.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_image.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_import_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_import_flow.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_list.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_resources.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_resources.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_resources_tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_resources_tasks.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_run.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipeline_topology.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipeline_topology.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/pipelines_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/pipelines_namespace.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/spring-petclinic-deployed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/spring-petclinic-deployed.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/steps_tasks_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/steps_tasks_pipeline.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/task_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/task_image.png -------------------------------------------------------------------------------- /docs/0.10.5/_images/tekton_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.10.5/_images/tekton_architecture.png -------------------------------------------------------------------------------- /docs/0.5/_images/deployment_complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/deployment_complete.png -------------------------------------------------------------------------------- /docs/0.5/_images/initiate_deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/initiate_deployment.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_blank_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_blank_status.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_create_name_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_create_name_project.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_create_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_create_new.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_create_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_create_project.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_delete_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_delete_operator.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_install_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_install_overview.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_install_subscription.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_install_subscription.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_installed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_installed.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_installed_tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_installed_tile.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_operator_crd_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_operator_crd_editor.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_operator_tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_operator_tiles.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_show_community_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_show_community_operator.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_subscription_installing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_subscription_installing.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_terminating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_terminating.png -------------------------------------------------------------------------------- /docs/0.5/_images/openshift_pipelines_workloads_pods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/openshift_pipelines_workloads_pods.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-1.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-2.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-3.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-4.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-5.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-6.png -------------------------------------------------------------------------------- /docs/0.5/_images/operator-install-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operator-install-7.png -------------------------------------------------------------------------------- /docs/0.5/_images/operatorhub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operatorhub.png -------------------------------------------------------------------------------- /docs/0.5/_images/operatorhub_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operatorhub_2.png -------------------------------------------------------------------------------- /docs/0.5/_images/operaturhub_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/operaturhub_1.png -------------------------------------------------------------------------------- /docs/0.5/_images/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/pipeline.png -------------------------------------------------------------------------------- /docs/0.5/_images/pipeline_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/pipeline_image.png -------------------------------------------------------------------------------- /docs/0.5/_images/pipeline_resources.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/pipeline_resources.png -------------------------------------------------------------------------------- /docs/0.5/_images/pipeline_resources_tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/pipeline_resources_tasks.png -------------------------------------------------------------------------------- /docs/0.5/_images/pipelines_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/pipelines_namespace.png -------------------------------------------------------------------------------- /docs/0.5/_images/spring-petclinic-deployed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/spring-petclinic-deployed.png -------------------------------------------------------------------------------- /docs/0.5/_images/steps_tasks_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/steps_tasks_pipeline.png -------------------------------------------------------------------------------- /docs/0.5/_images/task_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/task_image.png -------------------------------------------------------------------------------- /docs/0.5/_images/tekton_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.5/_images/tekton_architecture.png -------------------------------------------------------------------------------- /docs/0.5/con-pipeline-resource-types.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pipeline Resource types :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 150 |
151 |

Pipeline Resource types

152 |
153 |

PipelineResources are a set of objects that are used as inputs to a Task and can be output by a Task. A Task can have multiple inputs and outputs.

154 |
155 |
156 |

The following PipelineResources are currently supported:

157 |
158 |
159 |
    160 |
  • 161 |

    Git Resource

    162 |
  • 163 |
  • 164 |

    Pull Request Resource

    165 |
  • 166 |
  • 167 |

    Image Resource

    168 |
  • 169 |
  • 170 |

    Cluster Resource

    171 |
  • 172 |
173 |
174 |
175 |

pipeline resources tasks

176 |
177 |
178 |

To define a configuration file for PipelineResources, you must specify the following fields:

179 |
180 |
181 |

Required:

182 |
183 |
184 |
    185 |
  • 186 |

    apiVersion- Specifies the API version.

    187 |
  • 188 |
  • 189 |

    kind - Specifies the PipelineResource resource object.

    190 |
  • 191 |
  • 192 |

    metadata - Specifies data to uniquely identify the PipelineResource object, for example a name.

    193 |
  • 194 |
  • 195 |

    spec- Specifies the configuration information for the PipelineResource object.

    196 |
  • 197 |
  • 198 |

    type - Specifies the type of PipelineResource.

    199 |
  • 200 |
201 |
202 |
203 |

Optional:

204 |
205 |
206 |
    207 |
  • 208 |

    params - Parameters which are specific to each type of PipelineResource.

    209 |
  • 210 |
211 |
212 |
213 |
214 |
215 |
216 |

The Pipelines Documentation page is built using Antora

217 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

218 |
219 | 220 | 221 | 222 | 223 | -------------------------------------------------------------------------------- /docs/0.5/con_pipeline-pull-request-resources.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pull Request resource :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 151 |
152 |

Pull Request resource

153 |
154 |

A Pull Request resource represents a pull request event from a source control system. Adding the Pull Request resource as an input to a Task populates the workspace with a set of files containing generic pull request related metadata such as base/head commit, comments, and labels.

155 |
156 |
157 |

Adding the Pull Request resource as an output of a Task updates the source control system.

158 |
159 |
160 |
Example file structure:
161 |
162 |
/workspace/
163 | /workspace/<resource>/
164 | /workspace/<resource>/labels/
165 | /workspace/<resource>/labels/<label>
166 | /workspace/<resource>/status/
167 | /workspace/<resource>/status/<status>
168 | /workspace/<resource>/comments/
169 | /workspace/<resource>/comments/<comment>
170 | /workspace/<resource>/head
171 | /workspace/<resource>/base
172 |
173 |
174 |
175 |
176 |
177 |
178 |

The Pipelines Documentation page is built using Antora

179 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

180 |
181 | 182 | 183 | 184 | 185 | -------------------------------------------------------------------------------- /docs/0.5/con_pipelines-concepts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pipelines concepts :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 149 |
150 |

Pipelines concepts

151 |
152 |

The Custom Resource Definitions (CRDs) provided by OpenShift Pipelines include: Task,Pipeline,PipelineRun, TaskRun, and PipelineResource.

153 |
154 |
155 |
    156 |
  • 157 |

    A Task is the smallest configurable unit in a Pipeline and is essentially a function of inputs and outputs that inform the Pipeline build. It can run individually or as a part of a Pipeline. A Pipeline includes one or more Tasks, with a Task consisting of one or more steps. Steps are a series of commands that are sequentially executed by the Task.

    158 |
  • 159 |
  • 160 |

    A Pipeline is a series of Tasks that are executed to build complex workflows that automate the build, deployment and delivery of applications. It is a collection of PipelineResources,Parameters, and one or more Tasks. A Pipeline interacts with the outside world, by using PipelineResources, which are given to Tasks as inputs and outputs.

    161 |
  • 162 |
  • 163 |

    A PipelineRun is used to run and manage the execution of the Pipeline. PipelineRun initiates the creation of a TaskRun for each Task being executed in the Pipeline.

    164 |
  • 165 |
  • 166 |

    TaskRun is auto-created by a PipelineRun for each Task in a Pipeline and results from running an instance of a Task. It can also be manually created if a Task runs outside of a Pipeline.

    167 |
  • 168 |
  • 169 |

    A PipelineResource is an object that is used as an input and output for pipeline Tasks. For example, if an input is a Git repository and an output is a container image built from that Git repository, these are both classified as PipelineResources. PipelineResources currently support Git Resources, Image Resources, Cluster Resources, and Storage Resources.

    170 |
  • 171 |
172 |
173 |
174 |
175 | tekton architecture 176 |
177 |
178 |

Additional resources

179 |
180 | 185 |
186 |
187 |
188 |
189 |
190 |

The Pipelines Documentation page is built using Antora

191 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

192 |
193 | 194 | 195 | 196 | 197 | -------------------------------------------------------------------------------- /docs/0.5/proc_checking-pipeline-and-application-status.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Checking pipeline and application status :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 150 |
151 |

Checking pipeline and application status

152 |
153 |

You can examine the logs for PipelineRuns to verify its status.

154 |
155 |

Procedure

156 |
157 |
    158 |
  1. 159 |

    Check the PipelineRun logs as it runs using the tkn pipeline logs command, which interactively allows you to chose the required pipelinerun and inspect the logs:

    160 |
    161 |
    162 |
    $ tkn pipeline logs -f
    163 | ? Select pipeline : petclinic-deploy-pipeline
    164 | ? Select pipelinerun : petclinic-deploy-pipeline-run-tsv92 started 39 seconds ago
    165 | 
    166 | ...
    167 | [build : nop] Build successful
    168 | [deploy : build-step-oc] deploymentconfig.apps.openshift.io/spring-petclinic rolled out
    169 | [deploy : nop] Build successful
    170 |
    171 |
    172 |
  2. 173 |
  3. 174 |

    Check the Project Status in the OpenShift Web Console to verify that the PetClinic image is successfully built and deployed.

    175 |
    176 |
    177 | Application deployed on OpenShift 178 |
    179 |
    180 |
  4. 181 |
  5. 182 |

    To rerun the last pipelinerun, using the same pipeline resources and service account used in the previous pipeline, use:

    183 |
    184 |
    185 |
    tkn pipeline start petclinic-deploy-pipeline --last
    186 |
    187 |
    188 |
  6. 189 |
190 |
191 |
192 |
193 |
194 |
195 |

The Pipelines Documentation page is built using Antora

196 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

197 |
198 | 199 | 200 | 201 | 202 | -------------------------------------------------------------------------------- /docs/0.5/proc_defining-and-creating-pipelineresources.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Defining and creating pipeline resources :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 150 |
151 |

Defining and creating pipeline resources

152 |
153 |

PipelineResources are artifacts that are used as inputs to a Task and can be output by a Task.

154 |
155 |

Procedure

156 |
157 |

After you create Task s, create PipelineResources that contain the specifics of the Git repository and the image registry to be used in the Pipeline during execution as follows:

158 |
159 |
160 |
    161 |
  1. 162 |

    Create a PipelineResource YAML file with a PipelineResource that defines the Git repository and reference for the PetClinic application as follows:

    163 |
    164 |
    165 |
    apiVersion: tekton.dev/v1alpha1
    166 | kind: PipelineResource
    167 | metadata:
    168 |   name: petclinic-git
    169 | spec:
    170 |   type: git
    171 |   params:
    172 |   - name: url
    173 |     value: https://github.com/spring-projects/spring-petclinic
    174 |
    175 |
    176 |
  2. 177 |
  3. 178 |

    To the above PipelineResource YAML file, add another PipelineResource that defines the OpenShift internal registry to which you want to push the PetClinic image, as shown below, and save it.

    179 |
    180 |
    181 |
    apiVersion: tekton.dev/v1alpha1
    182 | kind: PipelineResource
    183 | metadata:
    184 |   name: petclinic-image
    185 | spec:
    186 |   type: image
    187 |   params:
    188 |   - name: url
    189 |     value: image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/spring-petclinic
    190 |
    191 |
    192 |
  4. 193 |
  5. 194 |

    Create the above pipeline resources as follows:

    195 |
    196 |
    197 |
    $ oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/resources/petclinic-resources.yaml
    198 |
    199 |
    200 |
  6. 201 |
  7. 202 |

    Verify the resources created as follows:

    203 |
    204 |
    205 |
    $ tkn resource ls
    206 | 
    207 | NAME              TYPE    DETAILS
    208 | petclinic-git     git     url: https://github.com/spring-projects/spring-petclinic
    209 | petclinic-image   image   url: image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/spring-petclinic
    210 |
    211 |
    212 |
  8. 213 |
214 |
215 |
216 |
217 |
218 |
219 |

The Pipelines Documentation page is built using Antora

220 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

221 |
222 | 223 | 224 | 225 | 226 | -------------------------------------------------------------------------------- /docs/0.5/proc_triggering-and-running-a-pipeline.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Triggering and running a pipeline :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 150 |
151 |

Triggering and running a pipeline

152 |
153 |

A PipelineRun starts a Pipeline and ties it to the Git and image resources that should be used for the specific invocation.

154 |
155 |

Procedure

156 |
157 |
    158 |
  1. 159 |

    Start the Pipeline as follows:

    160 |
    161 |
    162 |
    $ tkn pipeline start petclinic-deploy-pipeline \
    163 |         -r app-git=petclinic-git \
    164 |         -r app-image=petclinic-image \
    165 |         -s pipeline
    166 | 
    167 | Pipelinerun started: petclinic-deploy-pipeline-run-q62p8
    168 |
    169 |
    170 |
    171 |
      172 |
    • 173 |

      The -r flag specifies the PipelineResource s that should be provided to the pipeline

      174 |
    • 175 |
    • 176 |

      The -s flag specifies the service account to be used for running the pipeline

      177 |
      178 |

      Starting a pipeline instantiates the PipelineRun and creates a number of pods to execute the tasks that are defined in the pipeline. The PipelineRun automatically creates and triggers the TaskRuns for each Task in the pipeline.

      179 |
      180 |
    • 181 |
    182 |
    183 |
  2. 184 |
  3. 185 |

    After a few minutes, verify that the Pipeline ran successfully by listing all the PipelineRuns as follows:

    186 |
    187 |
    188 |
    $ tkn pipeline list
    189 | 
    190 | NAME                        AGE             LAST RUN                              STARTED         DURATION    STATUS
    191 | petclinic-deploy-pipeline   7 minutes ago   petclinic-deploy-pipeline-run-tsv92   5 minutes ago   4 minutes   Succeeded
    192 |
    193 |
    194 |
  4. 195 |
196 |
197 |
198 |
199 |
200 |
201 |

The Pipelines Documentation page is built using Antora

202 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

203 |
204 | 205 | 206 | 207 | 208 | -------------------------------------------------------------------------------- /docs/0.5/proc_uninstalling-pipelines-operator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deleting the project and uninstalling the pipelines operator :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 138 |
139 | 150 |
151 |

Deleting the project and uninstalling the pipelines operator

152 |
153 |

Deleting the Project

154 |
155 |

Procedure

156 |
157 |
    158 |
  1. 159 |

    In the OpenShift Web Console, navigate to Home > Projects .

    160 |
  2. 161 |
  3. 162 |

    Select the pipelines project, on the listed page.

    163 |
  4. 164 |
  5. 165 |

    Right click the menu icon on the pipelines row.

    166 |
  6. 167 |
  7. 168 |

    Select Delete Project.

    169 |
  8. 170 |
  9. 171 |

    Confirm deletion by typing pipelines in the field that appears.

    172 |
  10. 173 |
  11. 174 |

    Click Delete.

    175 |
  12. 176 |
  13. 177 |

    The project is now deleted from the Projects list and cluster.

    178 |
  14. 179 |
180 |
181 |
182 |
183 |
184 |

Uninstalling the pipelines operator

185 |
186 |

Procedure

187 |
188 |
    189 |
  1. 190 |

    Go to Catalog > OperatorHub in the Web Console.

    191 |
  2. 192 |
  3. 193 |

    Click on the OpenShift Pipelines Operator tile. The operator tile will indicate it is installed.

    194 |
  4. 195 |
  5. 196 |

    The Show Community Operator` dialog box will appear. Click Continue to proceed.

    197 |
  6. 198 |
  7. 199 |

    Once, the OpenShift Pipelines Operator descriptor screen appears, click Uninstall.

    200 |
  8. 201 |
  9. 202 |

    Select Also completely remove the Operator from the selected namespace, in the Remove Operator Subscription dialog box.

    203 |
  10. 204 |
  11. 205 |

    Click Remove.

    206 |
  12. 207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |

The Pipelines Documentation page is built using Antora

216 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

217 |
218 | 219 | 220 | 221 | 222 | -------------------------------------------------------------------------------- /docs/0.7/_images/deployment_complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/deployment_complete.png -------------------------------------------------------------------------------- /docs/0.7/_images/initiate_deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/initiate_deployment.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_blank_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_blank_status.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_create_name_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_create_name_project.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_create_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_create_new.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_create_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_create_project.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_delete_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_delete_operator.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_install_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_install_overview.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_install_subscription.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_install_subscription.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_installed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_installed.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_installed_tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_installed_tile.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_operator_crd_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_operator_crd_editor.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_operator_tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_operator_tiles.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_show_community_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_show_community_operator.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_subscription_installing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_subscription_installing.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_terminating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_terminating.png -------------------------------------------------------------------------------- /docs/0.7/_images/openshift_pipelines_workloads_pods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/openshift_pipelines_workloads_pods.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-1.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-2.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-3.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-4.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-5.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-6.png -------------------------------------------------------------------------------- /docs/0.7/_images/operator-install-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operator-install-7.png -------------------------------------------------------------------------------- /docs/0.7/_images/operatorhub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operatorhub.png -------------------------------------------------------------------------------- /docs/0.7/_images/operatorhub_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operatorhub_2.png -------------------------------------------------------------------------------- /docs/0.7/_images/operaturhub_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/operaturhub_1.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline_image.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline_list.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline_overview.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline_resources.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline_resources.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline_resources_tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline_resources_tasks.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipeline_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipeline_run.png -------------------------------------------------------------------------------- /docs/0.7/_images/pipelines_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/pipelines_namespace.png -------------------------------------------------------------------------------- /docs/0.7/_images/spring-petclinic-deployed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/spring-petclinic-deployed.png -------------------------------------------------------------------------------- /docs/0.7/_images/steps_tasks_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/steps_tasks_pipeline.png -------------------------------------------------------------------------------- /docs/0.7/_images/task_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/task_image.png -------------------------------------------------------------------------------- /docs/0.7/_images/tekton_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.7/_images/tekton_architecture.png -------------------------------------------------------------------------------- /docs/0.7/con-pipeline-resource-types.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pipeline Resource types :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 144 |
145 | 156 |
157 |

Pipeline Resource types

158 |
159 |

PipelineResources are a set of objects that are used as inputs to a Task and can be output by a Task. A Task can have multiple inputs and outputs.

160 |
161 |
162 |

The following PipelineResources are currently supported:

163 |
164 |
165 |
    166 |
  • 167 |

    Git Resource

    168 |
  • 169 |
  • 170 |

    Pull Request Resource

    171 |
  • 172 |
  • 173 |

    Image Resource

    174 |
  • 175 |
  • 176 |

    Cluster Resource

    177 |
  • 178 |
179 |
180 |
181 |

pipeline resources tasks

182 |
183 |
184 |

To define a configuration file for PipelineResources, you must specify the following fields:

185 |
186 |
187 |

Required:

188 |
189 |
190 |
    191 |
  • 192 |

    apiVersion- Specifies the API version.

    193 |
  • 194 |
  • 195 |

    kind - Specifies the PipelineResource resource object.

    196 |
  • 197 |
  • 198 |

    metadata - Specifies data to uniquely identify the PipelineResource object, for example a name.

    199 |
  • 200 |
  • 201 |

    spec- Specifies the configuration information for the PipelineResource object.

    202 |
  • 203 |
  • 204 |

    type - Specifies the type of PipelineResource.

    205 |
  • 206 |
207 |
208 |
209 |

Optional:

210 |
211 |
212 |
    213 |
  • 214 |

    params - Parameters which are specific to each type of PipelineResource.

    215 |
  • 216 |
217 |
218 |
219 |
220 |
221 |
222 |

The Pipelines Documentation page is built using Antora

223 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

224 |
225 | 226 | 227 | 228 | 229 | -------------------------------------------------------------------------------- /docs/0.7/con_pipeline-pull-request-resources.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pull Request resource :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 144 |
145 | 157 |
158 |

Pull Request resource

159 |
160 |

A Pull Request resource represents a pull request event from a source control system. Adding the Pull Request resource as an input to a Task populates the workspace with a set of files containing generic pull request related metadata such as base/head commit, comments, and labels.

161 |
162 |
163 |

Adding the Pull Request resource as an output of a Task updates the source control system.

164 |
165 |
166 |
Example file structure:
167 |
168 |
/workspace/
169 | /workspace/<resource>/
170 | /workspace/<resource>/labels/
171 | /workspace/<resource>/labels/<label>
172 | /workspace/<resource>/status/
173 | /workspace/<resource>/status/<status>
174 | /workspace/<resource>/comments/
175 | /workspace/<resource>/comments/<comment>
176 | /workspace/<resource>/head
177 | /workspace/<resource>/base
178 |
179 |
180 |
181 |
182 |
183 |
184 |

The Pipelines Documentation page is built using Antora

185 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

186 |
187 | 188 | 189 | 190 | 191 | -------------------------------------------------------------------------------- /docs/0.7/proc_checking-pipeline-and-application-status.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Checking pipeline and application status :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 144 |
145 | 156 |
157 |

Checking pipeline and application status

158 |
159 |

You can examine the logs for PipelineRuns to verify its status.

160 |
161 |

Procedure

162 |
163 |
    164 |
  1. 165 |

    Check the PipelineRun logs as it runs using the tkn pipeline logs command, which interactively allows you to chose the required pipelinerun and inspect the logs:

    166 |
    167 |
    168 |
    $ tkn pipeline logs -f
    169 | ? Select pipeline : petclinic-deploy-pipeline
    170 | ? Select pipelinerun : petclinic-deploy-pipeline-run-tsv92 started 39 seconds ago
    171 | 
    172 | ...
    173 | [build : nop] Build successful
    174 | [deploy : build-step-oc] deploymentconfig.apps.openshift.io/spring-petclinic rolled out
    175 | [deploy : nop] Build successful
    176 |
    177 |
    178 |
  2. 179 |
  3. 180 |

    Check the Project Status in the OpenShift Web Console to verify that the PetClinic image is successfully built and deployed.

    181 |
    182 |
    183 | Application deployed on OpenShift 184 |
    185 |
    186 |
  4. 187 |
  5. 188 |

    To rerun the last pipelinerun, using the same pipeline resources and service account used in the previous pipeline, use:

    189 |
    190 |
    191 |
    tkn pipeline start petclinic-deploy-pipeline --last
    192 |
    193 |
    194 |
  6. 195 |
196 |
197 |
198 |
199 |
200 |
201 |

The Pipelines Documentation page is built using Antora

202 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

203 |
204 | 205 | 206 | 207 | 208 | -------------------------------------------------------------------------------- /docs/0.8/_images/deployment_complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/deployment_complete.png -------------------------------------------------------------------------------- /docs/0.8/_images/initiate_deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/initiate_deployment.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_blank_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_blank_status.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_create_name_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_create_name_project.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_create_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_create_new.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_create_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_create_project.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_delete_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_delete_operator.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_install_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_install_overview.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_install_subscription.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_install_subscription.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_installed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_installed.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_installed_tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_installed_tile.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_operator_crd_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_operator_crd_editor.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_operator_tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_operator_tiles.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_show_community_operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_show_community_operator.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_subscription_installing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_subscription_installing.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_terminating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_terminating.png -------------------------------------------------------------------------------- /docs/0.8/_images/openshift_pipelines_workloads_pods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/openshift_pipelines_workloads_pods.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-1.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-2.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-3.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-4.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-5.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-6.png -------------------------------------------------------------------------------- /docs/0.8/_images/operator-install-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operator-install-7.png -------------------------------------------------------------------------------- /docs/0.8/_images/operatorhub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operatorhub.png -------------------------------------------------------------------------------- /docs/0.8/_images/operatorhub_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operatorhub_2.png -------------------------------------------------------------------------------- /docs/0.8/_images/operaturhub_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/operaturhub_1.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline_image.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline_list.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline_overview.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline_resources.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline_resources.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline_resources_tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline_resources_tasks.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipeline_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipeline_run.png -------------------------------------------------------------------------------- /docs/0.8/_images/pipelines_namespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/pipelines_namespace.png -------------------------------------------------------------------------------- /docs/0.8/_images/spring-petclinic-deployed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/spring-petclinic-deployed.png -------------------------------------------------------------------------------- /docs/0.8/_images/steps_tasks_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/steps_tasks_pipeline.png -------------------------------------------------------------------------------- /docs/0.8/_images/task_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/task_image.png -------------------------------------------------------------------------------- /docs/0.8/_images/tekton_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/docs/0.8/_images/tekton_architecture.png -------------------------------------------------------------------------------- /docs/0.8/con-pipeline-resource-types.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pipeline Resource types :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 147 |
148 | 159 |
160 |

Pipeline Resource types

161 |
162 |

PipelineResources are a set of objects that are used as inputs to a Task and can be output by a Task. A Task can have multiple inputs and outputs.

163 |
164 |
165 |

The following PipelineResources are currently supported:

166 |
167 |
168 |
    169 |
  • 170 |

    Git Resource

    171 |
  • 172 |
  • 173 |

    Pull Request Resource

    174 |
  • 175 |
  • 176 |

    Image Resource

    177 |
  • 178 |
  • 179 |

    Cluster Resource

    180 |
  • 181 |
182 |
183 |
184 |

pipeline resources tasks

185 |
186 |
187 |

To define a configuration file for PipelineResources, you must specify the following fields:

188 |
189 |
190 |

Required:

191 |
192 |
193 |
    194 |
  • 195 |

    apiVersion- Specifies the API version.

    196 |
  • 197 |
  • 198 |

    kind - Specifies the PipelineResource resource object.

    199 |
  • 200 |
  • 201 |

    metadata - Specifies data to uniquely identify the PipelineResource object, for example a name.

    202 |
  • 203 |
  • 204 |

    spec- Specifies the configuration information for the PipelineResource object.

    205 |
  • 206 |
  • 207 |

    type - Specifies the type of PipelineResource.

    208 |
  • 209 |
210 |
211 |
212 |

Optional:

213 |
214 |
215 |
    216 |
  • 217 |

    params - Parameters which are specific to each type of PipelineResource.

    218 |
  • 219 |
220 |
221 |
222 |
223 |
224 |
225 |

The Pipelines Documentation page is built using Antora

226 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

227 |
228 | 229 | 230 | 231 | 232 | -------------------------------------------------------------------------------- /docs/0.8/con_pipeline-pull-request-resources.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Pull Request resource :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 147 |
148 | 160 |
161 |

Pull Request resource

162 |
163 |

A Pull Request resource represents a pull request event from a source control system. Adding the Pull Request resource as an input to a Task populates the workspace with a set of files containing generic pull request related metadata such as base/head commit, comments, and labels.

164 |
165 |
166 |

Adding the Pull Request resource as an output of a Task updates the source control system.

167 |
168 |
169 |
Example file structure:
170 |
171 |
/workspace/
172 | /workspace/<resource>/
173 | /workspace/<resource>/labels/
174 | /workspace/<resource>/labels/<label>
175 | /workspace/<resource>/status/
176 | /workspace/<resource>/status/<status>
177 | /workspace/<resource>/comments/
178 | /workspace/<resource>/comments/<comment>
179 | /workspace/<resource>/head
180 | /workspace/<resource>/base
181 |
182 |
183 |
184 |
185 |
186 |
187 |

The Pipelines Documentation page is built using Antora

188 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

189 |
190 | 191 | 192 | 193 | 194 | -------------------------------------------------------------------------------- /docs/0.8/proc_checking-pipeline-and-application-status.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Checking pipeline and application status :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 147 |
148 | 159 |
160 |

Checking pipeline and application status

161 |
162 |

You can examine the logs for PipelineRuns to verify its status.

163 |
164 |

Procedure

165 |
166 |
    167 |
  1. 168 |

    Check the PipelineRun logs as it runs using the tkn pipeline logs command, which interactively allows you to chose the required pipelinerun and inspect the logs:

    169 |
    170 |
    171 |
    $ tkn pipeline logs -f
    172 | ? Select pipeline : petclinic-deploy-pipeline
    173 | ? Select pipelinerun : petclinic-deploy-pipeline-run-tsv92 started 39 seconds ago
    174 | 
    175 | ...
    176 | [build : nop] Build successful
    177 | [deploy : build-step-oc] deploymentconfig.apps.openshift.io/spring-petclinic rolled out
    178 | [deploy : nop] Build successful
    179 |
    180 |
    181 |
  2. 182 |
  3. 183 |

    Check the Project Status in the OpenShift Web Console to verify that the PetClinic image is successfully built and deployed.

    184 |
    185 |
    186 | Application deployed on OpenShift 187 |
    188 |
    189 |
  4. 190 |
  5. 191 |

    To rerun the last pipelinerun, using the same pipeline resources and service account used in the previous pipeline, use:

    192 |
    193 |
    194 |
    tkn pipeline start petclinic-deploy-pipeline --last
    195 |
    196 |
    197 |
  6. 198 |
199 |
200 |
201 |
202 |
203 |
204 |

The Pipelines Documentation page is built using Antora

205 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

206 |
207 | 208 | 209 | 210 | 211 | -------------------------------------------------------------------------------- /docs/0.8/proc_installing-pipelines-operator-using-the-cli.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Installing the OpenShift Pipelines operator using the CLI :: OpenShift Pipelines 7 | 8 | 9 | 10 | 11 | 12 |
13 | 19 |
20 |
21 | 147 |
148 | 159 |
160 |

Installing the OpenShift Pipelines operator using the CLI

161 |
162 |

You can install OpenShift Pipelines operator from the OperatorHub using the CLI.

163 |
164 |
165 |
Prerequisites
166 |
    167 |
  • 168 |

    Access to an OpenShift cluster using an admin account.

    169 |
  • 170 |
  • 171 |

    oc is installed on your system.

    172 |
  • 173 |
174 |
175 |
176 |
Procedure
177 |
    178 |
  1. 179 |

    Create a Subscription object YAML file to subscribe a namespace to the OpenShift Pipelines Operator, 180 | for example, sub.yaml:

    181 |
    182 |
    183 |
    apiVersion: operators.coreos.com/v1alpha1
    184 | kind: Subscription
    185 | metadata:
    186 |   name: openshift-pipelines-operator
    187 |   namespace: openshift-operators
    188 | spec:
    189 |   channel: dev-preview
    190 |   name: openshift-pipelines-operator
    191 |   source: community-operators
    192 |   sourceNamespace: openshift-marketplace
    193 |
    194 |
    195 |
  2. 196 |
  3. 197 |

    Create the Subscription object:

    198 |
    199 |
    200 |
    $ oc apply -f sub.yaml
    201 |
    202 |
    203 |
    204 |

    The OpenShift Pipelines operator is now installed in the default target namespace openshift-pipelines.

    205 |
    206 |
  4. 207 |
208 |
209 |
210 |
211 |
212 |
213 |

The Pipelines Documentation page is built using Antora

214 |

The source code for this UI is licensed under the terms of the MPL-2.0 license.

215 |
216 | 217 | 218 | 219 | 220 | -------------------------------------------------------------------------------- /docs_build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd "${0%/*}" # cd to folder with script 3 | antora #verify that antora is installed 4 | RESULT=($?) 5 | if [ $RESULT -eq 127 ]; then #if antora is not found in $PATH (probably not installed) 6 | echo -e '>> \e[31mFAIL\e[0m Antora not found in \$PATH, Install Antora from https://docs.antora.org/antora/2.2/install/install-antora/' 7 | exit 1 8 | elif [ -f site.yml ]; then 9 | rm -rf build/ docs/ #remove the existing docs. Just in case there are docs that should not be there. 10 | echo -e '>> \e[34mINFO\e[0m Building docs with Antora' 11 | antora --fetch site.yml # build the docs with antora 12 | echo -e '>> \e[34mINFO\e[0m Copying generated docs to the root folder.' 13 | cp -rfv build/site/* . 14 | echo -e '>> \e[92mDONE\e[0m Review the generated documentation in index.html, commit the changes and submit a pull request to openshift/pipelines-docs repo.' 15 | else 16 | echo -e '>> \e[31mFAIL\e[0m site.yml not found in the path of the docs_build.sh. Terminating.' 17 | exit 1 18 | fi 19 | exit 0 20 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { parallel, series, watch } = require('gulp') 4 | const createTask = require('./gulp.d/lib/create-task') 5 | const exportTasks = require('./gulp.d/lib/export-tasks') 6 | 7 | const bundleName = 'ui' 8 | const buildDir = 'build' 9 | const previewSrcDir = 'preview-src' 10 | const previewDestDir = 'public' 11 | const srcDir = 'src' 12 | const destDir = `${previewDestDir}/_` 13 | const { reload: livereload } = process.env.LIVERELOAD === 'true' ? require('gulp-connect') : {} 14 | const serverConfig = { host: '0.0.0.0', port: 5252, livereload } 15 | 16 | const task = require('./gulp.d/tasks') 17 | const glob = { 18 | all: [srcDir, previewSrcDir], 19 | css: `${srcDir}/css/**/*.css`, 20 | js: ['gulpfile.js', 'gulp.d/**/*.js', `${srcDir}/{helpers,js}/**/*.js`], 21 | } 22 | 23 | const cleanTask = createTask({ 24 | name: 'clean', 25 | desc: 'Clean files and folders generated by build', 26 | call: task.remove(['build', 'public']), 27 | }) 28 | 29 | const lintCssTask = createTask({ 30 | name: 'lint:css', 31 | desc: 'Lint the CSS source files using stylelint (standard config)', 32 | call: task.lintCss(glob.css), 33 | }) 34 | 35 | const lintJsTask = createTask({ 36 | name: 'lint:js', 37 | desc: 'Lint the JavaScript source files using eslint (JavaScript Standard Style)', 38 | call: task.lintJs(glob.js), 39 | }) 40 | 41 | const lintTask = createTask({ 42 | name: 'lint', 43 | desc: 'Lint the CSS and JavaScript source files', 44 | call: parallel(lintCssTask, lintJsTask), 45 | }) 46 | 47 | const formatTask = createTask({ 48 | name: 'format', 49 | desc: 'Format the JavaScript source files using prettify (JavaScript Standard Style)', 50 | call: task.format(glob.js), 51 | }) 52 | 53 | const buildTask = createTask({ 54 | name: 'build', 55 | desc: 'Build and stage the UI assets for bundling', 56 | call: task.build(srcDir, destDir, process.argv.slice(2).some((name) => name.startsWith('preview'))), 57 | }) 58 | 59 | const bundleBuildTask = createTask({ 60 | name: 'bundle:build', 61 | call: series(cleanTask, lintTask, buildTask), 62 | }) 63 | 64 | const bundlePackTask = createTask({ 65 | name: 'bundle:pack', 66 | desc: 'Create a bundle of the staged UI assets for publishing', 67 | call: task.pack(destDir, buildDir, bundleName), 68 | }) 69 | 70 | const bundleTask = createTask({ 71 | name: 'bundle', 72 | desc: 'Clean, lint, build, and bundle the UI for publishing', 73 | call: series(bundleBuildTask, bundlePackTask), 74 | }) 75 | 76 | const packTask = createTask({ 77 | name: 'pack', 78 | desc: '(deprecated; use bundle instead)', 79 | call: series(bundleTask), 80 | }) 81 | 82 | const buildPreviewPagesTask = createTask({ 83 | name: 'preview:build-pages', 84 | call: task.buildPreviewPages(srcDir, previewSrcDir, previewDestDir, livereload), 85 | }) 86 | 87 | const previewBuildTask = createTask({ 88 | name: 'preview:build', 89 | desc: 'Process and stage the UI assets and generate pages for the preview', 90 | call: parallel(buildTask, buildPreviewPagesTask), 91 | }) 92 | 93 | const previewServeTask = createTask({ 94 | name: 'preview:serve', 95 | call: task.serve(previewDestDir, serverConfig, () => watch(glob.all, previewBuildTask)), 96 | }) 97 | 98 | const previewTask = createTask({ 99 | name: 'preview', 100 | desc: 'Generate a preview site and launch a server to view it', 101 | call: series(previewBuildTask, previewServeTask), 102 | }) 103 | 104 | module.exports = exportTasks( 105 | bundleTask, 106 | cleanTask, 107 | lintTask, 108 | formatTask, 109 | buildTask, 110 | bundleTask, 111 | bundlePackTask, 112 | previewTask, 113 | previewBuildTask, 114 | packTask 115 | ) 116 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | 12 | Redirect Notice 13 |

Redirect Notice

14 |

15 | The page you requested has been relocated to 16 | https://docs.openshift.com/container-platform/latest/pipelines/understanding-openshift-pipelines.html. 20 |

21 | -------------------------------------------------------------------------------- /old_bin/ant-include.sh: -------------------------------------------------------------------------------- 1 | # consider using preprocessor instead of this script 2 | 3 | # until antora includes a feature that enables allow-uri-read for asciidoctor 4 | # need to run this script to populate content from other repos 5 | 6 | wget https://raw.githubusercontent.com/asciidoctor/asciidoctor-extensions-lab/master/scripts/asciidoc-coalescer.rb 7 | 8 | find modules -type f -name '*.inc' |\ 9 | while IFS= read -r inc_path 10 | do 11 | inc_dirname=$(dirname "${inc_path}") 12 | ruby asciidoc-coalescer.rb -a allow-uri-read $inc_path > $inc_path-rantora.adoc 13 | 14 | done 15 | 16 | rm asciidoc-coalescer.rb 17 | -------------------------------------------------------------------------------- /old_bin/asciidoc-coalescer.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | # This script coalesces the AsciiDoc content from a document master into a 4 | # single output file. It does so by resolving all preprocessor directives in 5 | # the document, and in any files which are included. The resolving of include 6 | # directives is likely of most interest to users of this script. 7 | # 8 | # This script works by using Asciidoctor's PreprocessorReader to read and 9 | # resolve all the lines in the specified input file. The script then writes the 10 | # result to the output. 11 | # 12 | # The script only recognizes attributes passed in as options or those defined 13 | # in the document header. It does not currently process attributes defined in 14 | # other, arbitrary locations within the document. 15 | 16 | # TODO 17 | # - add cli option to write attributes passed to cli to header of document 18 | # - escape all preprocessor directives after lines are processed (these are preprocessor directives that were escaped in the input) 19 | 20 | require 'asciidoctor' 21 | require 'optparse' 22 | 23 | options = { attributes: [], output: '-' } 24 | OptionParser.new do |opts| 25 | opts.banner = 'Usage: ruby asciidoc-coalescer.rb [OPTIONS] FILE' 26 | opts.on('-a', '--attribute key[=value]', 'A document attribute to set in the form of key[=value]') do |a| 27 | options[:attributes] << a 28 | end 29 | opts.on('-o', '--output FILE', 'Write output to FILE instead of stdout.') do |o| 30 | options[:output] = o 31 | end 32 | end.parse! 33 | 34 | unless (source_file = ARGV.shift) 35 | warn 'Please specify an AsciiDoc source file to coalesce.' 36 | exit 1 37 | end 38 | 39 | unless (output_file = options[:output]) == '-' 40 | if (output_file = File.expand_path output_file) == (File.expand_path source_file) 41 | warn 'Source and output cannot be the same file.' 42 | exit 1 43 | end 44 | end 45 | 46 | # NOTE first, resolve attributes defined at the end of the document header 47 | # QUESTION can we do this in a single load? 48 | doc = Asciidoctor.load_file source_file, safe: :unsafe, header_only: true, attributes: options[:attributes] 49 | # NOTE quick and dirty way to get the attributes set or unset by the document header 50 | header_attr_names = (doc.instance_variable_get :@attributes_modified).to_a 51 | header_attr_names.each {|k| doc.attributes[%(#{k}!)] = '' unless doc.attr? k } 52 | 53 | doc = Asciidoctor.load_file source_file, safe: :unsafe, parse: false, attributes: doc.attributes 54 | # FIXME also escape ifdef, ifndef, ifeval and endif directives 55 | # FIXME do this more carefully by reading line by line; if input differs by output by leading backslash, restore original line 56 | lines = doc.reader.read.gsub(/^include::(?=.*\[\]$)/m, '\\include::') 57 | 58 | if output_file == '-' 59 | puts lines 60 | else 61 | File.open(output_file, 'w') {|f| f.write lines } 62 | end 63 | -------------------------------------------------------------------------------- /old_bin/createFile.sh: -------------------------------------------------------------------------------- 1 | TEMPLATE=./docs/template.adoc 2 | slug=$1 3 | file=$2 4 | export heading=$(q -H -d , "SELECT heading FROM ./docs/arotna.csv WHERE slug = '$slug'") 5 | 6 | echo $heading 7 | cat $TEMPLATE | sed -e s/{slug}/$slug/g | sed -e s/{heading}/"$heading"/g > $file -------------------------------------------------------------------------------- /old_bin/quick-build.sh: -------------------------------------------------------------------------------- 1 | # Build website 2 | # 3 | # Run from root level of repo, eg ./bin/quick-build.sh local-site.yml 4 | 5 | # create nav.adoc 6 | q -H -d , "SELECT prefix ||' xref::' ||slug||'.adoc[' ||navtext|| ']' FROM ./docs/arotna.csv" > ./docs/nav.adoc 7 | 8 | # create files if necessary 9 | mapfile -t file_array < <( q -H -d , "SELECT slug FROM ./docs/arotna.csv" ) 10 | 11 | for slug in "${file_array[@]}" 12 | do 13 | file="./docs/pages/$slug.adoc" 14 | echo $file 15 | if [ ! -f $file ]; then 16 | echo "File not found!" 17 | ./bin/createFile.sh $slug $file 18 | 19 | fi 20 | done 21 | 22 | 23 | # create toc into _partials 24 | 25 | q -H -d , "SELECT prefix ||' xref::' ||slug||'.adoc[' ||heading|| ']' FROM ./docs/arotna.csv" > ./docs/pages/_partials/toc.adoc 26 | 27 | # create rendered assembly 28 | 29 | echo ':toc:' > ./docs/master.adoc 30 | 31 | echo 'include::pages/index.adoc[leveloffset=0,tags=!excludeDownstream]' >> ./docs/master.adoc 32 | 33 | q -H -d , "SELECT 'include::pages/' ||slug||'.adoc[leveloffset='|| level ||']' FROM ./docs/arotna.csv" >> ./docs/master.adoc 34 | 35 | # create single.adoc 36 | 37 | ./bin/asciidoc-coalescer.rb ./docs/master.adoc > ./docs/pages/single.adoc 38 | 39 | # generate html 40 | 41 | antora $1 42 | 43 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "antora-ui-default", 3 | "description": "An archetype project that produces a UI for creating documentation sites with Antora", 4 | "homepage": "https://gitlab.com/antora/antora-ui-default", 5 | "license": "MPL-2.0", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://gitlab.com/antora/antora-ui-default.git" 9 | }, 10 | "engines": { 11 | "node": ">= 8.0.0" 12 | }, 13 | "browserslist": [ 14 | "last 2 versions" 15 | ], 16 | "devDependencies": { 17 | "asciidoctor.js": "1.5.9", 18 | "autoprefixer": "~9.6", 19 | "browser-pack-flat": "~3.4", 20 | "browserify": "~16.5", 21 | "cssnano": "~4.1", 22 | "eslint": "~6.3", 23 | "eslint-config-standard": "~14.1", 24 | "eslint-plugin-import": "~2.18", 25 | "eslint-plugin-node": "~9.2", 26 | "eslint-plugin-promise": "~4.2", 27 | "eslint-plugin-standard": "~4.0", 28 | "fs-extra": "~8.1", 29 | "gulp": "~4.0", 30 | "gulp-concat": "~2.6", 31 | "gulp-connect": "~5.7", 32 | "gulp-eslint": "~6.0", 33 | "gulp-imagemin": "~6.1", 34 | "gulp-postcss": "~8.0", 35 | "gulp-stylelint": "~9.0", 36 | "gulp-uglify": "~3.0", 37 | "gulp-vinyl-zip": "~2.1 >=2.1.2", 38 | "handlebars": "^4.7.6", 39 | "highlight.js": "~9.15", 40 | "js-yaml": "~3.13", 41 | "merge-stream": "~2.0", 42 | "postcss-calc": "~7.0", 43 | "postcss-custom-properties": "~9.0", 44 | "postcss-import": "~12.0", 45 | "postcss-url": "~8.0", 46 | "prettier-eslint": "~9.0", 47 | "require-directory": "~2.1", 48 | "require-from-string": "~2.0", 49 | "stylelint": "~10.1", 50 | "stylelint-config-standard": "~18.3", 51 | "through2": "~3.0", 52 | "typeface-roboto": "0.0.75", 53 | "typeface-roboto-mono": "0.0.75", 54 | "vinyl-buffer": "~1.0", 55 | "vinyl-fs": "~3.0" 56 | }, 57 | "dependencies": { 58 | "@antora/cli": "^2.3.3", 59 | "@antora/site-generator-default": "^2.3.3" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /site.yml: -------------------------------------------------------------------------------- 1 | site: 2 | title: OpenShift Pipelines 3 | url: https://openshift.github.io/pipelines-docs/ 4 | start_page: 0.10.5@docs::index.adoc 5 | content: 6 | sources: 7 | - url: https://github.com/openshift/pipelines-docs.git 8 | branches: [op-0.10-master, op-0.8-master, op-0.5-master, op-0.7-master] 9 | ui: 10 | bundle: 11 | url: https://github.com/openshift/pipelines-docs/blob/master/ui-bundle.zip?raw=true 12 | snapshot: true 13 | -------------------------------------------------------------------------------- /ui-bundle.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/pipelines-docs/25ef2f8db3932e5c38933da9b8a772d0734dddb6/ui-bundle.zip --------------------------------------------------------------------------------