cv-website

Personal website and CV
git clone https://git.in0rdr.ch/cv-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit 4660a8b9efdd57498e207d7f6be4e0710a38e706
parent db5d5a7129f5e2cb3c1776fc5f4616b1a9252410
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Mon, 29 Sep 2025 18:44:29 +0200

feat: add Docker and Jenkinsfile

Diffstat:
ADockerfile | 8++++++++
AJenkinsfile | 11+++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,8 @@ +FROM docker.io/ruby:3.2 + +WORKDIR /usr/src/app +COPY . /usr/src/app + +RUN bundle config set path 'vendor/bundle' +RUN bundle install +CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--port", "4000"] diff --git a/Jenkinsfile b/Jenkinsfile @@ -0,0 +1,11 @@ +@Library('in0rdr-jenkins-lib@master') _ + +def buildahbud = new BuildahBud(this) +def buildahpush = new BuildahPush(this) + +node('podman'){ + scmVars = checkout(scm) + + buildahbud.execute([:], ".", "jekyll-cv", "${scmVars.GIT_COMMIT}") + buildahpush.execute("jekyll-cv", "${scmVars.GIT_COMMIT}") +}