update hugo to 0.144.1 & pin cronJob immage to domaindrivenarchitecture/c4k-website-build:2.0.6
This commit is contained in:
parent
ec1d62c801
commit
908cbc2895
4 changed files with 5 additions and 5 deletions
infrastructure/build
src/main/resources/website
|
@ -7,7 +7,7 @@ import logging
|
||||||
name = 'c4k-website'
|
name = 'c4k-website'
|
||||||
MODULE = 'build'
|
MODULE = 'build'
|
||||||
PROJECT_ROOT_PATH = '../..'
|
PROJECT_ROOT_PATH = '../..'
|
||||||
version = "2.0.4-dev"
|
version = "2.0.7-dev"
|
||||||
|
|
||||||
|
|
||||||
@init
|
@init
|
||||||
|
|
|
@ -3,8 +3,8 @@ FROM clojure:lein
|
||||||
# Prepare Entrypoint Script
|
# Prepare Entrypoint Script
|
||||||
ADD resources /tmp
|
ADD resources /tmp
|
||||||
|
|
||||||
ENV HUGO_VERSION="0.125.5"
|
ENV HUGO_VERSION="0.144.1"
|
||||||
ENV GO_VERSION="1.19.13"
|
ENV GO_VERSION="1.24.1"
|
||||||
ENV BUILDDIR="/etc/website"
|
ENV BUILDDIR="/etc/website"
|
||||||
ENV SOURCEDIR="/etc/websitesource"
|
ENV SOURCEDIR="/etc/websitesource"
|
||||||
ENV WEBSITEROOT="/var/www/html/website/"
|
ENV WEBSITEROOT="/var/www/html/website/"
|
||||||
|
|
|
@ -51,7 +51,7 @@ function install-hugo-from-deb() {
|
||||||
|
|
||||||
function install-go-from-tar() {
|
function install-go-from-tar() {
|
||||||
curl -L "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" -o go_linux-amd64.tar.gz
|
curl -L "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" -o go_linux-amd64.tar.gz
|
||||||
EXPECTED_CHECKSUM="4643d4c29c55f53fa0349367d7f1bb5ca554ea6ef528c146825b0f8464e2e668 go_linux-amd64.tar.gz"
|
EXPECTED_CHECKSUM="cb2396bae64183cdccf81a9a6df0aea3bce9511fc21469fb89a0c00470088073 go_linux-amd64.tar.gz"
|
||||||
ACTUAL_CHECKSUM="$(sha256sum go_linux-amd64.tar.gz)"
|
ACTUAL_CHECKSUM="$(sha256sum go_linux-amd64.tar.gz)"
|
||||||
if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]
|
if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
app.kubernetes.part-of: NAME-website
|
app.kubernetes.part-of: NAME-website
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: domaindrivenarchitecture/c4k-website-build
|
- image: domaindrivenarchitecture/c4k-website-build:2.0.6
|
||||||
name: build-cron-container
|
name: build-cron-container
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Add table
Reference in a new issue