<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:19:14 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-2240] SPIKE: figure out how to share templates in folio-tools/folio-ansible</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2240</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Folio ansible and folio-tools both have ways to create kubernetes module deployment yaml. The utility in folio-tools (md2kubeyaml) is meant to be shared w/the community while folio-ansible (roles/module-kubernetes) is used in CI.&lt;/p&gt;

&lt;p&gt;Ideally, these should share the templates used for generating k8s deployment yaml (or even code if that&apos;s practical).&lt;/p&gt;</description>
                <environment></environment>
        <key id="81397">FOLIO-2240</key>
            <summary>SPIKE: figure out how to share templates in folio-tools/folio-ansible</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="5cd423bebc70090d6ce241b1">Ian Hardy</assignee>
                                                                <reporter accountid="5cd423bebc70090d6ce241b1">Ian Hardy</reporter>
                                    <labels>
                            <label>ci</label>
                            <label>platform-backlog</label>
                    </labels>
                <created>Fri, 6 Sep 2019 13:47:59 +0000</created>
                <updated>Wed, 3 Jun 2020 16:40:06 +0000</updated>
                            <resolved>Thu, 19 Sep 2019 20:33:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="192929" author="5c706fbb47a54a6728e59df2" created="Fri, 6 Sep 2019 16:15:30 +0000"  >&lt;p&gt;Possibilities:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Include folio-tools as a submodule of folio-ansible&lt;/li&gt;
	&lt;li&gt;Publish md2kubeyaml with templates as a Python package to install with Pip&lt;/li&gt;
	&lt;li&gt;Have the module-kubernetes role clone the folio-tools repository on the control host&lt;/li&gt;
	&lt;li&gt;Point to templates as URLs on Github&lt;/li&gt;
&lt;/ul&gt;
</comment>
                                                            <comment id="192933" author="5cd423bebc70090d6ce241b1" created="Tue, 10 Sep 2019 13:37:54 +0000"  >&lt;p&gt;I&apos;d like to eliminate the python package option. Seems like updates will likely be driven from the ansible side more ofthen than not and I wouldn&apos;t want people to have to release a python package to make an update to these templates.&lt;/p&gt;

&lt;p&gt;Leaning towards having the module-kubernetes role clone folio-tools when it runs rather than adding a submodule.&lt;/p&gt;</comment>
                                                            <comment id="192936" author="5cd423bebc70090d6ce241b1" created="Thu, 19 Sep 2019 19:58:45 +0000"  >&lt;p&gt;Use ansible&apos;s git module w/clone depth=1 to save bandwidth, for example:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;    git:
      repo: &apos;https://github.com/folio-org/folio-tools&apos;
      version: folio-2240-testing
      depth: 1
      dest: /home/ian/projects/folio-2240/folio-tools-clone
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Couldn&apos;t figure out how to do sparse checkout of a directory in less than 4 tasks, so I think just cloning the whole repo w/depth set to one is preferable.&lt;/p&gt;</comment>
                                                            <comment id="192941" author="5cd423bebc70090d6ce241b1" created="Thu, 19 Sep 2019 20:32:54 +0000"  >&lt;p&gt;Other changes necessary to folio-ansible to share this code:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;In the module-deployment.yml.j2 template, use the module descriptor instead of the module item variable (simply changing module_item to module_descriptor works since the md has already been set as a variable)&lt;/li&gt;
	&lt;li&gt;set env_from_secret to true as the default in folio ansible (this will create the db connection secret).&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79670">FOLIO-2292</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81250">FOLIO-2185</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i003q7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1469">CP: sprint 72</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 6 Sep 2019 16:15:30 +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>