{"id":4676,"date":"2022-10-22T21:11:29","date_gmt":"2022-10-22T21:11:29","guid":{"rendered":"https:\/\/dalelane.co.uk\/blog\/?p=4676"},"modified":"2022-10-22T21:11:30","modified_gmt":"2022-10-22T21:11:30","slug":"deploying-app-connect-enterprise-applications-from-a-ci-cd-pipeline","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=4676","title":{"rendered":"Deploying App Connect Enterprise applications from a CI\/CD pipeline"},"content":{"rendered":"<p><strong>Sharing an example Tekton pipeline for deploying an IBM App Connect Enterprise application to Red Hat OpenShift.<\/strong><\/p>\n<p>This post is about a repository I&#8217;ve shared on github at <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\">dalelane\/app-connect-tekton-pipeline<\/a>. It contains an example of how to use <a href=\"https:\/\/tekton.dev\">Tekton<\/a> to create a CI\/CD pipeline that builds and deploys an <a href=\"https:\/\/www.ibm.com\/docs\/en\/app-connect\/containers_cd\">App Connect Enterprise<\/a> application to <a href=\"https:\/\/www.ibm.com\/cloud\/openshift\">Red Hat OpenShift<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/simple-pipeline.gif\" style=\"border: thin black solid;\"\/><\/p>\n<p>The pipeline uses the <a href=\"https:\/\/www.ibm.com\/docs\/en\/app-connect\/containers_cd?topic=operator-from-openshift-web-console\">IBM App Connect Operator<\/a> to easily build, deploy and manage your applications in containers. The pipeline runs on OpenShift to allow it to easily be integrated into an automated <a href=\"https:\/\/www.ibm.com\/garage\/method\/practices\/deliver\/practice_continuous_delivery\/\">continuous delivery workflow<\/a> without needing to build anything locally from a developer&#8217;s workstation.<\/p>\n<blockquote>\n<p style=\"color: #404040;\">For background information about the Operator, and the different types of Kubernetes resources that this pipeline will create (e.g. <code>IntegrationServer<\/code> and <code>Configuration<\/code>), see these blog posts:<\/p>\n<ul>\n<li><a href=\"https:\/\/community.ibm.com\/community\/user\/integration\/blogs\/rob-convery1\/2022\/05\/11\/ibm-app-connect-operators-part-1-what-is-an-operat\">What is an Operator and why did we create one for IBM App Connect?<\/a><\/li>\n<li><a href=\"https:\/\/community.ibm.com\/community\/user\/integration\/blogs\/rob-convery1\/2022\/05\/11\/ibm-app-connect-operators-part-2-exploring\">Exploring the IntegrationServer Resource of the IBM App Connect Operator<\/a><\/li>\n<\/ul>\n<\/blockquote>\n<p><!--more--><\/p>\n<h2 class=\"acepipelinesection\">Pipelines<\/h2>\n<h3>Overview<\/h3>\n<p>There are two pipelines in the repository.<\/p>\n<ul>\n<li><a href=\"#image-builder-pipeline\">image builder<\/a>\n<ul>\n<li>This builds a container image that the second pipeline uses to build App Connect BAR files.<\/li>\n<li>You only need to run this once on your OpenShift cluster &#8211; once you have your builder image, you can reuse it every time you need to build and deploy your App Connect application.<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#application-deployer-pipeline\">application deployer<\/a>\n<ul>\n<li>This builds and deploys your App Connect Enterprise application.<\/li>\n<li>You need to run this every time your application has changed and you want to deploy the new version to OpenShift.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><a name=\"image-builder-pipeline\">Image builder pipeline<\/a><\/h3>\n<ul class=\"acepipelineinfo\">\n<li><strong>pipeline spec:<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/tekton\/1-prepare-builder\/pipeline.yaml\"><code>1-prepare-builder\/pipeline.yaml<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>permissions created to run this pipeline<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/tekton\/1-prepare-builder\/permissions\/builder.yaml\"><code>builder.yaml<\/code> role<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>example pipeline runs:<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/tekton\/1-prepare-builder\/pipelinerun.yaml\"><code>1-prepare-builder\/pipelinerun.yaml<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>helper script:<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/1-prepare-ace-bar-builder.sh\"><code>1-prepare-ace-bar-builder.sh<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>What the pipeline does<\/strong><\/p>\n<p>Builds a container image used by the <a href=\"#application-deployer-pipeline\">application deployer pipeline<\/a> to build BAR files.<\/p>\n<p><strong>Outcome from running the pipeline<\/strong><\/p>\n<p>A new container image is pushed to the OpenShift image registry in the <code>pipeline-ace<\/code> namespace, which has everything needed to run the <code>mqsicreatebar<\/code> command.<\/p>\n<p><strong>Screenshot<\/strong><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/screenshots\/builder-pipeline.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/builder-pipeline.png\" alt=\"screenshot of the pipeline tasks\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p><strong>Background<\/strong><\/p>\n<p>When running App Connect Enterprise in containers, there is a lot of flexibility about how much of your application is built into your container image, and how much is provided when the container starts.<\/p>\n<blockquote>\n<p style=\"color: #404040;\">For background reading on some of the options, and some of the considerations about them, see the blog post:<\/p>\n<p><a href=\"https:\/\/community.ibm.com\/community\/user\/integration\/blogs\/aiden-gallagher1\/2022\/07\/12\/comparing-styles-of-container-based-deployment-for\">Comparing styles of container-based deployment for IBM App Connect Enterprise<\/a><\/p><\/blockquote>\n<p>The pipelines in the repository provide almost all parts of your application at runtime when the container starts. The only component that is <a href=\"https:\/\/community.ibm.com\/community\/user\/integration\/blogs\/aiden-gallagher1\/2022\/07\/12\/comparing-styles-of-container-based-deployment-for\">baked into<\/a> the image is the application BAR file.<\/p>\n<p>Baking the BAR files into custom App Connect images prevents the need to run a dedicated content server to host BAR files, however if you would prefer to do that see the documentation on <a href=\"https:\/\/www.ibm.com\/docs\/en\/app-connect\/containers_cd?topic=servers-mechanisms-providing-bar-files-integration-server\">Mechanisms for providing BAR files to an integration server<\/a> for more details on how to do this. (The pipelines in the repository use the approach described as &#8220;Custom image&#8221; in that documentation.)<\/p>\n<p>Building this image is kept separate from the <a href=\"#application-deployer-pipeline\">application deployer pipeline<\/a> because it takes a long time (over 20 minutes) to run. Reusing the build image means application deployments can be much quicker.<\/p>\n<h3><a name=\"application-deployer-pipeline\">Application deployer pipeline<\/a><\/h3>\n<ul class=\"acepipelineinfo\">\n<li><strong>pipeline spec:<\/strong>\n<ul>\n<li>\n                <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/tekton\/2-deploy-integration-server\/pipeline.yaml\"><code>2-deploy-integration-server\/pipeline.yaml<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>example pipeline runs:<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/simple-pipelinerun.yaml\"><code>simple-pipelinerun.yaml<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/complex-pipelinerun.yaml\"><code>complex-pipelinerun.yaml<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>helper scripts:<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/2-deploy-simple-integration-server.sh\"><code>2-deploy-simple-integration-server.sh<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/2-deploy-complex-integration-server.sh\"><code>2-deploy-complex-integration-server.sh<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>What the pipeline does<\/strong><\/p>\n<p>Builds your IBM App Connect Enterprise application and deploys it to the OpenShift cluster.<\/p>\n<p><strong>Outcome from running the pipeline<\/strong><\/p>\n<p>A new version of your application is deployed with zero-downtime &#8211; replacing any existing version of the app once it is ready.<\/p>\n<p><strong>Screenshot<\/strong><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/screenshots\/deploy-pipeline.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/deploy-pipeline.png\" alt=\"screenshot of the deploy pipeline tasks\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p><strong>Background<\/strong><\/p>\n<p>As discussed above, most of your application configuration will be provided to your application container at runtime by the Operator using <code>Configuration<\/code> resources.<\/p>\n<p>As shown in the screenshot above, this example pipeline currently supports many, but not all, of the types of Configuration resource:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.ibm.com\/docs\/en\/SSTTDS_contcd\/com.ibm.ace.icp.doc\/config_loopbackdatasource.html\">Loopback data source type<\/a><\/li>\n<li><a href=\"https:\/\/www.ibm.com\/docs\/en\/SSTTDS_contcd\/com.ibm.ace.icp.doc\/config_policyproject.html\">Policy project type<\/a><\/li>\n<li><a href=\"https:\/\/www.ibm.com\/docs\/en\/SSTTDS_contcd\/com.ibm.ace.icp.doc\/config_setdbparmstxt.html\">setdbparms.txt type<\/a><\/li>\n<li><a href=\"https:\/\/www.ibm.com\/docs\/en\/SSTTDS_contcd\/com.ibm.ace.icp.doc\/config_serverconfyaml.html\">server.conf.yaml type<\/a><\/li>\n<li><a href=\"https:\/\/www.ibm.com\/docs\/en\/SSTTDS_contcd\/com.ibm.ace.icp.doc\/config_truststore.html\">Truststore type<\/a><\/li>\n<\/ul>\n<p>For more information about the other Configuration types, see the documentation on <a href=\"https:\/\/www.ibm.com\/docs\/en\/app-connect\/containers_cd?topic=servers-configuration-types-integration\">Configuration types for integration servers<\/a>. Adding support for any of these additional types would involve adding additional tasks to the <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/tekton\/2-deploy-integration-server\/tasks\">tasks provided in this repo<\/a> &#8211; the existing tasks are commented to help assist with this.<\/p>\n<p>Each of these configuration resources is individually optional. Two example App Connect applications are provided to show how the pipeline supports different application types.<\/p>\n<h4>Simple stand-alone applications<\/h4>\n<p>The pipeline can be used to deploy a stand-alone application with no configuration dependencies.<\/p>\n<ul class=\"acepipelineinfo\">\n<li><strong>sample application<\/strong>\n<ul>\n<li>\n                <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/ace-projects\/simple-demo\">simple-demo<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>pipeline run config<\/strong>\n<ul>\n<li>\n                <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/simple-pipelinerun.yaml\"><code>simple-pipelinerun.yaml<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>demo script:<\/strong>\n<ul>\n<li>\n                <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/2-deploy-simple-integration-server.sh\"><code>2-deploy-simple-integration-server.sh<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/images\/simple-demo.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/demo-pre-reqs\/images\/simple-demo.png\" alt=\"screenshot\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>This is a simple App Connect application with no external configuration.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/images\/say_hello.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/demo-pre-reqs\/images\/say_hello.png\" alt=\"screenshot\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>When deploying this, the pipeline skips all of the Configuration tasks:<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/screenshots\/example-pipelinerun-simple.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/example-pipelinerun-simple.png\" alt=\"screenshot of a pipeline run for the simple app\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>Watching the pipeline run looks like this (except it takes longer).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/simple-pipeline.gif\" alt=\"animated gif\" style=\"max-width: 100%; display: inline-block;\"\/><\/p>\n<h4>Complex applications<\/h4>\n<p>The pipeline can be used to deploy complex applications with multiple configuration dependencies and supporting Java projects.<\/p>\n<ul class=\"acepipelineinfo\">\n<li><strong>sample application<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/ace-projects\/sample-ace-application\">sample-ace-application<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>pipeline run config<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/complex-pipelinerun.yaml\"><code>complex-pipelinerun.yaml<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>demo script:<\/strong>\n<ul>\n<li><a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/2-deploy-complex-integration-server.sh\"><code>2-deploy-complex-integration-server.sh<\/code><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/images\/sample-ace-application.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/demo-pre-reqs\/images\/sample-ace-application.png\" alt=\"screenshot\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>This is an example of an App Connect application that needs configuration for connecting to:<\/p>\n<ul>\n<li>a PostgreSQL database<\/li>\n<li>an external HTTP API<\/li>\n<li>an Apache Kafka cluster<\/li>\n<\/ul>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/images\/sample_message_flow.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/demo-pre-reqs\/images\/sample_message_flow.png\" alt=\"screenshot\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>When deploying this, the pipeline runs all of the Configuration tasks required for this application:<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/screenshots\/example-pipelinerun-complex.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/example-pipelinerun-complex.png\" alt=\"screenshot of a pipeline run for the complex app\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>Watching the pipeline run (also sped up!) it looks like this.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/screenshots\/complex-pipeline.gif\" alt=\"animated gif\" style=\"max-width: 100%; display: inline-block;\"\/><\/p>\n<p>To avoid needing to store credentials in git with your application code, the pipeline retrieves credentials from Kubernetes secrets. When <a href=\"#configuring-the-pipeline-for-your-app-connect-enterprise-application\">configuring the pipeline for your application<\/a> you need to specify the secrets it should use to do this.<\/p>\n<h2 class=\"acepipelinesection\">Sample apps<\/h2>\n<p>I&#8217;ve put notes on how I set up the sample apps to demonstrate the pipeline in <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/README.md\">demo-pre-reqs\/README.md<\/a> however neither of the sample apps are particularly useful and were purely used to test and demo the pipeline.<\/p>\n<p>You can import them into <a href=\"https:\/\/www.ibm.com\/docs\/en\/app-connect\/containers_cd?topic=developing-integrations-in-app-connect-toolkit\">App Connect Toolkit<\/a> to edit them if you want to by:<\/p>\n<ol>\n<li><strong>File<\/strong> -&gt; <strong>Import&#8230;<\/strong> -&gt; <strong>Projects from Folder or Archive<\/strong><\/li>\n<li>Put the location of the <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/ace-projects\">ace-projects<\/a> folder as the <strong>Import source<\/strong>.<\/li>\n<li>Tick all of the projects<\/li>\n<\/ol>\n<p>That will let you open the projects and work on them locally. If you&#8217;re curious what they do, I&#8217;ll include some brief notes below:<\/p>\n<h3>Simple app<\/h3>\n<p>It provides an HTTP endpoint that returns a Hello World message.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/images\/say_hello.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/demo-pre-reqs\/images\/say_hello.png\" alt=\"screenshot of the message flow\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>Running this:<\/p>\n<pre class=\"acepipeline\">curl http:\/\/$(oc get route -nace-demo hello-world-http -o jsonpath='{.spec.host}')\/hello\"<\/pre>\n<p>returns this:<\/p>\n<pre class=\"acepipeline\">{ \"hello\" : \"world\" }<\/pre>\n<h3>Complex app<\/h3>\n<p>It provides an intentionally contrived event-driven flow that:<\/p>\n<ul>\n<li>&#8220;Kafka consumer todo updates&#8221;\n<ul>\n<li>receives a JSON message from a Kafka topic<\/li>\n<\/ul>\n<\/li>\n<li>&#8220;get id from update message&#8221;\n<ul>\n<li>parses the JSON message and extracts an ID number from it<\/li>\n<li>uses the id number to create an HTTP URL for an external API<\/li>\n<\/ul>\n<\/li>\n<li>&#8220;retrieve current todo details&#8221;\n<ul>\n<li>makes an HTTP GET call to the external API<\/li>\n<\/ul>\n<\/li>\n<li>&#8220;base64 encode the description&#8221;\n<ul>\n<li>transforms the response from the external API using a custom Java class<\/li>\n<\/ul>\n<\/li>\n<li>&#8220;insert into database&#8221;\n<ul>\n<li>inserts the transformed response payload into a PostgreSQL database<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/demo-pre-reqs\/images\/sample_message_flow.png\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/raw\/main\/demo-pre-reqs\/images\/sample_message_flow.png\" alt=\"screenshot of the message flow\" style=\"max-width: 100%;\"\/><\/a><\/p>\n<p>The aim of this application was to demonstrate an ACE application which needed a variety of Configuration resources.<\/p>\n<p>But it means that running this:<\/p>\n<pre class=\"acepipeline\">echo '{\"id\": 1, \"message\": \"quick test\"}' | kafka-console-producer.sh \\\n    --bootstrap-server $BOOTSTRAP \\\n    --topic TODO.UPDATES \\\n    --producer-property \"security.protocol=SASL_SSL\" \\\n    --producer-property \"sasl.mechanism=SCRAM-SHA-512\" \\\n    --producer-property \"sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username=\"appconnect-kafka-user\" password=\"$PASSWORD\";\" \\\n    --producer-property \"ssl.truststore.location=ca.p12\" \\\n    --producer-property \"ssl.truststore.type=PKCS12\" \\\n    --producer-property \"ssl.truststore.password=$CA_PASSWORD\"    \n<\/pre>\n<p>gets you this:<\/p>\n<pre class=\"acepipeline\">store=# select * from todos;\n id | user_id |       title        |            encoded_title             | is_completed\n----+---------+--------------------+--------------------------------------+--------------\n  1 |       1 | delectus aut autem | RU5DT0RFRDogZGVsZWN0dXMgYXV0IGF1dGVt | f\n(1 row)<\/pre>\n<h2><a name=\"configuring-the-pipeline-for-your-app-connect-enterprise-application\">Configuring the pipeline for your App Connect Enterprise application<\/a><\/h2>\n<p>The <a href=\"#image-builder-pipeline\">image builder pipeline<\/a> can be run as-is as described above, as it is a generic pipeline for creating a container image for building App Connect apps.<\/p>\n<p>To run the <a href=\"#application-deployer-pipeline\">application deployer<\/a> for your own application, you need to first create a <code>PipelineRun<\/code>.<\/p>\n<p>The sample pipeline runs described above provide a good starting point for this, which you can modify to your own needs. You need to specify the location of your App Connect Enterprise application code and configuration resources. All of the available parameters are documented in the <a href=\"https:\/\/github.com\/dalelane\/app-connect-tekton-pipeline\/blob\/main\/tekton\/2-deploy-integration-server\/pipeline.yaml#L20-L191\">pipeline spec<\/a> if further guidance is needed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sharing an example Tekton pipeline for deploying an IBM App Connect Enterprise application to Red Hat OpenShift. This post is about a repository I&#8217;ve shared on github at dalelane\/app-connect-tekton-pipeline. It contains an example of how to use Tekton to create a CI\/CD pipeline that builds and deploys an App Connect Enterprise application to Red Hat [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4686,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[605,593,604,606,584],"class_list":["post-4676","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","tag-ace","tag-apachekafka","tag-appconnect","tag-cp4i","tag-kafka"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4676"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4676\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/4686"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}