-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
13 deletions.
There are no files selected for viewing
34 changes: 28 additions & 6 deletions
34
external-verification-service/config/deploy/buildspec.dev.yml
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,11 +1,33 @@ | ||
version: 0.2 | ||
|
||
env: | ||
variables: | ||
ENV_NAME: dev | ||
|
||
phases: | ||
install: | ||
on-failure: ABORT | ||
runtime-versions: | ||
nodejs: 18 | ||
commands: | ||
- echo installing serverless cli | ||
- npm i -g serverless | ||
- cd external-verification-service | ||
- echo installing npm dependecies of infra service | ||
- npm install | ||
- serverless plugin install --name serverless-plugin-typescript | ||
- serverless plugin install --name serverless-apigateway-service-proxy | ||
- serverless plugin install --name serverless-iam-roles-per-function | ||
|
||
build: | ||
on-failure: ABORT | ||
commands: | ||
- echo deployment phase | ||
- echo $ENV_NAME | ||
- echo Deploying | ||
- serverless deploy --stage dev | ||
|
||
# the file codebuild should deploy to s3 | ||
artifacts: | ||
files: | ||
- external-verification-service/my-artifact/* | ||
name: myProjectArtifacts | ||
|
||
cache: | ||
paths: | ||
- "external-verification-service/node_modules/**/*" | ||
# ${env:GITHUB_TOKEN} |
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