ea08da9904
adjust to new c4k-common version
2022-12-27 21:24:20 +01:00
99bc14d62c
[Skip-CI] Generate API call for commit info
2022-12-09 09:23:01 +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
Clemens
529e7d46b6
[SKIP-CI] Renamed function
2022-12-02 12:03:48 +01:00
f126035e84
[Skip-CI] WIP add hashfile storage
2022-12-02 11:56:21 +01:00
fb5fd905cc
[Skip-CI] Update cpu request value
2022-12-01 16:38:03 +01:00
1514a6d822
Implement resource requests and limits
...
Possibility to set requests and limits for build jobs.
Otherwise a (sensible) default will be used.
2022-11-29 14:05:36 +01:00
752d71dacd
[Skip-CI] remove unused var
...
Correct link spec.
2022-11-23 11:43:19 +01:00
Pat Dyn
e682f826aa
Add init-container
2022-11-23 10:14:46 +00:00
b65e77aa01
Use common for ingress generation
2022-11-18 12:50:28 +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
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
287d6d31c5
Add initial build job so websites get build early
2022-11-08 16:23:10 +01:00
02074ef37d
shadow-cljs/resource need literal string
2022-11-08 13:44:12 +01:00
911f0d5b27
Refactor app.kubernetes.part-of into resources
2022-11-01 15:11:16 +01:00
16189ee9c4
[Skip-Ci] Remove ToDo markers
2022-11-01 14:13:42 +01:00
8e93644cb5
[WIP] Refactored ingress ns, fix tests
...
* now ingress-cert
* tests for generate function now get flattened-and-reduced-config
2022-11-01 13:47:24 +01:00
03b6e2c234
[WIP] Add and review specs
...
* add spec for flatten-and-reduce-config,
* checks if config and auth are present
* combine websitedata? and websiteauth?
* due to input from flatten-and-reduce-config
2022-11-01 13:34:43 +01:00
caa8b5c886
[WIP] Solve ToDos
...
* Hardened flatten-and-reduce-config through sorting of :auth and
:website vectors
* add issuer kv and volume-size kv only when existing in config
* fixed test in website_test.cljc
* fixed content-vol-creation for nonexistent volume-size kv pair
2022-11-01 12:54:06 +01:00
Clemens
ac2a4da7b4
Added volume-size to config and added todo
2022-10-28 13:48:11 +02:00
Clemens
54ce871333
Added TODOs
2022-10-28 11:34:32 +02:00
Clemens
668f2d7e2a
Added specs to functions
2022-10-28 11:28:37 +02:00
0fc7bc5f2e
review
2022-10-26 08:56:57 +02:00
ddc6098646
Fix imports and deps
2022-10-21 12:13:29 +02:00
b3044fbc5c
Fix test
2022-10-21 11:33:25 +02:00
5ef80e7710
Fix browser.cljs bug
...
Add automation for testing browser code.
2022-10-18 13:26:41 +02:00
8a97900cda
Bugfixes
...
Spec seems to accept a cert map for an ingress map.
2022-10-18 11:31:47 +02:00
0a3a85d93d
Minor refactorings
2022-10-18 10:48:01 +02:00
1e7b71884d
Integrate ingress-ns in website
2022-10-18 10:30:51 +02:00
49dd95f78e
WIP Refactoring ingress
...
Move Cert generation to ingress as well.
Need to specify name for each http, https, cert resource.
Update tests and ingress definitions.
2022-10-14 16:41:25 +02:00
7cecbacf63
[Skip-ci] WIP Refactor
2022-10-14 14:31:52 +02:00
616d61c2a9
[skip-ci] wip
2022-10-14 14:09:40 +02:00
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
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
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
49d47f02c7
ToDo
2022-09-28 15:44:33 +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
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
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