mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-16 09:49:49 +00:00
added k3d test scripts
This commit is contained in:
parent
98ce0e8c2e
commit
b724f520cd
12 changed files with 283 additions and 0 deletions
24
k3d/Tiltfile
Normal file
24
k3d/Tiltfile
Normal file
|
@ -0,0 +1,24 @@
|
|||
docker_build('k3d-registry.localhost:55000/homepage:local', '..',
|
||||
dockerfile = "../Dockerfile-tilt",
|
||||
build_args={'node_env': 'development'},
|
||||
#entrypoint='pnpm run nodemon /app/server.js',
|
||||
live_update=[
|
||||
sync('.', '/app'),
|
||||
run('cd /app && pnpm install', trigger=['.package.json', './pnpm-lock.yaml'])
|
||||
]
|
||||
)
|
||||
load('ext://helm_resource', 'helm_resource', 'helm_repo')
|
||||
helm_repo('jameswynn', 'https://jameswynn.github.io/helm-charts')
|
||||
|
||||
helm_resource('homepage', 'jameswynn/homepage',
|
||||
image_deps=[
|
||||
"k3d-registry.localhost:55000/homepage:local"
|
||||
],
|
||||
image_keys=[
|
||||
("image.repository", "image.tag")
|
||||
],
|
||||
# image_selector= "k3d-registry.localhost:55000/homepage:local",
|
||||
flags=[
|
||||
"-f", "k3d-helm-values.yaml"
|
||||
]
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue