Add twenty-exa application to internal app ci (#21882)
renamed exa to twenty-exa add twenty-exa to ci check <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/21882?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
This commit is contained in:
@@ -76,6 +76,10 @@ export class CronRegisterAllCommand extends CommandRunner {
|
||||
this.twentyConfigService.get('SIGNING_KEY_ROTATION_DAYS'),
|
||||
);
|
||||
|
||||
const isMarketplaceCatalogSyncEnabled = this.twentyConfigService.get(
|
||||
'MARKETPLACE_CATALOG_SYNC_CRON_ENABLED',
|
||||
);
|
||||
|
||||
const allCommands = [
|
||||
{
|
||||
name: 'MessagingMessagesImport',
|
||||
@@ -156,6 +160,7 @@ export class CronRegisterAllCommand extends CommandRunner {
|
||||
{
|
||||
name: 'MarketplaceCatalogSync',
|
||||
command: this.marketplaceCatalogSyncCronCommand,
|
||||
isEnabled: isMarketplaceCatalogSyncEnabled,
|
||||
},
|
||||
{
|
||||
name: 'ApplicationVersionCheck',
|
||||
|
||||
@@ -1247,6 +1247,15 @@ export class ConfigVariables {
|
||||
@IsOptional()
|
||||
SIGNING_KEY_ROTATION_DAYS?: number;
|
||||
|
||||
@ConfigVariablesMetadata({
|
||||
group: ConfigVariablesGroup.ADVANCED_SETTINGS,
|
||||
description:
|
||||
'Register the cron job that syncs the marketplace catalog from the npm registry. Disable to stop the automatic catalog import.',
|
||||
type: ConfigVariableType.BOOLEAN,
|
||||
})
|
||||
@IsOptional()
|
||||
MARKETPLACE_CATALOG_SYNC_CRON_ENABLED = true;
|
||||
|
||||
@ConfigVariablesMetadata({
|
||||
group: ConfigVariablesGroup.RATE_LIMITING,
|
||||
description: 'Maximum number of records affected by mutations',
|
||||
|
||||
Reference in New Issue
Block a user