Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
ansgarz
d3dbdda983 use latest image for cron & update deps 2025-04-14 18:14:43 +02:00
ansgarz
d0fc20e71a update README.md 2025-03-23 22:02:14 +01:00
ansgarz
908cbc2895 update hugo to 0.144.1 & pin cronJob immage to domaindrivenarchitecture/c4k-website-build:2.0.6 2025-03-20 22:54:56 +01:00
ansgarz
ec1d62c801 Revert "update hugo to 0.135.0"
This reverts commit ade92be80a.
2025-03-17 21:58:55 +01:00
ansgarz
ade92be80a update hugo to 0.135.0 2025-03-17 21:12:06 +01:00
5 changed files with 16 additions and 4 deletions
.gitignoreREADME.md
infrastructure/build

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
.envrc
.eastwood
.clj-kondo/

View file

@ -98,6 +98,16 @@ Mirrors are:
For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos
### Create a new version of docker image "c4k-website-build"
Go to folder `infrastructure/build/` and create an image with `pyb image`.
After you have tagged the image and pushed it to "docker.io" it can be used by c4k-website. (TODO: document how to tag and push.)
To use the new image, update the image's version in line
`- image: domaindrivenarchitecture/c4k-website-build:2.0.6`
in file: [build-cron.yaml](src/main/resources/website/build-cron.yaml)
Then (re-)deploy the c4k-website to the server or - alternatively - update the version of the image manually on the server
in the corresponding cronJob-Deployment to automatically pull and use the new image on the server.
## License
Copyright © 2022, 2023, 2024 meissa GmbH

View file

@ -7,7 +7,7 @@ import logging
name = 'c4k-website'
MODULE = 'build'
PROJECT_ROOT_PATH = '../..'
version = "2.0.4-dev"
version = "2.0.7-dev"
@init

View file

@ -3,8 +3,8 @@ FROM clojure:lein
# Prepare Entrypoint Script
ADD resources /tmp
ENV HUGO_VERSION="0.125.5"
ENV GO_VERSION="1.19.13"
ENV HUGO_VERSION="0.144.1"
ENV GO_VERSION="1.24.1"
ENV BUILDDIR="/etc/website"
ENV SOURCEDIR="/etc/websitesource"
ENV WEBSITEROOT="/var/www/html/website/"

View file

@ -51,7 +51,7 @@ function install-hugo-from-deb() {
function install-go-from-tar() {
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)"
if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]
then