From 2aebcc647d37c7fc804f9b0d15bf686ff1669a16 Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Mon, 12 Sep 2022 22:26:32 +0200 Subject: [PATCH] add-cuddle (#2) Co-authored-by: kjuulh Reviewed-on: https://git.front.kjuulh.io/kjuulh/kraken/pulls/2 --- .gitignore | 1 + cuddle.yaml | 7 +++++++ roadmap.md | 2 +- templates/build_release.Dockerfile | 7 +++++++ 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 cuddle.yaml create mode 100644 templates/build_release.Dockerfile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75d1871 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.cuddle/ diff --git a/cuddle.yaml b/cuddle.yaml new file mode 100644 index 0000000..198d9fc --- /dev/null +++ b/cuddle.yaml @@ -0,0 +1,7 @@ +# 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-go-plan.git" + +vars: + service: "kraken" + deployments: "git@git.front.kjuulh.io:kjuulh/deployments.git" diff --git a/roadmap.md b/roadmap.md index f072ef5..25b8252 100644 --- a/roadmap.md +++ b/roadmap.md @@ -2,7 +2,7 @@ ## POC: -- [ ] Add cuddle +- [x] Add cuddle - [x] Create storage mechanism - [x] Pull repository into storage - [x] Create test action to run on repository diff --git a/templates/build_release.Dockerfile b/templates/build_release.Dockerfile new file mode 100644 index 0000000..ac7b134 --- /dev/null +++ b/templates/build_release.Dockerfile @@ -0,0 +1,7 @@ +FROM golang + +COPY . . + +RUN go build cmd/server/server.go + +CMD [ "server", "start" ]