Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Dev tools (like Hugo) are reinstalled on every run if they are not also available on $PATH. This is caused by the sanity check (which) before adding the tool to $PATH.

https://issues.apache.org/jira/browse/HDDS-14099

How was this patch tested?

Initial run:

$ rm -fr .dev-tools && ./hadoop-ozone/dev-support/checks/docs.sh
...
Installed hugo in .dev-tools/hugo
...
Start building sites … 
...

Re-run, not installed again:

$ ./hadoop-ozone/dev-support/checks/docs.sh
...
Start building sites … 
...

Dir exists, but tool does not work, installed:

$ rm .dev-tools/hugo/bin/hugo && ./hadoop-ozone/dev-support/checks/docs.sh
...
Installed hugo in .dev-tools/hugo
...
Start building sites … 
...

CI:
https://github.com/adoroszlai/ozone/actions/runs/19993620689

@adoroszlai adoroszlai self-assigned this Dec 7, 2025
@adoroszlai adoroszlai added the CI label Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant