<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:22:02 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2624] SPIKE:  Build and deploy Stripes bundle from Rancher pipeline</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2624</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;It should be possible to build and deploy a Stripes bundle from the snapshot branch of platform-core in a dev environment namespace by utilizing a Rancher pipeline.  The Rancher pipeline code can live on the snapshot branch of platform-core.   This will give the developers to rebuild a Stripes bundle in their K8s namespace at anytime.    The pipeline will require that distinct environment variables be set for each dev namespace that define tenant and okapi url.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="81689">FOLIO-2624</key>
            <summary>SPIKE:  Build and deploy Stripes bundle from Rancher pipeline</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                            <parent id="81627">FOLIO-2601</parent>
                                    <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="6291011f9c617b006a6f8d98">jroot</assignee>
                                                                <reporter accountid="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                            <label>dev-environment</label>
                    </labels>
                <created>Mon, 1 Jun 2020 21:17:01 +0000</created>
                <updated>Mon, 6 Jul 2020 18:55:19 +0000</updated>
                            <resolved>Mon, 6 Jul 2020 18:55:19 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="198835" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Wed, 3 Jun 2020 13:08:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=6291011f9c617b006a6f8d98&quot; class=&quot;user-hover&quot; rel=&quot;6291011f9c617b006a6f8d98&quot; data-account-id=&quot;6291011f9c617b006a6f8d98&quot; accountid=&quot;6291011f9c617b006a6f8d98&quot; rel=&quot;noreferrer&quot;&gt;jroot&lt;/a&gt; I&apos;ve assigned this ticket to you during our standup &amp;#8211; please let me know if you are not working on this.&lt;/p&gt;</comment>
                                                            <comment id="198838" author="6291011f9c617b006a6f8d98" created="Tue, 9 Jun 2020 15:35:25 +0000"  >&lt;p&gt;Right now, I am running into several issues with Pipelines on the newer versions of Rancher in both AWS and my Tamu infrastructure.&lt;/p&gt;

&lt;p&gt;There are issues in Rancher Github for the problems I am having:&lt;br/&gt;
&lt;a href=&quot;https://github.com/rancher/rancher/issues/26816&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/rancher/rancher/issues/26816&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In AWS Rancher, this is the error I am getting:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;can&lt;span class=&quot;code-quote&quot;&gt;&apos;t change directory to &apos;&lt;/span&gt;/lib/modules&apos;: No such file or directory`, error: exit status 1&quot;
time=&lt;span class=&quot;code-quote&quot;&gt;&quot;2020-06-05T17:54:46.132394628Z&quot;&lt;/span&gt; level=info msg=&lt;span class=&quot;code-quote&quot;&gt;&quot;Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address&quot;&lt;/span&gt;
Cannot contact buildpod.pipeline-p-vlqtw-2.1-p7sz5-r7ttt: java.lang.InterruptedException&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On my v2.4.4 Rancher version, on Tamu infrastructure it is hanging when pulling packages:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Step 2/46 : RUN apk add --no-cache curl git
 ---&amp;gt; Running in e9ff54eabc18
time=&lt;span class=&quot;code-quote&quot;&gt;&quot;2020-06-05T17:47:41Z&quot;&lt;/span&gt; level=info msg=&lt;span class=&quot;code-quote&quot;&gt;&quot;shim containerd-shim started&quot;&lt;/span&gt; address=&lt;span class=&quot;code-quote&quot;&gt;&quot;/containerd-shim/moby/e9ff54eabc185338fbd2549cebd0f3b7f511590eab8bd091f0b19c1844cd940f/shim.sock&quot;&lt;/span&gt; debug=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt; pid=351 
fetch http:&lt;span class=&quot;code-comment&quot;&gt;//dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="198841" author="6291011f9c617b006a6f8d98" created="Tue, 9 Jun 2020 15:36:22 +0000"  >&lt;p&gt;The code I have crafted for an initial PoC for Stripes and Okapi pipelines is attached. It uses my Dockerfile builds that I have had at Tamu for some years now.&lt;/p&gt;

&lt;p&gt;I am not as familiar with the Folioorg Okapi Dockerfile. It appears to be templated, so impossible to read how it is crafted - and the options it provides seem limited to me. For example: With the Tamu Dockerfile build, I can pass a switch to Okapi in order to init the database or not.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/64290&quot; title=&quot;okapi-pipeline-master.zip attached to FOLIO-2624&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;okapi-pipeline-master.zip&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;34dd1a39-c300-4195-8491-c3c6e4518281&quot; rel=&quot;noreferrer&quot;&gt;okapi-pipeline-master.zip&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/64291&quot; title=&quot;stripes-pipeline-master.zip attached to FOLIO-2624&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;stripes-pipeline-master.zip&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;48404147-0681-4914-b0ae-13afc1fd3c0f&quot; rel=&quot;noreferrer&quot;&gt;stripes-pipeline-master.zip&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                                                            <comment id="198845" author="6291011f9c617b006a6f8d98" created="Mon, 29 Jun 2020 13:11:58 +0000"  >&lt;p&gt;Folio Rancher cluster needed some re-configuring for the pipelines to execute properly. &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; performed the cluster re-create and re-import to Rancher, Projects were re-imported and now pipelines execute properly.&lt;/p&gt;

&lt;p&gt;Created a branch called stripes-pipeline in platform-complete: &lt;a href=&quot;https://github.com/folio-org/platform-complete/tree/stripes-pipeline&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/platform-complete/tree/stripes-pipeline&lt;/a&gt; Successfully built a Stripes bundle and deployed in the Stripes Project.&lt;/p&gt;

&lt;p&gt;Researched and discovered some undocumented features for Rancher pipelines to use secrets to set Docker build arguments. Now we can create a secret for each Project, and set the .rancher-pipeline.yml to use them:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
envFrom:
      - sourceName: tenant-config
        sourceKey: TENANT_ID
      - sourceName: tenant-config
        sourceKey: OKAPI_URL
    env:
      PLUGIN_DEBUG: &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;&quot;&lt;/span&gt;
      PLUGIN_INSECURE: &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;&quot;&lt;/span&gt;
      PLUGIN_BUILD_ARGS_FROM_ENV: OKAPI_URL, TENANT_ID
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;tenant-config Secret:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
OKAPI_URL = https:&lt;span class=&quot;code-comment&quot;&gt;//stripes.ci.folio.org
&lt;/span&gt;TENANT_ID = diku
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Running with AWS/Rancher Ingress here: &lt;a href=&quot;https://stripes-test.ci.folio.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://stripes-test.ci.folio.org/&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198848" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 6 Jul 2020 13:43:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=6291011f9c617b006a6f8d98&quot; class=&quot;user-hover&quot; rel=&quot;6291011f9c617b006a6f8d98&quot; data-account-id=&quot;6291011f9c617b006a6f8d98&quot; accountid=&quot;6291011f9c617b006a6f8d98&quot; rel=&quot;noreferrer&quot;&gt;jroot&lt;/a&gt; can this ticket be closed or does it wait for code review on some branch? Am I right assuming that this work is not in scope of the &quot;team envs&quot; now that we are facing resource limitations in the Rancher pipelines?&lt;/p&gt;</comment>
                                                            <comment id="198850" author="6291011f9c617b006a6f8d98" created="Mon, 6 Jul 2020 18:53:59 +0000"  >&lt;p&gt;For now, I would agree with that assessment. Some work needs to go into determining the best course of action considering the resource limitations.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f2840580d8b1a001bd02aae&quot; class=&quot;user-hover&quot; rel=&quot;5f2840580d8b1a001bd02aae&quot; data-account-id=&quot;5f2840580d8b1a001bd02aae&quot; accountid=&quot;5f2840580d8b1a001bd02aae&quot; rel=&quot;noreferrer&quot;&gt;Stanislav Miroshnichenko&lt;/a&gt; I believe tested the deploy code - in Rancher with success.&lt;/p&gt;</comment>
                                                            <comment id="198852" author="6291011f9c617b006a6f8d98" created="Mon, 6 Jul 2020 18:55:19 +0000"  >&lt;p&gt;There are some resource limitations and restrictions to take into account with the in-Rancher Jenkins pipelines. I believe we may approach this from a different perspective.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81688">FOLIO-2623</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79678">FOLIO-2675</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81708">FOLIO-2669</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81710">FOLIO-2672</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64290" name="okapi-pipeline-master.zip" size="10825" author="6291011f9c617b006a6f8d98" created="Tue, 9 Jun 2020 15:36:09 +0000"/>
                            <attachment id="64291" name="stripes-pipeline-master.zip" size="243007" author="6291011f9c617b006a6f8d98" created="Tue, 9 Jun 2020 15:36:10 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10014" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue key="$xmlutils.escape($text)">PoC for hosted development environment for FOLIO teams</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01873:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1986">DevOps: sprint 92</customfieldvalue>
    <customfieldvalue id="1878">DevOps: sprint 90</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Jun 2020 13:08:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>