Skip to content

Hugo build is failing #10608

@gochist

Description

@gochist

This is a...

  • Feature Request
  • Bug Report

Problem:
Building master branch is failing.

9:07:57 AM: Building sites …
9:07:58 AM: ERROR 2018/10/13 00:07:58 Shortcode 'capture' in page 'docs/reference/tools.md' has no .Inner, yet a closing tag was provided
9:08:05 AM: ERROR 2018/10/13 00:08:05 [zh] the 'inclucdes' bundle was not found.
9:08:05 AM: ERROR 2018/10/13 00:08:05 error processing shortcode "shortcodes/codenew.html" for page "docs/tasks/job/fine-parallel-processing-work-queue.md": template: shortcodes/codenew.html:14:16: executing "shortcodes/codenew.html" at <readFile $filename>: error calling readFile: stat /opt/build/repo/content/no/content/zh/examples/application/job/redis/worker.py: no such file or directory
9:08:05 AM: ERROR 2018/10/13 00:08:05 error processing shortcode "shortcodes/codenew.html" for page "docs/tasks/job/fine-parallel-processing-work-queue.md": template: shortcodes/codenew.html:14:16: executing "shortcodes/codenew.html" at <readFile $filename>: error calling readFile: stat /opt/build/repo/content/no/content/zh/examples/application/job/redis/job.yaml: no such file or directory
9:08:05 AM: ERROR 2018/10/13 00:08:05 error processing shortcode "shortcodes/codenew.html" for page "docs/tasks/configure-pod-container/assign-pods-nodes.md": template: shortcodes/codenew.html:14:16: executing "shortcodes/codenew.html" at <readFile $filename>: error calling readFile: stat /opt/build/repo/content/no/content/zh/examples/pods/pod-nginx.yaml: no such file or directory
9:08:05 AM: ERROR 2018/10/13 00:08:05 error processing shortcode "shortcodes/codenew.html" for page "docs/tasks/debug-application-cluster/audit.md": template: shortcodes/codenew.html:14:16: executing "shortcodes/codenew.html" at <readFile $filename>: error calling readFile: stat /opt/build/repo/content/no/content/zh/examples/audit/audit-policy.yaml: no such file or directory
9:08:06 AM: 
Total in 8295 ms
9:08:06 AM: Error: Error building site: logged 5 error(s)

Proposed Solution:

  1. Remove hugo template blocks in the html comments of zh/docs/reference/tools.md
  2. Add missing examples files which are listed above log such as zh/examples/application/job/redis/worker.py, ...
  3. Add missing include files

Page to Update:
https://kubernetes.io/...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions