Skip to content

Commit

Permalink
Merge pull request #1039 from r2d4/file-sync
Browse files Browse the repository at this point in the history
File Sync for skaffold dev
  • Loading branch information
dgageot authored Oct 5, 2018
2 parents 616f9f7 + 9b11bc4 commit d65ab29
Show file tree
Hide file tree
Showing 25 changed files with 3,178 additions and 9 deletions.
10 changes: 10 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cmd/skaffold/app/cmd/fix.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ import (

"github.com/GoogleContainerTools/skaffold/pkg/skaffold/color"
"github.com/GoogleContainerTools/skaffold/pkg/skaffold/schema"
"github.com/GoogleContainerTools/skaffold/pkg/skaffold/schema/latest"
schemautil "github.com/GoogleContainerTools/skaffold/pkg/skaffold/schema/util"

"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
yaml "gopkg.in/yaml.v2"
"k8s.io/client-go/tools/clientcmd/api/latest"
)

func NewCmdFix(out io.Writer) *cobra.Command {
Expand Down
3 changes: 3 additions & 0 deletions integration/examples/hot-reload/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM gcr.io/k8s-skaffold/nodemon
CMD ["nodemon","--legacy-watch", "server.js"]
COPY *.js .
10 changes: 10 additions & 0 deletions integration/examples/hot-reload/node/k8s/pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Pod
metadata:
name: node
spec:
containers:
- name: node
image: gcr.io/k8s-skaffold/node-example
ports:
- containerPort: 3000
Loading

0 comments on commit d65ab29

Please sign in to comment.