<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:20:48 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-2460] test and move container cleanup job from K8s cron to jenkins</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2460</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Module cleanup job for CI kubernetes cluster should be executed from Jenkins. Running as a kubernetes cron job has been problematic because it&apos;s not as easy to see the results of older cleanup jobs. Consider re-writing this job as the crob job has been problematic.&lt;/p&gt;

&lt;p&gt;Requirements:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Job is executed from jenkins, easy to see which modules were deleted and why&lt;/li&gt;
	&lt;li&gt;Job is able to correctly identify oldest module by semvar.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="81544">FOLIO-2460</key>
            <summary>test and move container cleanup job from K8s cron to jenkins</summary>
                <type id="10002" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium">New Feature</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="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d">Jakub Skoczen</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 10 Feb 2020 14:41:43 +0000</created>
                <updated>Wed, 3 Jun 2020 16:40:25 +0000</updated>
                            <resolved>Fri, 27 Mar 2020 17:43:38 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="194977" author="5cd423bebc70090d6ce241b1" created="Thu, 5 Mar 2020 17:29:04 +0000"  >&lt;p&gt;There&apos;s a lot of nuance to try to catch in this cleanup job, and I think a script is still the way to do it. To run such a script from jenkins we either need to add a bunch of new deps to the jenkins-slave-all image, or use another image as the build agent. I know John has thought about breaking up that build agent in the past. &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; any thoughts on what the best practice would be? I&apos;m not sure whats all involved with adding a new agent and if doing that would be preferable to expanding the existing jenkins-slave-all image.&lt;/p&gt;

&lt;p&gt;If we did add a new image, I&apos;d propose it would be a ci-scripts image with python3, plus whatever other scripting environments we may need (perl, etc).&lt;/p&gt;</comment>
                                                            <comment id="194980" author="5cd423bebc70090d6ce241b1" created="Thu, 5 Mar 2020 18:28:54 +0000"  >&lt;p&gt;I&apos;ve been doing some testing with the --dry-run flag enabled on the existing cleanup script and it doesn&apos;t appear to be mis-deleting any modules. The script is the same as the one in the docker image with the &quot;latest&quot; tag in dockerhub, but I see the sha256 hash of the container differs. the kubernetes job must not be pulling the latest image.&lt;/p&gt;

&lt;p&gt;I think its worth re-using the script since it appears to work fine, but we do need to move this job into jenkins for better auditing.&lt;/p&gt;</comment>
                                                            <comment id="194984" author="5cd423bebc70090d6ce241b1" created="Mon, 23 Mar 2020 15:34:50 +0000"  >&lt;p&gt;&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; fyi re-enabled module cleanup on the default namespace.&lt;/p&gt;

&lt;p&gt;Example output: &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/Automation/job/kubernetes-module-cleanup/31/console&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/Automation/job/kubernetes-module-cleanup/31/console&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81489">FOLIO-2498</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81613">FOLIO-2521</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81621">FOLIO-2534</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1984">DevOps: sprint 84</customfieldvalue>
    <customfieldvalue id="1943">DevOps: sprint 85</customfieldvalue>
    <customfieldvalue id="1983">DevOps: sprint 83</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 5 Mar 2020 17:29:04 +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>