Skip to content

Commit

Permalink
[TH2-5226] corrected after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Sep 16, 2024
1 parent 0a45dff commit f2f35d6
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 3,589 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ openshift:
### 4.7.0
+ Improved clean rubbish from RabbitMQ on start to delete only redundant resources.
The `cleanUpOnStart` option has been removed, the clean rubbish function is enabled.
+ Migrated to th2 plugin `0.1.1`
+ Migrated to th2 plugin `0.1.2`

+ Updated:
+ bom: `4.6.1`
Expand Down
17 changes: 16 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
// alias(libs.plugins.detekt)
alias(libs.plugins.kotlin)
alias(libs.plugins.th2.component)
alias(libs.plugins.download)
}

group = 'com.exactpro.th2'
Expand Down Expand Up @@ -82,8 +83,22 @@ test {
}
}

tasks.register("integrationTest", Test.class) {
tasks.register("downloadCRDs", Download) {
group = "verification"
src([
'https://raw.githubusercontent.com/th2-net/th2-infra/master/chart/crds/th2-box-crd.yaml',
'https://raw.githubusercontent.com/th2-net/th2-infra/master/chart/crds/th2-core-box-crd.yaml',
'https://raw.githubusercontent.com/th2-net/th2-infra/master/chart/crds/th2-dictionary-crd.yaml',
'https://raw.githubusercontent.com/th2-net/th2-infra/master/chart/crds/th2-estore-crd.yaml',
'https://raw.githubusercontent.com/th2-net/th2-infra/master/chart/crds/th2-job-crd.yaml',
'https://raw.githubusercontent.com/th2-net/th2-infra/master/chart/crds/th2-mstore-crd.yaml',
])
dest layout.buildDirectory.dir('resources/test/crds').get()
}

tasks.register("integrationTest", Test) {
group = "verification"
dependsOn("downloadCRDs")
useJUnitPlatform {
includeTags("integration-test")
}
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "1.8.22"
th2-plugin = "0.1.1"
th2-plugin = "0.1.2"
jupiter = "5.10.3"
okhttp3 = "4.12.0"
detekt = "1.23.6"
Expand Down Expand Up @@ -29,5 +29,6 @@ detekt-formatting = { group = "io.gitlab.arturbosch.detekt", name = "detekt-form
[plugins]
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
download = { id = "de.undercouch.download", version = "5.6.0" }

th2-component = { id = "com.exactpro.th2.gradle.component", version.ref = "th2-plugin" }
712 changes: 0 additions & 712 deletions src/test/resources/crds/th2-box-crd.yaml

This file was deleted.

Loading

0 comments on commit f2f35d6

Please sign in to comment.