Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for okteto-docs

Add docs explaining the `default` mode of divert

PR #1005: rb/more-divert-docs@6563d9b

Deploy log

Initializing

Complete
1:43:13 AM: Build ready to start
1:43:29 AM: build-image version: 59029cc38debec12b365d8cde2431251b878d6bf (focal)
1:43:29 AM: buildbot version: bb1ad402dcdb036fd1e0d06fdfff977602f794a0
1:43:29 AM: Fetching cached dependencies
1:43:29 AM: Starting to download cache of 1.4GB
1:43:33 AM: Finished downloading cache in 3.982s
1:43:33 AM: Starting to extract cache
1:43:48 AM: Finished extracting cache in 15.202s
1:43:48 AM: Finished fetching cache in 19.344s
1:43:48 AM: Starting to prepare the repo for build
1:43:49 AM: Preparing Git Reference pull/1005/head
1:43:51 AM: Starting to install dependencies
1:43:51 AM: Started restoring cached mise cache
1:43:52 AM: Finished restoring cached mise cache
1:43:53 AM: mise python@3.13.2 install
1:43:53 AM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
1:43:53 AM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
1:43:54 AM: mise python@3.13.2 python --version
1:43:54 AM: mise python@3.13.2 Python 3.13.2
1:43:54 AM: mise python@3.13.2 installed
1:43:54 AM: Python version set to 3.13
1:43:56 AM: Collecting pipenv
1:43:56 AM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
1:43:56 AM: Collecting certifi (from pipenv)
1:43:56 AM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
1:43:56 AM: Collecting packaging>=22 (from pipenv)
1:43:56 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
1:43:56 AM: Collecting setuptools>=67 (from pipenv)
1:43:56 AM: Downloading setuptools-76.1.0-py3-none-any.whl.metadata (6.7 kB)
1:43:56 AM: Collecting virtualenv>=20.24.2 (from pipenv)
1:43:56 AM: Downloading virtualenv-20.29.3-py3-none-any.whl.metadata (4.5 kB)
1:43:56 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
1:43:56 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
1:43:57 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
1:43:57 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
1:43:57 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
1:43:57 AM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
1:43:57 AM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
1:43:57 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 20.7 MB/s eta 0:00:00
1:43:57 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
1:43:57 AM: Downloading setuptools-76.1.0-py3-none-any.whl (1.2 MB)
1:43:57 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 48.0 MB/s eta 0:00:00
1:43:57 AM: Downloading virtualenv-20.29.3-py3-none-any.whl (4.3 MB)
1:43:57 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 136.8 MB/s eta 0:00:00
1:43:57 AM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
1:43:57 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
1:43:57 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
1:43:57 AM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
1:43:57 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
1:44:00 AM: Successfully installed certifi-2025.1.31 distlib-0.3.9 filelock-3.18.0 packaging-24.2 pipenv-2024.4.1 platformdirs-4.3.6 setuptools-76.1.0 virtualenv-20.29.3
1:44:00 AM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
1:44:00 AM: [notice] To update, run: pip install --upgrade pip
1:44:00 AM: Attempting Ruby version 2.7.2, read from environment
1:44:01 AM: Using Ruby version 2.7.2
1:44:02 AM: Started restoring cached go cache
1:44:02 AM: Finished restoring cached go cache
1:44:02 AM: Installing Go version 1.16.5 (requested 1.16.5)
1:44:06 AM: go version go1.16.5 linux/amd64
1:44:07 AM: Using PHP version 8.0
1:44:08 AM: Started restoring cached Node.js version
1:44:22 AM: Finished restoring cached Node.js version
1:44:22 AM: v20.19.0 is already installed.
1:44:22 AM: Now using node v20.19.0 (npm v10.8.2)
1:44:22 AM: Enabling Node.js Corepack
1:44:22 AM: Started restoring cached build plugins
1:44:23 AM: Finished restoring cached build plugins
1:44:23 AM: Started restoring cached corepack dependencies
1:44:23 AM: Finished restoring cached corepack dependencies
1:44:23 AM: Started restoring cached yarn cache
1:44:23 AM: Finished restoring cached yarn cache
1:44:23 AM: Installing Yarn version 1.22.10
1:44:23 AM: Preparing yarn@1.22.10 for immediate activation...
1:44:23 AM: No yarn workspaces detected
1:44:23 AM: Started restoring cached node modules
1:44:23 AM: Finished restoring cached node modules
1:44:23 AM: Installing npm packages using Yarn version 1.22.10
1:44:24 AM: yarn install v1.22.10
1:44:24 AM: [1/5] Validating package.json...
1:44:24 AM: [2/5] Resolving packages...
1:44:24 AM: success Already up-to-date.
1:44:24 AM: Done in 0.45s.
1:44:24 AM: npm packages installed using Yarn
1:44:25 AM: Successfully installed dependencies
1:44:25 AM: Starting build script
1:44:26 AM: Detected 1 framework(s)
1:44:26 AM: "docusaurus" at version "3.6.3"
1:44:26 AM: Section completed: initializing

