Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 22bf5ca

Browse files
yradsmikhambnookala
authored andcommitted
exclude bedrock.yaml in triggers
1 parent a5b5a26 commit 22bf5ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/lib/fileutils.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
SERVICE_PIPELINE_FILENAME,
1111
VERSION_MESSAGE,
1212
VM_IMAGE,
13+
BEDROCK_FILENAME,
1314
} from "../lib/constants";
1415
import { logger } from "../logger";
1516
import {
@@ -149,7 +150,12 @@ export const serviceBuildAndUpdatePipeline = (
149150
branches: { include: [...new Set(ringBranches)] },
150151
...(relativeServicePathFormatted === ""
151152
? {}
152-
: { paths: { include: [relativeServicePathFormatted] } }),
153+
: {
154+
paths: {
155+
include: [relativeServicePathFormatted],
156+
exclude: [BEDROCK_FILENAME],
157+
},
158+
}),
153159
},
154160
variables: [...(variableGroups ?? []).map((group) => ({ group }))],
155161
stages: [

0 commit comments

Comments
 (0)