Hi folks, just as posted at https://tvlk.slack.com/files/T02T3CAFM/F0150Q1NR88, I will apply the change on backend-monorepo and tv-sql-product starting on 18.00 UTC+7. Here are the list of things you need to do:
6f88711c6ef65ea1e5af7e6c04b902a3bc9a5310
and ae5182407d4a8a254972583abcc92dd7208a163b
, the second one can be delayed until May 28 18.00 UTC+7. If you have pipelines for releasing services from monorepo, you will also have to update this part:
withCredentials([[
$class : 'AmazonWebServicesCredentialsBinding',
accessKeyVariable: "AWS_ACCESS_KEY_ID",
credentialsId : 'tvlk-dev-user-jenkins',
SecretKeyVariable: "AWS_SECRET_ACCESS_KEY"
]]) {
BeiartfUtil.assumeRole(this)
sh "./gradlew -qs :compileModified compileModifiedDependants -PmodifiedProjectsTest='${modified_test.trim()}' -PmodifiedProjectsMain='${modified_main.trim()}'"
}
to
withCredentials([[
$class : 'AmazonWebServicesCredentialsBinding',
accessKeyVariable: "AWS_ACCESS_KEY_ID",
credentialsId : 'tvlk-dev-user-jenkins',
SecretKeyVariable: "AWS_SECRET_ACCESS_KEY"
]]) {
BeiartfUtil.assumeRole(this) // this is for transition, please remove soon
sh "./scripts/assume_role.sh -r arn:aws:iam::517530806209:role/external/BeiartfWriter_jenkins"
}
sh "./gradlew -qs :compileModified compileModifiedDependants -PmodifiedProjectsTest='${modified_test.trim()}' -PmodifiedProjectsMain='${modified_main.trim()}'"
I will handle the codereview pipeline, and there will be a transition period until tomorrow 18.00 UTC+7 to cherry pick both commits. After that, I will remove the BeiartfUtil.assumeRole(this)
.
627a4c471a7caacbcbc7583ca1cdc74d75b94a36
commit and update the proxy publishing pipelines to use the latest template (v0.5.0).
That's all.