Skip to content

Commit

Permalink
doc: update migration guide
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Zeng <[email protected]>
  • Loading branch information
knight42 committed Jan 7, 2024
1 parent e4127f4 commit 82a1867
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,15 @@ For more details of the configuration file, please refer to the [yukid handbook]

### v0.3.x -> v0.4.x

For configuration:

```bash
sed -i.bak 's/log_dir/repo_logs_dir/' /etc/yuki/daemon.toml
# Also remember to update the `images_upgrade_interval` field in /etc/yuki/daemon.toml if it is set.

sed -i.bak 's/interval/cron/' /path/to/repo/configs/*.yaml
```

For post sync hook, the environment variables that are passed to the hook script are changed:
* `Dir` -> `DIR`: the directory of the repository
* `Name` -> `NAME`: the name of the repository

0 comments on commit 82a1867

Please sign in to comment.