File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ phases:
2222 - docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
2323 - echo Writing image definitions file...
2424 - printf '[{"name":"%s","imageUri":"%s"}]' $CONTAINER_NAME $REPOSITORY_URI:$IMAGE_TAG > imagedefinitions.json
25+ artifacts :
26+ files : imagedefinitions.json
2527cache :
2628 paths :
2729 - ' /root/.m2/**/*'
Original file line number Diff line number Diff line change @@ -5,20 +5,13 @@ const config = require('config')
55console . log ( config ) ;
66
77app . get ( '/' , ( req , res ) => {
8- res . send ( 'CICD App V1 !' )
8+ res . send ( 'CICD App V2 !' )
99} )
1010
1111app . get ( '/status' , ( req , res ) => {
1212 res . send ( 'ok' )
1313 } )
1414
15- app . get ( '/check-env' , ( req , res ) => {
16- res . json ( {
17- DB_NAME : process . env . DB_NAME ,
18- DB_USER : process . env . DB_USER ,
19- DB_HOST : process . env . DB_HOST
20- } )
21- } )
2215
2316app . listen ( port , ( ) => {
2417 console . log ( `Example app listening at http://localhost:${ port } ` )
You can’t perform that action at this time.
0 commit comments