File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,20 @@ class ContinousDeploymentPipelineStack extends cdk.Stack {
148
148
) ,
149
149
} )
150
150
) ;
151
+ testStage . addAction (
152
+ new codepipeline_actions . CodeBuildAction ( {
153
+ actionName : "TestServiceProvider" ,
154
+ input : sourceOutput ,
155
+ project : makeTestProject (
156
+ this ,
157
+ env ,
158
+ tag ,
159
+ "TestServiceProvider" ,
160
+ [ "scripts/ci/run-tests-service-provider.sh" ] ,
161
+ "corretto21"
162
+ ) ,
163
+ } )
164
+ ) ;
151
165
}
152
166
153
167
const deployProject = new codebuild . PipelineProject (
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -o errexit -o nounset -o pipefail
3
+ readonly repo=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && cd ../.. && pwd ) "
4
+
5
+ function main {
6
+ cd " $repo /service-provider"
7
+ ./mvnw clean test
8
+ }
9
+
10
+ main " $@ "
You can’t perform that action at this time.
0 commit comments