Michael Jerger
d396e3abae
generate redirects
4 months ago
Michael Jerger
6504668953
renamed resources
4 months ago
Michael Jerger
68c4f02344
fix hash-state-pvc names
4 months ago
Michael Jerger
e785833304
fix content-pvc names
4 months ago
Michael Jerger
3d5864f944
fix build-secret names
4 months ago
Michael Jerger
740bd021f2
fix corn-job names
4 months ago
Michael Jerger
53fc7a990d
fix service names
4 months ago
Michael Jerger
3257d332dc
log should go to console out instead of file!
4 months ago
Michael Jerger
5d3621f6f8
start introduce namespace
4 months ago
Michael Jerger
0cf35755f9
simplify naming & introduce dedicated internal
4 months ago
Michael Jerger
cc97cae0d0
remove parameter for pre build script
4 months ago
erik
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.
2 years ago
erik
99bc14d62c
[Skip-CI] Generate API call for commit info
2 years ago
Clemens
9e18e99d0e
[SKIP-CI] Fixed tests
2 years ago
erik
f126035e84
[Skip-CI] WIP add hashfile storage
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
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
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
31f5e9980f
[Skip-CI] Better cron expression
2 years ago
jerger
0fc7bc5f2e
review
2 years ago
jerger
bd40461bb3
ssl is terminated in ingress
2 years ago
erik
9519e83497
Fix tests
2 years ago
bom
4cce1da4cb
Remove Content-Security-Policy header
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
erik
7cecbacf63
[Skip-ci] WIP Refactor
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
b6e500da3b
[Skip-Ci] WIP Generalize nginx configmap
2 years ago
erik
b8482cf51c
[Skip-Ci] WIP Add generalized cert gen
2 years ago
erik
95d8b636a0
[Skip-Ci] WIP Prepare fqdn generalization
2 years ago
erik
679530dbc7
Add functionality for multiple fqdns
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
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
de88a5d807
[skip-ci] Make unique name for each website deploy
...
Add function for replacing values in the beginning of a string.
Add build secret.
2 years ago
erik
76f5b87ec9
[skip-ci] WIP Add docker image
...
Add website-build-deployment and cron skeleton.
Add shadow-cljs.edn - needs config for cljs.
2 years ago
erik
c943dadf17
Update ingress and service definitions
...
Remove type loadBalancer from service.
2 years ago
erik
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.
2 years ago
erik
f0a69e7fda
WIP nginx config generation
...
Also make non essential paths generic.
Less need to fiddle in config map strings.
2 years ago
erik
0340b8d4e7
Working nginx-webserver config
2 years ago
erik
24da81f789
[skip ci] WIP Nginx config
...
Nginx container starts with current config in testconfig.yaml
2 years ago
erik
6c8e63cb52
[skip ci] WIP nginx-conf
2 years ago
erik
c8cbdcd3fe
[skip-ci] WIP nginx config
2 years ago