Skip to content

Commit dde8860

Browse files
Merge pull request #193 from cybozu-go/disable-auto-update
Enable `--dsableupdate` to prevent automatic updates of runner
2 parents ccf74c3 + ff8dabb commit dde8860

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/maintenance.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If a new Kubernetes version is released, please update the followings:
2222
- Other dependencies versions:
2323
- Update `ghcr.io/cybozu/golang` image in [Dockerfile](/Dockerfile) to the latest version from <https://github.com/cybozu/neco-containers/pkgs/container/golang>.
2424
- `go.mod` and `go.sum`:
25-
- Run `go get -u ./...`.
25+
- Run [update-gomod](https://github.com/masa213f/tools/tree/main/cmd/update-gomod).
2626

2727
If Kubernetes or controller-runtime API has changed, please update the relevant source code accordingly.
2828

runner/runner.go

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ func (r *Runner) runListener(ctx context.Context) error {
162162
"--token", string(b),
163163
"--work", r.workDir,
164164
"--ephemeral",
165+
"--disableupdate",
165166
}
166167
if err := r.listener.configure(ctx, configArgs); err != nil {
167168
return err

0 commit comments

Comments
 (0)