Commit graph

28 commits

Author SHA1 Message Date
Clemens
1b07e6e5a9 Updated build.py and dependencies 2023-10-13 11:24:13 +02:00
acbcc4e6ab [Skip-CI] Use image directly 2022-12-09 12:20:29 +01:00
8220178ea2 Merge branch 'hash-zip-before-unpack' of gitlab.com:domaindrivenarchitecture/c4k-website into hash-zip-before-unpack 2022-12-09 12:18:45 +01:00
11d12bc7d0 Set up correct test for build image 2022-12-09 12:18:28 +01:00
b7b9266735 Set up correct test for build image 2022-12-09 12:01:54 +01:00
ee9e11eb04 Implement API call to check commit hash
We now download a few kb of commit info and check for changes
in the hash first, before downloading the full zip.
Also use the clojure:lein image in test.
2022-12-09 10:13:51 +01:00
99bc14d62c [Skip-CI] Generate API call for commit info 2022-12-09 09:23:01 +01:00
21f4a6c54e [Skip-CI] Install imagemagick with image 2022-12-08 18:39:33 +01:00
cb06b081ba [Skip-CI] Add test for hashfile-vol
Add resource file for cljs.
Formatting in entrypoint.sh
2022-12-02 12:33:45 +01:00
f126035e84 [Skip-CI] WIP add hashfile storage 2022-12-02 11:56:21 +01:00
Clemens
8c98c3eb8f [SKIP-CI] Fix typo 2022-12-02 11:33:27 +01:00
e6c51ed479 [Skip-CI] WIP check file before building 2022-12-02 10:36:44 +01:00
Clemens
37170ee982 SKIP-CI // Started with hash check 2022-12-02 10:04:56 +01:00
a844a9e947 [Skip-CI] WIP Build only when new data available 2022-12-02 09:37:03 +01:00
5feec9f6b9 Bugfixes 2022-11-11 16:00:47 +01:00
70f356a1a9 Execute script in subshell located in folder
Better handling of white spaces in input.
Add test for creation of build jobs without sha256sum input.
2022-11-11 15:24:28 +01:00
5bd0eb88bc Update path handling in docker image
Expand readme on script usage.
2022-11-11 14:01:08 +01:00
c0e01309c3 Update scripts in docker image
Fail if something goes wrong.
2022-11-11 13:27:28 +01:00
2b2ca8dae7 Add optional script execution in build container
The script file must exist in the root of the specified gitea-repo.
You also need to specify (and calculate) a sha256sum output
for that file. This needs to be added as KV pair to
the respective collection in :websites.
2022-11-11 13:18:49 +01:00
679530dbc7 Add functionality for multiple fqdns 2022-09-30 17:54:26 +02:00
915b97b63f Cleanup
Update readme and tryItOut.
2022-09-29 16:22:08 +02:00
a8a5d0653c [Skip-Ci] remove while loop 2022-09-28 15:24:03 +02:00
46f0c72c3e [Skip-Ci] Update Docker image, cron job, tests
It seems, timeout sends signals that do not stop the server process.
Set the signal to SIGKILL - which also kills the function.sh process.
Thus moved the last function to entrypoint.sh
2022-09-28 14:32:41 +02:00
bcad22b067 [Skip-Ci] Refactoring 2022-09-28 10:26:50 +02:00
4a21794c04 [skip-ci] Update docker file 2022-09-27 17:06:21 +02:00
1be50f6680 [skip-ci] Update docker-file resources 2022-09-27 16:31:13 +02:00
de88a5d807 [skip-ci] Make unique name for each website deploy
Add function for replacing values in the beginning of a string.
Add build secret.
2022-09-27 14:05:07 +02:00
76f5b87ec9 [skip-ci] WIP Add docker image
Add website-build-deployment and cron skeleton.
Add shadow-cljs.edn - needs config for cljs.
2022-09-23 15:47:11 +02:00