Commit graph

300 commits

Author SHA1 Message Date
8fc6f329c0 Simplify spec
Refactor uname -> unique-name.
Unit-tests for spec.
2022-10-14 13:41:21 +02:00
a15b7b0d6f Adjusted Tests
Also fixed smaller issues in website.cljc.
Better division of generate-common-*, now these functions
may reside in c4k-common and generate standing ingresses/certs
with only service and fqdn inputs (which need to be set anyways).

Also moved predicates and specs to website.cljc.
2022-10-13 16:39:55 +02:00
d9e22a26ed [Skip-CI] WIP Working config generation
c4k-website now generates multiple configs depending on the number
of list items in :websites and :auth lists.
2022-10-12 15:54:55 +02:00
31f490e286 [Skip-CI] WIP Working Yaml Generation 2022-10-12 13:42:44 +02:00
b6e500da3b [Skip-Ci] WIP Generalize nginx configmap 2022-10-12 10:56:12 +02:00
b8482cf51c [Skip-Ci] WIP Add generalized cert gen 2022-10-12 09:58:56 +02:00
95d8b636a0 [Skip-Ci] WIP Prepare fqdn generalization 2022-10-11 18:07:01 +02:00
59c96b4da9 review 2022-10-11 09:10:58 +02:00
c8a84a7341 [Skip-CI] Version Bump 2022-10-11 08:39:34 +02:00
31a52ba619 Version 0.1.0 2022-10-11 08:37:57 +02:00
b4721225ce Release 2022-10-11 08:37:45 +02:00
e4172e572e Pull from correct URL 2022-10-07 13:08:14 +02:00
679530dbc7 Add functionality for multiple fqdns 2022-09-30 17:54:26 +02:00
03d4f4f7ca Remove storage logic 2022-09-30 10:14:10 +02:00
915b97b63f Cleanup
Update readme and tryItOut.
2022-09-29 16:22:08 +02:00
b5614681d9 Fix test.cljs
Turns out, the cljs version creates newlines at the end of a string.
This was not considered in the test and thus resulted in failure.
2022-09-29 13:59:19 +02:00
df3e099fab Update tests 2022-09-28 15:57:09 +02:00
49d47f02c7 ToDo 2022-09-28 15:44:33 +02:00
a8a5d0653c [Skip-Ci] remove while loop 2022-09-28 15:24:03 +02:00
25b5083895 Update imports, java script generation, tests 2022-09-28 15:16:48 +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
6708fae81c [Skip-CIi] Add tests 2022-09-27 15:45: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
a21c2a4957 Updated Test 2022-09-23 10:33:42 +02:00
c943dadf17 Update ingress and service definitions
Remove type loadBalancer from service.
2022-09-23 10:32:26 +02:00
4cf689e27f Add dummy auth
It seems, that an auth file is necessary for conf creation.
So added a dummy file containing one key value pair.
Also update of names and formati in configmap and deployment.
Also added valid_config and valid auth.
2022-09-22 12:48:11 +02:00
4013da36b5 Set auth to nil 2022-09-21 15:59:27 +02:00
bca85d1da4 Add tests
Fix configmap generation.
2022-09-21 15:55:42 +02:00
f0a69e7fda WIP nginx config generation
Also make non essential paths generic.
Less need to fiddle in config map strings.
2022-09-21 14:40:34 +02:00
0340b8d4e7 Working nginx-webserver config 2022-09-21 12:54:05 +02:00
24da81f789 [skip ci] WIP Nginx config
Nginx container starts with current config in testconfig.yaml
2022-09-09 17:32:28 +02:00
6c8e63cb52 [skip ci] WIP nginx-conf 2022-09-09 16:53:51 +02:00
c8cbdcd3fe [skip-ci] WIP nginx config 2022-09-09 13:03:11 +02:00
7e006a4780 [skip-ci] Rename folders to c4k-website 2022-09-09 11:19:25 +02:00
1252a4b491 Project skeleton 2022-09-08 15:04:17 +02:00
ee05f9cf24 Update Readme, move pictures 2022-09-08 14:12:19 +02:00
799a0e25f9 wip 2022-08-05 09:25:37 +02:00
aa4b7aebbf wip 2022-08-05 09:24:19 +02:00
c945c03d67 minor fix 2022-08-05 09:21:42 +02:00
b1c81ebafa add more architecture 2022-07-29 11:43:30 +02:00
f453424a6d Add graphml file for editing with yed 2022-07-28 17:45:08 +02:00
bb7855494b Update architekturbild 2022-07-28 10:06:46 +02:00
70a6035b16 Update architekturbild 2022-07-27 13:47:19 +02:00
51b859a04b Architecture Ideas 2022-07-27 10:20:40 +02:00
Pat Dyn
df06b32df6 First thoughts 2022-07-27 07:14:01 +00:00
Pat Dyn
95b0ddba8b Initial commit 2022-07-27 07:12:32 +00:00