From 672c5b21c6d9aca202ed7466b69c67e5067d7fb8 Mon Sep 17 00:00:00 2001 From: feng Date: Wed, 7 Aug 2024 10:41:08 +0200 Subject: [PATCH] TeamCity change in 'Ribasim' project: Connection updated --- .teamcity/patches/projects/_Self.kts | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 .teamcity/patches/projects/_Self.kts diff --git a/.teamcity/patches/projects/_Self.kts b/.teamcity/patches/projects/_Self.kts new file mode 100644 index 000000000..b031ab1de --- /dev/null +++ b/.teamcity/patches/projects/_Self.kts @@ -0,0 +1,69 @@ +package patches.projects + +import jetbrains.buildServer.configs.kotlin.* +import jetbrains.buildServer.configs.kotlin.Project +import jetbrains.buildServer.configs.kotlin.projectFeatures.AwsConnection +import jetbrains.buildServer.configs.kotlin.projectFeatures.GitHubIssueTracker +import jetbrains.buildServer.configs.kotlin.projectFeatures.S3Storage +import jetbrains.buildServer.configs.kotlin.projectFeatures.awsConnection +import jetbrains.buildServer.configs.kotlin.projectFeatures.githubIssues +import jetbrains.buildServer.configs.kotlin.projectFeatures.s3Storage +import jetbrains.buildServer.configs.kotlin.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the root project +accordingly, and delete the patch script. +*/ +changeProject(DslContext.projectId) { + features { + val feature1 = find { + awsConnection { + id = "AmazonWebServicesAws" + name = "Amazon Web Services (AWS)" + regionName = "eu-west-3" + credentialsType = static { + accessKeyId = "AKIAQBIN2MPWXSD2IZ5F" + secretAccessKey = "credentialsJSON:dba90026-9856-4f87-94d9-bab91f3f2d5c" + useSessionCredentials = false + stsEndpoint = "https://sts.eu-west-3.amazonaws.com" + } + } + } + feature1.apply { + credentialsType = static { + accessKeyId = "KwKRzscudy3GvRB8BN1Z" + secretAccessKey = "credentialsJSON:86cbf3e5-724c-437d-9962-7a3f429b0aa2" + useSessionCredentials = false + stsEndpoint = "https://sts.eu-west-3.amazonaws.com" + } + param("awsAllowedInSubProjects", "") + param("awsSessionDuration", "") + } + val feature2 = find { + githubIssues { + id = "PROJECT_EXT_107" + displayName = "Ribasim GitHub Issues" + repositoryURL = "https://github.com/Deltares/Ribasim" + } + } + feature2.apply { + } + val feature3 = find { + s3Storage { + id = "s3_ribasim" + storageName = "s3" + bucketName = "ribasim" + bucketPrefix = "teamcity" + awsEnvironment = default { + awsRegionName = "eu-west-3" + } + credentials = accessKeys() + accessKeyID = "AKIAQBIN2MPWXSD2IZ5F" + accessKey = "credentialsJSON:dba90026-9856-4f87-94d9-bab91f3f2d5c" + } + } + feature3.apply { + } + } +}