Skip to content

Commit

Permalink
Update naming of test account secret
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <[email protected]>
  • Loading branch information
lewijacn committed Sep 3, 2024
1 parent 9cf45bc commit 216967a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions jenkins/migrationIntegPipelines/rfsBackfillE2EPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ defaultIntegPipeline(
"--junitxml=${test_result_file} ${test_dir}/backfill_tests.py " +
"--unique_id ${uniqueId} " +
"-s"
withCredentials([string(credentialsId: 'migration-test-account-id', variable: 'MIGRATION_TEST_ACCOUNT_ID')]) {
withAWS(role: 'JenkinsDeploymentRole', roleAccount: "${MIGRATION_TEST_ACCOUNT_ID}", duration: 3600, roleSessionName: 'jenkins-session') {
withCredentials([string(credentialsId: 'migrations-test-account-id', variable: 'MIGRATIONS_TEST_ACCOUNT_ID')]) {
withAWS(role: 'JenkinsDeploymentRole', roleAccount: "${MIGRATIONS_TEST_ACCOUNT_ID}", duration: 3600, roleSessionName: 'jenkins-session') {
sh "sudo --preserve-env ./awsRunIntegTests.sh --command '${command}' " +
"--test-result-file ${test_result_file} " +
"--stage ${params.STAGE}"
Expand Down
8 changes: 4 additions & 4 deletions vars/defaultIntegPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def call(Map config = [:]) {
if (skipCaptureProxyOnNodeSetup) {
baseCommand += " --skip-capture-proxy"
}
withCredentials([string(credentialsId: 'migration-test-account-id', variable: 'MIGRATION_TEST_ACCOUNT_ID')]) {
withAWS(role: 'JenkinsDeploymentRole', roleAccount: "${MIGRATION_TEST_ACCOUNT_ID}", duration: 5400, roleSessionName: 'jenkins-session') {
withCredentials([string(credentialsId: 'migrations-test-account-id', variable: 'MIGRATIONS_TEST_ACCOUNT_ID')]) {
withAWS(role: 'JenkinsDeploymentRole', roleAccount: "${MIGRATIONS_TEST_ACCOUNT_ID}", duration: 5400, roleSessionName: 'jenkins-session') {
sh baseCommand
}
}
Expand Down Expand Up @@ -133,8 +133,8 @@ def call(Map config = [:]) {
"--junitxml=${test_result_file} ${test_dir}/replayer_tests.py " +
"--unique_id ${uniqueId} " +
"-s"
withCredentials([string(credentialsId: 'migration-test-account-id', variable: 'MIGRATION_TEST_ACCOUNT_ID')]) {
withAWS(role: 'JenkinsDeploymentRole', roleAccount: "${MIGRATION_TEST_ACCOUNT_ID}", duration: 3600, roleSessionName: 'jenkins-session') {
withCredentials([string(credentialsId: 'migrations-test-account-id', variable: 'MIGRATIONS_TEST_ACCOUNT_ID')]) {
withAWS(role: 'JenkinsDeploymentRole', roleAccount: "${MIGRATIONS_TEST_ACCOUNT_ID}", duration: 3600, roleSessionName: 'jenkins-session') {
sh "sudo --preserve-env ./awsRunIntegTests.sh --command '${command}' " +
"--test-result-file ${test_result_file} " +
"--stage ${params.STAGE}"
Expand Down

0 comments on commit 216967a

Please sign in to comment.