Update deployment scripts to support AWSI automation tests on Linux (#7038)
* Update deployment scripts to support AWSI automation tests on Linux Signed-off-by: Junbo Liang <68558268+junbo75@users.noreply.github.com>
This commit is contained in:
@@ -49,6 +49,10 @@ FOR /f "tokens=1,2,3" %%a IN ('CALL aws sts assume-role --query Credentials.[Sec
|
||||
)
|
||||
FOR /F "tokens=4 delims=:" %%a IN ("%ASSUME_ROLE_ARN%") DO SET O3DE_AWS_DEPLOY_ACCOUNT=%%a
|
||||
|
||||
IF "%O3DE_AWS_PROJECT_NAME%"=="" (
|
||||
SET O3DE_AWS_PROJECT_NAME=%BRANCH_NAME%-%PIPELINE_NAME%-Windows
|
||||
)
|
||||
|
||||
REM Bootstrap and deploy the CDK applications
|
||||
ECHO [cdk_bootstrap] Bootstrap CDK
|
||||
CALL cdk bootstrap aws://%O3DE_AWS_DEPLOY_ACCOUNT%/%O3DE_AWS_DEPLOY_REGION%
|
||||
|
||||
@@ -48,6 +48,9 @@ FOR /f "tokens=1,2,3" %%a IN ('CALL aws sts assume-role --query Credentials.[Sec
|
||||
SET AWS_ACCESS_KEY_ID=%%c
|
||||
)
|
||||
FOR /F "tokens=4 delims=:" %%a IN ("%ASSUME_ROLE_ARN%") DO SET O3DE_AWS_DEPLOY_ACCOUNT=%%a
|
||||
IF "%O3DE_AWS_PROJECT_NAME%"=="" (
|
||||
SET O3DE_AWS_PROJECT_NAME=%BRANCH_NAME%-%PIPELINE_NAME%-Windows
|
||||
)
|
||||
|
||||
SET ERROR_EXISTS=0
|
||||
CALL :DestroyCDKApplication AWSCore,ERROR_EXISTS
|
||||
|
||||
@@ -16,13 +16,6 @@
|
||||
},
|
||||
"PIPELINE_JENKINS_PARAMETERS": {
|
||||
"nightly-incremental": [
|
||||
{
|
||||
"parameter_name": "O3DE_AWS_PROJECT_NAME",
|
||||
"parameter_type": "string",
|
||||
"default_value": "",
|
||||
"use_last_run_value": true,
|
||||
"description": "The name of the O3DE project that stacks should be deployed for."
|
||||
},
|
||||
{
|
||||
"parameter_name": "O3DE_AWS_DEPLOY_REGION",
|
||||
"parameter_type": "string",
|
||||
@@ -46,13 +39,6 @@
|
||||
}
|
||||
],
|
||||
"nightly-clean": [
|
||||
{
|
||||
"parameter_name": "O3DE_AWS_PROJECT_NAME",
|
||||
"parameter_type": "string",
|
||||
"default_value": "",
|
||||
"use_last_run_value": true,
|
||||
"description": "The name of the O3DE project that stacks should be deployed for."
|
||||
},
|
||||
{
|
||||
"parameter_name": "O3DE_AWS_DEPLOY_REGION",
|
||||
"parameter_type": "string",
|
||||
|
||||
Reference in New Issue
Block a user