Skip to content

Commit a727b60

Browse files
authored
fix: MongoDB and DynamoDB test kits deployment (#834)
1 parent ddf0a2f commit a727b60

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,10 @@ jobs:
576576
mongock-support,
577577
mongock-importer-mongodb,
578578
mongock-importer-dynamodb,
579-
mongock-importer-couchbase
579+
mongock-importer-couchbase,
580+
flamingock-test-support,
581+
flamingock-springboot-test-support,
582+
flamingock-auditstore-sql
580583
]
581584
uses: ./.github/workflows/github-release.yml
582585
secrets:

buildSrc/src/main/kotlin/flamingock.project-structure.gradle.kts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@ val legacyProjects = setOf(
6565
"mongock-importer-couchbase"
6666
)
6767

68-
val allProjects = coreProjects + cloudProjects + communityProjects + pluginProjects + targetSystemProjects + externalSystemProjects + utilProjects + legacyProjects
68+
val testKitsProjects = setOf(
69+
"mongodb-test-kit",
70+
"dynamodb-test-kit"
71+
)
72+
73+
val allProjects = coreProjects + cloudProjects + communityProjects + pluginProjects + targetSystemProjects + externalSystemProjects + utilProjects + legacyProjects + testKitsProjects
6974

7075
// Project classification utilities
7176
fun Project.isBomModule(): Boolean = name.endsWith("-bom")
@@ -81,6 +86,7 @@ fun Project.getProjectCategory(): String? = when (name) {
8186
in externalSystemProjects -> "externalSystems"
8287
in utilProjects -> "utils"
8388
in legacyProjects -> "legacy"
89+
in testKitsProjects -> "testKits"
8490
else -> null
8591
}
8692

@@ -94,6 +100,7 @@ fun getProjectsForBundle(bundle: String?): Set<String> = when (bundle) {
94100
"externalSystems" -> externalSystemProjects
95101
"utils" -> utilProjects
96102
"legacy" -> legacyProjects
103+
"testKits" -> testKitsProjects
97104
"all" -> allProjects
98105
else -> setOf()
99106
}
@@ -107,6 +114,7 @@ extra["targetSystemProjects"] = targetSystemProjects
107114
extra["externalSystemProjects"] = externalSystemProjects
108115
extra["utilProjects"] = utilProjects
109116
extra["legacyProjects"] = legacyProjects
117+
extra["testKitsProjects"] = testKitsProjects
110118
extra["allProjects"] = allProjects
111119

112120
// Apply appropriate plugins based on project type

buildSrc/src/main/kotlin/flamingock.release-management.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ val projectsToRelease = if (module != null) {
3434
val externalSystemProjects = project.extra["externalSystemProjects"] as Set<String>
3535
val utilProjects = project.extra["utilProjects"] as Set<String>
3636
val legacyProjects = project.extra["legacyProjects"] as Set<String>
37+
val testKitsProjects = project.extra["testKitsProjects"] as Set<String>
3738

3839
when (releaseBundle) {
3940
"core" -> coreProjects
@@ -44,6 +45,7 @@ val projectsToRelease = if (module != null) {
4445
"externalSystems" -> externalSystemProjects
4546
"utils" -> utilProjects
4647
"legacy" -> legacyProjects
48+
"testKits" -> testKitsProjects
4749
"all" -> allProjects
4850
else -> setOf()
4951
}

0 commit comments

Comments
 (0)