Clemens
7e146a3463
renamed repo-user and forgejo-repo
3 months ago
Clemens
164f66d4b7
renamed env variables according to convention
3 months ago
Clemens
ebca7a3454
added git host as env var
3 months ago
Clemens
548dd14091
Added build-configmap as env to build-cron
3 months ago
Clemens
f1e41b3333
added test for generate-build-configmap
3 months ago
Clemens
9e75c22337
added build-configmap generation
3 months ago
Clemens
e923c9d5c3
moved repo-user from auth to config
3 months ago
Clemens
248c33613a
started splitting build-secret and build-configmap
3 months ago
Michael Jerger
9efbf4dbc4
refactor website_internal
3 months ago
Michael Jerger
f16ee34782
merge happens in uberjar -> website is obsoloete
3 months ago
Michael Jerger
5d3621f6f8
start introduce namespace
3 months ago
Michael Jerger
9cb0e50853
use ingress & ns from common
3 months ago
Michael Jerger
0cf35755f9
simplify naming & introduce dedicated internal
3 months ago
Michael Jerger
cc97cae0d0
remove parameter for pre build script
3 months ago
Michael Jerger
2770883473
rename gitea -> forgejo [BRAKING Change]
3 months ago
Michael Jerger
209f1bd9ca
rename gitea -> forgejo [BRAKING Change]
3 months ago
Pat Dyn
c8e4c9acf7
Do not merge config and auth
1 year ago
erik
99bc14d62c
[Skip-CI] Generate API call for commit info
1 year ago
erik
cb06b081ba
[Skip-CI] Add test for hashfile-vol
...
Add resource file for cljs.
Formatting in entrypoint.sh
2 years ago
Clemens
9e18e99d0e
[SKIP-CI] Fixed tests
2 years ago
erik
fb5fd905cc
[Skip-CI] Update cpu request value
2 years ago
erik
1514a6d822
Implement resource requests and limits
...
Possibility to set requests and limits for build jobs.
Otherwise a (sensible) default will be used.
2 years ago
Pat Dyn
e682f826aa
Add init-container
2 years ago
bom
2e92cff153
Fix website test instrumentation
2 years ago
erik
d5c605a8fb
Fix whitespaces
2 years ago
erik
5b2ede6c46
Remove deprecated header
2 years ago
erik
3a417cbbf8
Add svg mime type
...
Otherwise nginx serves svgs as application/octet-stream.
This might lead to broken image.
2 years ago
erik
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.
2 years ago
erik
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.
2 years ago
erik
287d6d31c5
Add initial build job so websites get build early
2 years ago
erik
ce00fc3058
Remove cert from nginx deployment
...
* Remove ToDo in HTTP ingress def
2 years ago
erik
911f0d5b27
Refactor app.kubernetes.part-of into resources
2 years ago
erik
8e93644cb5
[WIP] Refactored ingress ns, fix tests
...
* now ingress-cert
* tests for generate function now get flattened-and-reduced-config
2 years ago
erik
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
2 years ago
erik
a7cfb2f49c
Update tests
2 years ago
erik
9519e83497
Fix tests
2 years ago
erik
b3044fbc5c
Fix test
2 years ago
erik
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.
2 years ago
jerger
616d61c2a9
[skip-ci] wip
2 years ago
erik
8fc6f329c0
Simplify spec
...
Refactor uname -> unique-name.
Unit-tests for spec.
2 years ago
erik
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.
2 years ago
erik
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.
2 years ago
erik
31f490e286
[Skip-CI] WIP Working Yaml Generation
2 years ago
erik
679530dbc7
Add functionality for multiple fqdns
2 years ago
erik
03d4f4f7ca
Remove storage logic
2 years ago
erik
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.
2 years ago
erik
df3e099fab
Update tests
2 years ago
erik
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
2 years ago
erik
bcad22b067
[Skip-Ci] Refactoring
2 years ago
erik
6708fae81c
[Skip-CIi] Add tests
2 years ago