From 85f377530215f6c6e8ab0d80022c8ed7896dbff1 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Fri, 10 Jan 2020 14:26:40 +0100 Subject: [PATCH] Demonstrate inferred sync Signed-off-by: David Gageot --- examples/hot-reload/skaffold.yaml | 12 ++++-------- integration/examples/hot-reload/skaffold.yaml | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/examples/hot-reload/skaffold.yaml b/examples/hot-reload/skaffold.yaml index 02da4728408..4d98c8554fd 100644 --- a/examples/hot-reload/skaffold.yaml +++ b/examples/hot-reload/skaffold.yaml @@ -5,14 +5,10 @@ build: - image: gcr.io/k8s-skaffold/node-example context: node sync: - manual: - - src: 'src/**/*.js' - dest: . - strip: src/ + infer: + - 'src/**/*.js' - image: gcr.io/k8s-skaffold/python-reload context: python sync: - manual: - - src: 'src/**/*.py' - dest: . - strip: src/ + infer: + - 'src/**/*.py' diff --git a/integration/examples/hot-reload/skaffold.yaml b/integration/examples/hot-reload/skaffold.yaml index bbe17a62037..bdebec1ee67 100644 --- a/integration/examples/hot-reload/skaffold.yaml +++ b/integration/examples/hot-reload/skaffold.yaml @@ -5,14 +5,10 @@ build: - image: gcr.io/k8s-skaffold/node-example context: node sync: - manual: - - src: 'src/**/*.js' - dest: . - strip: src/ + infer: + - 'src/**/*.js' - image: gcr.io/k8s-skaffold/python-reload context: python sync: - manual: - - src: 'src/**/*.py' - dest: . - strip: src/ + infer: + - 'src/**/*.py'