Commit graph

83 commits

Author SHA1 Message Date
3a216d52df name refactorings 2024-02-27 13:42:49 +01:00
b4ec6d16b3 add redirects to config 2024-02-27 13:37:46 +01:00
d396e3abae generate redirects 2024-02-27 13:24:01 +01:00
6504668953 renamed resources 2024-02-27 10:52:19 +01:00
68c4f02344 fix hash-state-pvc names 2024-02-27 10:50:56 +01:00
e785833304 fix content-pvc names 2024-02-27 10:45:36 +01:00
3d5864f944 fix build-secret names 2024-02-27 10:42:36 +01:00
740bd021f2 fix corn-job names 2024-02-27 10:32:32 +01:00
53fc7a990d fix service names 2024-02-27 10:09:47 +01:00
5d3621f6f8 start introduce namespace 2024-02-27 09:27:22 +01:00
9cb0e50853 use ingress & ns from common 2024-02-26 16:12:01 +01:00
0cf35755f9 simplify naming & introduce dedicated internal 2024-02-26 13:55:33 +01:00
cc97cae0d0 remove parameter for pre build script 2024-02-22 13:22:08 +01:00
2770883473 rename gitea -> forgejo [BRAKING Change] 2024-02-22 13:05:54 +01:00
209f1bd9ca rename gitea -> forgejo [BRAKING Change] 2024-02-22 11:08:26 +01:00
1cb78ec68b refactor inline-macro to load resources 2024-02-21 11:02:18 +01:00
a0698750e3 Implement function defs for keys
Using the keys for validation in browser.cljs will convert the map
in the input field to a vector, causing the spec to fail in the browser.
2023-06-14 12:58:10 +02:00
4d6af0e13f Refactor keys to current mon ns defs 2023-06-14 12:57:38 +02:00
c8e4c9acf7 Do not merge config and auth 2023-04-12 14:44:36 +00:00
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
892d96284a Add method to core 2022-12-08 17:39:48 +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
bom
04fe33f564 Remove ingress_cert files 2022-11-18 12:50:31 +01:00
bom
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
1f24a6e62c Remove yaml/load-as-edn multimethod
* Also update deps
2022-11-08 14:50:16 +01:00
02074ef37d shadow-cljs/resource need literal string 2022-11-08 13:44:12 +01:00
53de3ea31b [Skip-CI] Remove ToDo - open to suggestions
Recursion method seems reasonable readable to me.
2022-11-01 15:56:11 +01:00
75ef2572e3 Fix bug 2022-11-01 15:32:39 +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
5bcfe9f0b1 Added failing test as template to fix "flatten-and-reduce-config" 2022-10-28 16:45:14 +02: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