Skip to content

Commit

Permalink
Merge pull request #193 from cybozu-go/disable-auto-update
Browse files Browse the repository at this point in the history
Enable `--dsableupdate` to prevent automatic updates of runner
  • Loading branch information
takahiro-yamada authored Feb 3, 2025
2 parents ccf74c3 + ff8dabb commit dde8860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If a new Kubernetes version is released, please update the followings:
- Other dependencies versions:
- Update `ghcr.io/cybozu/golang` image in [Dockerfile](/Dockerfile) to the latest version from <https://github.com/cybozu/neco-containers/pkgs/container/golang>.
- `go.mod` and `go.sum`:
- Run `go get -u ./...`.
- Run [update-gomod](https://github.com/masa213f/tools/tree/main/cmd/update-gomod).

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

Expand Down
1 change: 1 addition & 0 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (r *Runner) runListener(ctx context.Context) error {
"--token", string(b),
"--work", r.workDir,
"--ephemeral",
"--disableupdate",
}
if err := r.listener.configure(ctx, configArgs); err != nil {
return err
Expand Down

0 comments on commit dde8860

Please sign in to comment.