Building

Failed
1:44:27 AM: Netlify Build
1:44:27 AM: ────────────────────────────────────────────────────────────────
1:44:27 AM:
1:44:27 AM: ❯ Version
1:44:27 AM: @netlify/build 29.59.2
1:44:27 AM:
1:44:27 AM: ❯ Flags
1:44:27 AM: accountId: 61e993792dcce44f7143194c
1:44:27 AM: baseRelDir: true
1:44:27 AM: buildId: 67da2131b8ae79000826c72d
1:44:27 AM: deployId: 67da2131b8ae79000826c72f
1:44:27 AM:
1:44:27 AM: ❯ Current directory
1:44:27 AM: /opt/build/repo
1:44:27 AM:
1:44:27 AM: ❯ Config file
1:44:27 AM: /opt/build/repo/netlify.toml
1:44:27 AM:
1:44:27 AM: ❯ Context
1:44:27 AM: deploy-preview
1:44:27 AM:
1:44:27 AM: Build command from Netlify app
1:44:27 AM: ────────────────────────────────────────────────────────────────
1:44:27 AM: ​
1:44:27 AM: $ yarn build
1:44:28 AM: yarn run v1.22.10
1:44:28 AM: $ docusaurus build --out-dir='build/docs' && mv build/docs/sitemap.xml build/docs/sitemap-docs.xml
1:44:30 AM: [INFO] [en] Creating an optimized production build...
1:44:32 AM: [info] [webpackbar] Compiling Client
1:44:33 AM: [info] [webpackbar] Compiling Server
1:44:47 AM: [success] [webpackbar] Server: Compiled with some errors in 14.17s
1:44:57 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
1:44:57 AM: [success] [webpackbar] Client: Compiled with some errors in 24.11s
1:44:57 AM: [ERROR] Client bundle compiled with errors therefore further build is impossible.
1:44:57 AM: Module not found: Error: Can't resolve '@site/static/img/divert-staging-diagram.png' in '/opt/build/repo/src/tutorials'
1:44:57 AM: --------------------------
1:44:57 AM:
1:44:57 AM: Module not found: Error: Can't resolve '@site/static/img/divert-personal-diagram.png' in '/opt/build/repo/src/tutorials'
error Command failed with exit code 1. (https://ntl.fyi/exit-code-1)
1:44:57 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:44:57 AM:
1:44:57 AM: "build.command" failed
1:44:57 AM: ────────────────────────────────────────────────────────────────
1:44:57 AM: ​
1:44:57 AM: Error message
1:44:57 AM: Command failed with exit code 1: yarn build (https://ntl.fyi/exit-code-1)
1:44:57 AM: ​
1:44:57 AM: Error location
1:44:57 AM: In Build command from Netlify app:
1:44:57 AM: yarn build
1:44:57 AM: ​
1:44:57 AM: Resolved config
1:44:57 AM: build:
1:44:57 AM: command: yarn build
1:44:57 AM: commandOrigin: ui
1:44:57 AM: environment:
1:44:57 AM: - REVIEW_ID
1:44:57 AM: - SANITY_DATASET
1:44:57 AM: - SANITY_PROJECTID
1:44:57 AM: - SANITY_TOKEN
1:44:57 AM: publish: /opt/build/repo/build
1:44:57 AM: publishOrigin: ui
1:44:57 AM: functionsDirectory: /opt/build/repo/netlify/functions
1:44:57 AM: redirects:
1:44:57 AM: - force: true
1:44:57 AM: from: /*/index.html
status: 301
to: /:splat/
- from: /docs/self-hosted/install/private-repositories/*
status: 301
to: /docs/admin/private-repositories/:splat
- from: /docs/cloud/multitenancy
status: 301
to: /docs
- from: /docs/cloud/preview-environments/dashboard
status: 301
to: /docs/previews
- from: /docs/cloud/custom-domains
status: 301
to: /docs
- from: /docs/cloud
status: 301
to: /docs
- from: /docs/enterprise/administration/volume-snapshots
status: 301
to: /docs/self-hosted/install/volume-snapshots
- from: /docs/tutorials/getting-started-with-divert
status: 301
to: /docs/reference/okteto-manifest/#divert
- from: /docs/cloud/preview-environments/dashboard
status: 301
to: /docs/admin/dashboard/#accessing-the-dashboard
- from: /docs/admin/configuration
status: 301
to: /docs/admin/dashboard/#accessing-the-dashboard
- from: /docs/admin/volume-snapshots
status: 301
to: /docs/self-hosted/install/volume-snapshots
- from: /docs/admin/certificates
status: 301
to: /docs/self-hosted/install/certificates
- from: /docs/reference/development-environment
status: 301
to: /docs/development
- from: /docs/self-hosted/install/custom-installer-image
status: 301
to: /docs/admin/custom-installer-image
- from: /docs/self-hosted/install/argocd
status: 301
to: /docs/self-hosted/manage/argocd
- from: /docs/self-hosted/guides/azure-active-directory
status: 301
to: /docs/self-hosted/install/auth/azure-ad
- from: /docs/self-hosted/guides/gitlab
status: 301
to: /docs/self-hosted/install/auth/gitlab
- from: /docs/self-hosted/guides/okta
status: 301
to: /docs/self-hosted/install/auth/okta
- from: /docs/get-started/overview
status: 301
to: /docs/get-started/install
- from: /docs/get-started/cloud-provider-guides/*
status: 301
to: /docs/get-started/install/:splat
- from: /docs/core/components/build-service
status: 301
to: /docs/core/build-service
- from: /docs/core/components/container-registry
status: 301
to: /docs/core/container-registry
- from: /docs/core/components/development-containers
status: 301
to: /docs/development/containers/hybrid
- from: /docs/core/components/namespaces
status: 301
to: /docs/core/namespaces
- from: /docs/core/ingress/*
status: 301
to: /docs/core/endpoints/:splat
- from: /docs/core/using-okteto-cli
status: 301
to: /docs/development/using-okteto-cli
- from: /docs/manifest/hybrid-development
status: 301
to: /docs/development/containers/hybrid
- from: /docs/manifest/okteto-variables
status: 301
to: /docs/core/okteto-variables
- from: /docs/manifest/overview-manifest
status: 301
to: /docs/core/okteto-manifest
- from: /docs/manifest/external-resources
status: 301
to: /docs/tutorials/external-resources
- from: /docs/deploy/development-environments
status: 301
to: /docs/development/images
- from: /docs/deploy/development-containers/*
status: 301
to: /docs/development/containers/:splat
- from: /docs/deploy/launch-from-catalog
status: 301
to: /docs/development/deploy/deploy-from-catalog
- from: /docs/deploy/*
status: 301
to: /docs/development/deploy/:splat
- from: /docs/guides/tutorials/getting-started-with-pipelines
status: 301
to: /docs/tutorials/getting-started-with-okteto
- from: /docs/guides/tutorials/*
status: 301
to: /docs/tutorials/:splat
- from: /docs/tutorials/stacks-getting-started
status: 301
to: /docs/tutorials/compose-getting-started
- from: /docs/guides/samples/more
status: 301
to: /docs/development/containers/file-sync
- from: /docs/guides/samples/*
status: 301
to: /docs/development/containers/file-sync/:splat
- from: /docs/preview/overview-prev-env
status: 301
to: /docs/previews
- from: /docs/preview/github/using-github-actions
status: 301
to: /docs/previews/using-github-actions
- from: /docs/preview/using-gitlab-cicd
status: 301
to: /docs/previews/using-gitlab-cicd
- from: /docs/reference/helm-chart-values
status: 301
to: /docs/self-hosted/helm-configuration
- from: /docs/get-started/deploy-first-environment
status: 301
to: /docs/get-started/deploy-your-app
- from: /docs/cloud/private-repositories
status: 301
to: /docs/development/deploy/from-private-repositories
- from: /docs/cloud/develop-on-okteto-button
status: 301
to: /docs/development/deploy/develop-on-okteto-button
- from: /docs/cloud/okteto-pipeline
status: 301
to: /docs/manifest/overview-manifest
- from: /docs/cloud/github-actions
status: 301
to: /docs/reference/supported-github-actions
- from: /docs/okteto-pipeline
status: 301
to: /docs/manifest/overview-manifest
- from: /docs/reference/cli
status: 301
to: /docs/reference/okteto-cli
- from: /docs/reference/manifest
status: 301
to: /docs/reference/okteto-manifest
- from: /docs/1.16/reference/manifest
status: 301
to: /docs/1.16/reference/okteto-manifest
- from: /docs/1.17/reference/manifest
status: 301
to: /docs/1.17/reference/okteto-manifest
- from: /docs/reference/compose
status: 301
to: /docs/reference/docker-compose
- from: /docs/reference/stacks
status: 301
to: /docs/reference/docker-compose
- from: /docs/self-hosted/install/overview
status: 301
to: /docs/self-hosted
- from: /docs/administration/okteto-license
status: 301
to: /docs/self-hosted/manage/okteto-license
- from: /docs/administration/*
status: 301
to: /docs/admin/:splat
- from: /docs/1.16/administration/*
status: 301
to: /docs/1.16/admin/:splat
- from: /docs/1.17/administration/*
status: 301
to: /docs/1.17/admin/:splat
- from: /docs/self-hosted/install/releases
status: 301
to: /docs/release-notes
- from: /docs/self-hosted/install/backup
status: 301
to: /docs/self-hosted/manage/backup
- from: /docs/self-hosted/install/upgrade
status: 301
to: /docs/self-hosted/manage/upgrade
- from: /docs/self-hosted/install/custom-resource-definitions
status: 301
to: /docs/self-hosted/manage/custom-resource-definitions
- from: /docs/1.16/self-hosted/install/custom-resource-definitions
status: 301
to: /docs/1.16/self-hosted/manage/custom-resource-definitions
- from: /docs/1.17/self-hosted/install/custom-resource-definitions
status: 301
to: /docs/1.17/self-hosted/manage/custom-resource-definitions
- from: /docs/self-hosted/install/troubleshooting
status: 301
to: /docs/self-hosted/manage/troubleshooting
- from: /docs/self-hosted/administration/configuration
status: 301
to: /docs/reference/helm-chart-values
- from: /docs/1.16/self-hosted/administration/configuration
status: 301
to: /docs/1.16/reference/helm-chart-values
- from: /docs/1.17/self-hosted/administration/configuration
status: 301
to: /docs/1.17/reference/helm-chart-values
- from: /docs/self-hosted/administration/*
status: 301
to: /docs/self-hosted/install/:splat
- from: /docs/1.16/self-hosted/administration/*
status: 301
to: /docs/1.16/self-hosted/install/:splat
- from: /docs/1.17/self-hosted/administration/*
status: 301
to: /docs/1.17/self-hosted/install/:splat
- from: /docs/administration/private-repositories/*
status: 301
to: /docs/self-hosted/install/private-repositories/:splat
- from: /docs/cloud/preview-environments/preview-environments
status: 301
to: /docs/previews
- from: /docs/1.16/cloud/preview-environments/preview-environments
status: 301
to: /docs/1.16/preview/overview-prev-env
- from: /docs/1.17/cloud/preview-environments/preview-environments
status: 301
to: /docs/1.17/preview/overview-prev-env
- from: /docs/cloud/preview-environments/preview-environments-github
status: 301
to: /docs/preview/github/using-github-actions
- from: /docs/cloud/preview-environments/preview-environments-gitlab
status: 301
to: /docs/preview/using-gitlab-cicd
- from: /docs/1.16/cloud/preview-environments/preview-environments-gitlab
status: 301
to: /docs/1.16/preview/using-gitlab-cicd
- from: /docs/1.17/cloud/preview-environments/preview-environments-gitlab
status: 301
to: /docs/1.17/preview/using-gitlab-cicd
- from: /docs/reference/development-environments
status: 301
to: /docs/deploy/development-environments
- from: /docs/1.16/reference/development-environments
status: 301
to: /docs/1.16/deploy/development-environments
- from: /docs/1.17/reference/development-environments
status: 301
to: /docs/1.17/deploy/development-environments
- from: /docs/cloud/deploy-from-git
status: 301
to: /docs/deploy/deploy-from-git
- from: /docs/cloud/launch-from-catalog
status: 301
to: /docs/deploy/deploy-from-catalog
- from: /docs/cloud/secrets
status: 301
to: /docs/core/okteto-variables
- from: /docs/1.16/cloud/secrets
status: 301
to: /docs/1.16/manifest/okteto-variables
- from: /docs/1.17/cloud/secrets
status: 301
to: /docs/1.17/manifest/okteto-variables
- from: /docs/manifest/okteto-secrets
status: 301
to: /docs/core/okteto-variables
- from: /docs/cloud/external-resources
status: 301
to: /docs/tutorials/external-resources
- from: /docs/cloud/build
status: 301
to: /docs/core/build-service
- from: /docs/cloud/registry
status: 301
to: /docs/core/container-registry
- from: /docs/cloud/namespaces
status: 301
to: /docs/core/namespaces
- from: /docs/1.16/cloud/namespaces
status: 301
to: /docs/1.16/core/components/namespaces
- from: /docs/1.17/cloud/namespaces
status: 301
to: /docs/1.17/core/components/namespaces
- from: /docs/cloud/use-volume-snapshots
status: 301
to: /docs/core/use-volume-snapshots
- from: /docs/cloud/ssl
status: 301
to: /docs/core/endpoints/automatic-ssl
- from: /docs/cloud/private-endpoints
status: 301
to: /docs/core/endpoints/private-endpoints
- from: /docs/cloud/credentials
status: 301
to: /docs/core/credentials/kubernetes-credentials
redirectsOrigin: config
1:44:57 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
1:44:57 AM: Failing build: Failed to build site
1:44:57 AM: Finished processing build request in 1m28.821s

Deploying

Skipped
There is no log for this section

Cleanup

Skipped
There is no log for this section

Post-processing

Skipped
There is no log for this section