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

Commit

Permalink
exclude bedrock.yaml in triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
yradsmikham authored and bnookala committed Mar 31, 2020
1 parent a5b5a26 commit 22bf5ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/fileutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
SERVICE_PIPELINE_FILENAME,
VERSION_MESSAGE,
VM_IMAGE,
BEDROCK_FILENAME,
} from "../lib/constants";
import { logger } from "../logger";
import {
Expand Down Expand Up @@ -149,7 +150,12 @@ export const serviceBuildAndUpdatePipeline = (
branches: { include: [...new Set(ringBranches)] },
...(relativeServicePathFormatted === ""
? {}
: { paths: { include: [relativeServicePathFormatted] } }),
: {
paths: {
include: [relativeServicePathFormatted],
exclude: [BEDROCK_FILENAME],
},
}),
},
variables: [...(variableGroups ?? []).map((group) => ({ group }))],
stages: [
Expand Down

0 comments on commit 22bf5ca

Please sign in to comment.