Read the Docs build information
Build id: 2658132
Project: canonical-k8s-snap
Version: 863
Commit: 3b4bc2d786363e769c61f0bb654041dfe66680a3
Date: 2024-12-03T19:19:24.923221Z
State: cancelled
Success: False


[rtd-command-info] start-time: 2024-12-03T19:21:23.925839Z, end-time: 2024-12-03T19:21:24.648103Z, duration: 0, exit-code: 0
git clone --depth 1 https://github.com/canonical/k8s-snap.git .
Cloning into '.'...

[rtd-command-info] start-time: 2024-12-03T19:21:24.750030Z, end-time: 2024-12-03T19:21:25.300461Z, duration: 0, exit-code: 0
git fetch origin --force --prune --prune-tags --depth 50 pull/863/head:external-863
From https://github.com/canonical/k8s-snap
 * [new ref]         refs/pull/863/head -> external-863

[rtd-command-info] start-time: 2024-12-03T19:21:25.452094Z, end-time: 2024-12-03T19:21:25.590349Z, duration: 0, exit-code: 0
git checkout --force 3b4bc2d786363e769c61f0bb654041dfe66680a3
Note: switching to '3b4bc2d786363e769c61f0bb654041dfe66680a3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 3b4bc2d fix: ensure containerd-related directories removed on failed `bootstrap/join-cluster`.

[rtd-command-info] start-time: 2024-12-03T19:21:25.661605Z, end-time: 2024-12-03T19:21:25.725453Z, duration: 0, exit-code: 0
cat docs/canonicalk8s/.readthedocs.yaml
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
  os: ubuntu-22.04
  tools:
    python: "3.12"
  jobs:
    post_checkout:
      # Cancel building pull requests when there aren't changed in the docs directory or YAML file.
      #
      # https://docs.readthedocs.io/en/latest/build-customization.html#cancel-build-based-on-a-condition
      # If there are no changes (git diff exits with 0) we force the command to return with 183.
      # This is a special exit code on Read the Docs that will cancel the build immediately.
      - |
        git fetch --unshallow || true
        if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml;
        then
          exit 183;
        fi
        ls
      
# Build documentation in the docs/ directory with Sphinx
sphinx:
  builder: dirhtml
  configuration: docs/canonicalk8s/conf-rtd.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
#    - pdf

# Optionally declare the Python requirements required to build your docs
python:
   install:
   - requirements: docs/canonicalk8s/.sphinx/requirements.txt

[rtd-command-info] start-time: 2024-12-03T19:21:25.814618Z, end-time: 2024-12-03T19:21:26.718273Z, duration: 0, exit-code: 183
git fetch --unshallow || true
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml;
then
  exit 183;
fi
ls