Skip to content

Commit 5f29e27

Browse files
committed
fix additional auto:{} references
1 parent 2386431 commit 5f29e27

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/content/en/docs/pipeline-stages/filesync.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ have to output the sync rules based on their exploration of the source and the b
125125
Those sync rules will then be used by Skaffold without the user having to configure them manually.
126126

127127
Another thing the Buildpacks have to do is support the `GOOGLE_DEVMODE` environment variable. Skaffold will
128-
set it to `1` when running `skaffold dev` with sync configured to `auto: {}`. The Buildpacks can then use that
128+
set it to `1` when running `skaffold dev` with sync configured to `auto: true`. The Buildpacks can then use that
129129
signal to change the way the application is built so that it reloads the changes or rebuilds the app on each change.
130130

131131
#### Jib

integration/examples/jib-sync/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ build:
5858
context: .
5959
jib: {}
6060
sync:
61-
auto: {}
61+
auto: true
6262
```
6363
6464
This example is designed around the functionality available in [Spring Boot Developer Tools](https://docs.spring.io/spring-boot/docs/current/reference/html/using-spring-boot.html#using-boot-devtools) for developing against running applications.
@@ -76,7 +76,7 @@ build:
7676
jib:
7777
fromImage: gcr.io/distroless/java:debug
7878
sync:
79-
auto: {}
79+
auto: true
8080
```
8181

8282

@@ -121,7 +121,7 @@ build:
121121
args:
122122
- -Psync
123123
sync:
124-
auto: {}
124+
auto: true
125125
```
126126
127127
You can also take advantage of [skaffold profiles](https://skaffold.dev/docs/environment/profiles/) to control when to activate sync on your project.
@@ -141,7 +141,7 @@ profiles:
141141
# we want to activate sync on our skaffold artifact
142142
path: /build/artifacts/0/sync
143143
value:
144-
- auto: {}
144+
- auto: true
145145
- op: add
146146
# we activate the sync profile in our java builds
147147
path: /build/artifacts/0/jib/args

integration/examples/jib-sync/skaffold-gradle.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build:
99
- -Psync
1010
fromImage: gcr.io/distroless/java:debug
1111
sync:
12-
auto: {}
12+
auto: true
1313

1414
portForward:
1515
- resourceType: pod

integration/examples/jib-sync/skaffold-maven.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build:
1010
- -Psync
1111
fromImage: gcr.io/distroless/java:debug
1212
sync:
13-
auto: {}
13+
auto: true
1414

1515
portForward:
1616
- resourceType: pod

0 commit comments

Comments
 (0)