Compare commits
5 commits
refactorin
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
d3dbdda983 | ||
|
d0fc20e71a | ||
|
908cbc2895 | ||
|
ec1d62c801 | ||
|
ade92be80a |
5 changed files with 16 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
.envrc
|
||||
|
||||
.eastwood
|
||||
|
||||
.clj-kondo/
|
||||
|
|
10
README.md
10
README.md
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue