hivedav-website

Website for HiveDAV
git clone https://git.in0rdr.ch/hivedav-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit 65e7aca85c4e98c05f65e676cb0ec8450ff6d6ea
parent 8e82995a47d736cafb93cd08f2a2d5b2a8e138cc
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Mon, 29 Sep 2025 18:56:20 +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-hivedav", "${scmVars.GIT_COMMIT}") + buildahpush.execute("jekyll-hivedav", "${scmVars.GIT_COMMIT}") +}