Skip to content

Commit

Permalink
WOR-1810: Hide azure apps from Cloud Environments page (#4772)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtitle authored Aug 29, 2024
1 parent 0f2a5a0 commit e46acfc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,5 @@
<include file="changesets/20240605_add_update_app_log_table.xml" relativeToChangelogFile="true" />
<include file="changesets/20240620_add_mount_ws_bucket_to_app_table.xml" relativeToChangelogFile="true" />
<include file="changesets/20240620_uuid_type.xml" relativeToChangelogFile="true" />
<include file="changesets/20240828_remove_saturnAutoCreated_label_from_azure_apps.xml" relativeToChangelogFile="true" />
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog logicalFilePath="leonardo" xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">
<changeSet logicalFilePath="leonardo" author="rtitle" id="remove-saturnAutoCreated-label-from-azure-apps">
<sql dbms="mysql">
DELETE l FROM LABEL l
INNER JOIN APP a ON l.resourceId = a.id AND l.resourceType = 'app'
WHERE l.`key` = 'saturnAutoCreated'
AND a.appType in ('WORKFLOWS_APP', 'CROMWELL_RUNNER_APP');
</sql>
</changeSet>
</databaseChangeLog>

0 comments on commit e46acfc

Please sign in to comment.