2019-04-26 21:39:21 +00:00
|
|
|
apiVersion: skaffold/v1beta9
|
|
|
|
kind: Config
|
|
|
|
profiles:
|
2019-04-27 00:56:33 +00:00
|
|
|
- name: lemmy--dev
|
2019-04-26 21:39:21 +00:00
|
|
|
build:
|
|
|
|
artifacts:
|
2019-04-27 00:56:33 +00:00
|
|
|
- image: registry.gitlab.com/pojntfx/lemmy/server.dev
|
|
|
|
context: server
|
2019-04-26 21:39:21 +00:00
|
|
|
docker:
|
|
|
|
dockerfile: Dockerfile.dev
|
2019-04-27 00:56:33 +00:00
|
|
|
- image: registry.gitlab.com/pojntfx/lemmy/ui.dev
|
|
|
|
context: ui
|
|
|
|
docker:
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
sync:
|
2019-04-27 01:39:06 +00:00
|
|
|
"***/*.ts": .
|
|
|
|
"***/*.tsx": .
|
|
|
|
"***/*.css": .
|
2019-04-26 21:39:21 +00:00
|
|
|
deploy:
|
|
|
|
kubectl:
|
|
|
|
manifests:
|
2019-04-27 13:49:50 +00:00
|
|
|
- "**/*.dev.yaml"
|
|
|
|
- name: lemmy--prod
|
|
|
|
build:
|
|
|
|
artifacts:
|
|
|
|
- image: registry.gitlab.com/pojntfx/lemmy/server.prod
|
|
|
|
context: server
|
|
|
|
docker:
|
|
|
|
dockerfile: Dockerfile.prod
|
|
|
|
- image: registry.gitlab.com/pojntfx/lemmy/ui.prod
|
|
|
|
context: ui
|
|
|
|
docker:
|
|
|
|
dockerfile: Dockerfile.prod
|
|
|
|
deploy:
|
|
|
|
kubectl:
|
|
|
|
manifests:
|
|
|
|
- "**/*.prod.yaml"
|