Files
podinfo/skaffold.yaml
Ilya Dmitrichenko 01631a0a43 Add CircleCI
2018-05-17 12:51:52 +01:00

34 lines
797 B
YAML

apiVersion: skaffold/v1alpha2
kind: Config
## Default profile for use with `skaffold dev`
build:
artifacts:
- imageName: podinfo
docker:
dockerfilePath: ./Dockerfile.ci
deploy:
kubectl: { manifests: [ deploy/skaffold/dev/* ] }
profiles:
- name: test
## This profile runs unit tests and builds the image
build:
local: { skipPush: true }
artifacts:
- imageName: stefanprodan/podinfo
docker:
dockerfilePath: ./Dockerfile.ci
deploy: {} # not needed here as such
- name: production
## This profile pushes the image
build:
local: { skipPush: false }
artifacts:
- imageName: stefanprodan/podinfo
docker:
dockerfilePath: ./Dockerfile.ci
deploy: {} # no-op, flux will take care of this