-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
mobile-purchases-feast
to ci pipeline
- Loading branch information
1 parent
7181db8
commit 33f7204
Showing
6 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import "source-map-support/register"; | ||
import { GuRoot } from "@guardian/cdk/lib/constructs/root"; | ||
import { MobilePurchases } from "../lib/mobile-purchases"; | ||
import { MobilePurchasesFeast } from "../lib/mobile-purchases-feast"; | ||
|
||
const app = new GuRoot(); | ||
new MobilePurchases(app, "MobilePurchases-euwest-1-CODE", { stack: "mobile", stage: "CODE", env: { region: "eu-west-1" } }); | ||
new MobilePurchases(app, "MobilePurchases-euwest-1-PROD", { stack: "mobile", stage: "PROD", env: { region: "eu-west-1" } }); | ||
new MobilePurchasesFeast(app, "MobilePurchasesFeast-CODE", { stack: "mobile", stage: "CODE", env: { region: "eu-west-1" } }); | ||
new MobilePurchasesFeast(app, "MobilePurchasesFeast-PROD", { stack: "mobile", stage: "PROD", env: { region: "eu-west-1" } }); |
6 changes: 3 additions & 3 deletions
6
cdk/lib/mobile-purchases.test.ts → cdk/lib/mobile-purchases-feast.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -x | ||
|
||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||
ROOT_DIR="${DIR}/.." | ||
cd "$ROOT_DIR/cdk" | ||
|
||
yarn install --frozen-lockfile | ||
yarn tsc | ||
yarn lint | ||
yarn test | ||
yarn synth |