@@ -8,7 +8,7 @@ const cb = require("./code-build");
88const assert = require ( "assert" ) ;
99const yargs = require ( "yargs" ) ;
1010
11- const { projectName, buildspecOverride, computeTypeOverride, imageOverride, envPassthrough, remote } = yargs
11+ const { projectName, buildspecOverride, computeTypeOverride, environmentTypeOverride , imageOverride, envPassthrough, remote } = yargs
1212 . option ( "project-name" , {
1313 alias : "p" ,
1414 describe : "AWS CodeBuild Project Name" ,
@@ -25,6 +25,11 @@ const { projectName, buildspecOverride, computeTypeOverride, imageOverride, envP
2525 describe : "The name of a compute type for this build that overrides the one specified in the build project." ,
2626 type : "string" ,
2727 } )
28+ . option ( "environment-type-override" , {
29+ alias : "et" ,
30+ describe : "A container type for this build that overrides the one specified in the build project." ,
31+ type : "string" ,
32+ } )
2833 . option ( "image-override" , {
2934 alias : "i" ,
3035 describe : "The name of an image for this build that overrides the one specified in the build project." ,
@@ -50,6 +55,7 @@ const params = cb.inputs2Parameters({
5055 sourceVersion : BRANCH_NAME ,
5156 buildspecOverride,
5257 computeTypeOverride,
58+ environmentTypeOverride,
5359 imageOverride,
5460 envPassthrough,
5561} ) ;
0 commit comments