log-viewer/skaffold.yaml

59 lines
1.3 KiB
YAML
Raw Normal View History

apiVersion: skaffold/v3alpha1
kind: Config
metadata:
name: log-viewer-backend
build:
artifacts:
- image: harbor.k-space.ee/playground/log-viewer-backend
context: backend
docker:
dockerfile: Dockerfile
- image: harbor.k-space.ee/playground/log-viewer-frontend
context: frontend
docker:
dockerfile: Dockerfile
deploy:
kubectl: {}
manifests:
rawYaml:
- k8s/deployment.yaml
profiles:
- name: dev
activation:
- command: dev
build:
artifacts:
- image: harbor.k-space.ee/playground/log-viewer-backend
context: backend
docker:
buildArgs:
ENV: development
sync:
manual:
- src: '**/*.js'
dest: .
- image: harbor.k-space.ee/playground/log-viewer-frontend
context: frontend
docker:
buildArgs:
ENV: development
sync:
manual:
- src: 'src/**/*.vue'
dest: .
- src: 'src/**/*.js'
dest: .
- src: 'src/**/*.css'
dest: .
- src: 'src/**/*.svg'
dest: .
- src: 'index.html'
dest: .
manifests:
rawYaml:
- k8s/dev/deployment.yaml