Skip to content

Commit

Permalink
TEST: skip TCOM in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Jeanneney committed Jan 24, 2025
1 parent 04af686 commit 05c2dfe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/generic/backend/src/lib/connector/buildConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ function buildConnector(connectorConfig: connectorConfigType) {
});

for (const source of Object.values(Sources)) {
if (process.env.GIT_BRANCH === 'dev' && source === Sources.TCOM) {
logger.log({
operationName: 'importNewDocuments',
msg: `Skipping ${source} decisions in dev environment.`,
});
continue;
}

logger.log({
operationName: 'importNewDocuments',
msg: `Fetching ${source} decisions...`,
Expand Down

0 comments on commit 05c2dfe

Please sign in to comment.