bump project to 0.7.0 (and fix docker .env task for all docker .envs)
This commit is contained in:
parent
5fcb831df2
commit
665327e010
16 changed files with 78 additions and 28 deletions
2
modules/events-mod/package-lock.json
generated
2
modules/events-mod/package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "kafkatorio-events-mod",
|
||||
"version": "0.6.1",
|
||||
"version": "0.7.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "kafkatorio-events-mod",
|
||||
"version": "0.6.1",
|
||||
"version": "0.7.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tstl",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import dev.adamko.kafkatorio.task.DockerEnvUpdateTask
|
||||
import dev.adamko.kafkatorio.task.KafkaConsumerGroupsTask
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
|
|
@ -106,3 +107,14 @@ idea {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
val dockerEnvUpdate by tasks.registering(DockerEnvUpdateTask::class) {
|
||||
dotEnvFile.set(layout.projectDirectory.file("docker/.env"))
|
||||
|
||||
properties(
|
||||
"COMPOSE_PROJECT_NAME" to rootProject.name,
|
||||
"KAFKATORIO_VERSION" to project.version,
|
||||
)
|
||||
}
|
||||
tasks.assemble { dependsOn(dockerEnvUpdate) }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# Do not edit manually. This file was created with task 'dockerEnv'
|
||||
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
|
||||
COMPOSE_PROJECT_NAME=kafkatorio
|
||||
KAFKATORIO_VERSION=0.6.1
|
||||
KAFKATORIO_VERSION=0.7.0
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ tasks.dockerUp {
|
|||
}
|
||||
|
||||
|
||||
tasks.dockerEnv {
|
||||
tasks.dockerEnvUpdate {
|
||||
properties("FACTORIO_VERSION" to libs.versions.factorio.get())
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Do not edit manually. This file was created with task 'dockerEnv'
|
||||
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
|
||||
COMPOSE_PROJECT_NAME=kafkatorio
|
||||
FACTORIO_VERSION=1.1.61
|
||||
KAFKATORIO_VERSION=0.6.1
|
||||
KAFKATORIO_VERSION=0.7.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
|
||||
description = "Kafka cluster"
|
||||
|
||||
tasks.dockerEnv {
|
||||
tasks.dockerEnvUpdate {
|
||||
properties(
|
||||
"GRAFANA_VERSION" to libs.versions.grafana,
|
||||
"PROMETHEUS_VERSION" to libs.versions.prometheus,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Do not edit manually. This file was created with task 'dockerEnv'
|
||||
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
|
||||
COMPOSE_PROJECT_NAME=kafkatorio
|
||||
GRAFANA_VERSION=8.5.0
|
||||
KAFKATORIO_VERSION=0.6.1
|
||||
KAFKATORIO_VERSION=0.7.0
|
||||
KAFKA_DL_URL=https\://dlcdn.apache.org/kafka/3.2.0/kafka_2.13-3.2.0.tgz
|
||||
KAFKA_VERSION=3.2.0
|
||||
PROMETHEUS_VERSION=v2.34.0
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ tasks.dockerUp {
|
|||
|
||||
|
||||
val dockerBuildKafkaPipe by tasks.registering(DockerComposeExec::class) {
|
||||
dependsOn(tasks.dockerEnv)
|
||||
dependsOn(tasks.dockerEnvUpdate)
|
||||
|
||||
dockerComposeDir.set(dockerSrcDir)
|
||||
command.set("docker-compose build kafka-pipe")
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# Do not edit manually. This file was created with task 'dockerEnv'
|
||||
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
|
||||
COMPOSE_PROJECT_NAME=kafkatorio
|
||||
KAFKATORIO_VERSION=0.6.1
|
||||
KAFKATORIO_VERSION=0.7.0
|
||||
|
|
|
|||
|
|
@ -144,3 +144,14 @@ fun KotlinDependencyHandler.kvision(
|
|||
// resolution("webpack-dev-server", "4.9.1")
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
val dockerEnvUpdate by tasks.registering(dev.adamko.kafkatorio.task.DockerEnvUpdateTask::class) {
|
||||
dotEnvFile.set(layout.projectDirectory.file("docker/.env"))
|
||||
|
||||
properties(
|
||||
"COMPOSE_PROJECT_NAME" to rootProject.name,
|
||||
"KAFKATORIO_VERSION" to project.version,
|
||||
)
|
||||
}
|
||||
tasks.assemble { dependsOn(dockerEnvUpdate) }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# Do not edit manually. This file was created with task 'dockerEnv'
|
||||
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
|
||||
COMPOSE_PROJECT_NAME=kafkatorio
|
||||
KAFKATORIO_VERSION=0.6.1
|
||||
KAFKATORIO_VERSION=0.7.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue