From 119731e2a09aacbf75d1da326d349379d0198a12 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 29 May 2024 19:43:12 +0200 Subject: [PATCH] feat: make into service instead Signed-off-by: kjuulh --- .drone.yml | 2 +- crates/hyperlog/Cargo.toml | 2 +- cuddle.yaml | 17 ++++++++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 77bff5c..62e235e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,2 +1,2 @@ kind: template -load: cuddle-rust-cli-plan.yaml +load: cuddle-rust-service-plan.yaml diff --git a/crates/hyperlog/Cargo.toml b/crates/hyperlog/Cargo.toml index 0c60d19..726a3f6 100644 --- a/crates/hyperlog/Cargo.toml +++ b/crates/hyperlog/Cargo.toml @@ -28,5 +28,5 @@ similar-asserts = "1.5.0" tempfile = "3.10.1" [features] -default = [] +default = ["include_server"] include_server = ["dep:hyperlog-server"] diff --git a/cuddle.yaml b/cuddle.yaml index 365632f..d8e05d1 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -1,11 +1,26 @@ # yaml-language-server: $schema=https://git.front.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json -base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-cli-plan.git" +base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-service-plan.git" vars: service: "hyperlog" registry: kasperhermansen + database: + crdb: "true" + + ingress: + - external: "true" + - internal: "true" + +cuddle/clusters: + dev: + env: + service.host: "0.0.0.0:3000" + prod: + env: + service.host: "0.0.0.0:3000" + please: project: owner: kjuulh