Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chipzoller/d40e01b75874e5933097570ee9d3ee6c to your computer and use it in GitHub Desktop.
Save chipzoller/d40e01b75874e5933097570ee9d3ee6c to your computer and use it in GitHub Desktop.
Netlify logs
2:51:35 PM: build-image version: c11c0eb9939c949586b0f78302107908b668a11e (focal)
2:51:35 PM: buildbot version: c11c0eb9939c949586b0f78302107908b668a11e
2:51:35 PM: Building without cache
2:51:35 PM: Starting to prepare the repo for build
2:51:35 PM: No cached dependencies found. Cloning fresh repo
2:51:35 PM: git clone --filter=blob:none https://github.com/kyverno/website
2:51:36 PM: Preparing Git Reference pull/904/head
2:51:37 PM: Custom build command detected. Proceeding with the specified command: 'hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL'
2:51:38 PM: Starting to install dependencies
2:51:38 PM: Python version set to 3.8
2:51:38 PM: Attempting Ruby version 2.7.1, read from environment
2:51:38 PM: Required ruby-2.7.1 is not installed - installing.
2:51:38 PM: Searching for binary rubies, this might take some time.
2:51:38 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.7.1.tar.bz2
2:51:38 PM: Checking requirements for ubuntu.
2:51:39 PM: Requirements installation successful.
2:51:39 PM: ruby-2.7.1 - #configure
2:51:39 PM: ruby-2.7.1 - #download
2:51:39 PM: ruby-2.7.1 - #validate archive
2:51:42 PM: ruby-2.7.1 - #extract
2:51:44 PM: ruby-2.7.1 - #validate binary
2:51:44 PM: ruby-2.7.1 - #setup
2:51:44 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
2:51:45 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
2:51:45 PM: ruby-2.7.1 - #generating global wrappers........
2:51:45 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
2:51:45 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
2:51:45 PM: ruby-2.7.1 - #generating default wrappers........
2:51:45 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2:51:45 PM: Using Ruby version 2.7.1
2:51:46 PM: Started restoring cached go cache
2:51:46 PM: Finished restoring cached go cache
2:51:46 PM: Installing Go version 1.14.4 (requested 1.14.4)
2:51:50 PM: go version go1.14.4 linux/amd64
2:51:50 PM: Using PHP version 8.0
2:51:50 PM: Installing Hugo 0.113.0
2:51:51 PM: hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended linux/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
2:51:52 PM: Downloading and installing node v12.18.0...
2:51:52 PM: Downloading https://nodejs.org/dist/v12.18.0/node-v12.18.0-linux-x64.tar.xz...
2:51:52 PM: Computing checksum with sha256sum
2:51:52 PM: Checksums matched!
2:51:53 PM: Now using node v12.18.0 (npm v6.14.4)
2:51:53 PM: Started restoring cached build plugins
2:51:53 PM: Finished restoring cached build plugins
2:51:54 PM: Install dependencies script success
2:51:54 PM: Starting build script
2:51:54 PM: Detected 0 framework(s)
2:51:54 PM: Section completed: initializing
2:51:55 PM: ​
2:51:55 PM: Netlify Build
2:51:55 PM: ────────────────────────────────────────────────────────────────
2:51:55 PM: ​
2:51:55 PM: ❯ Version
2:51:55 PM: @netlify/build 29.12.1
2:51:55 PM: ​
2:51:55 PM: ❯ Flags
2:51:55 PM: baseRelDir: true
2:51:55 PM: buildId: 648b5db5e7531b369239fa2f
2:51:55 PM: deployId: 648b5db5e7531b369239fa31
2:51:55 PM: ​
2:51:55 PM: ❯ Current directory
2:51:55 PM: /opt/build/repo
2:51:55 PM: ​
2:51:55 PM: ❯ Config file
2:51:55 PM: /opt/build/repo/netlify.toml
2:51:55 PM: ​
2:51:55 PM: ❯ Context
2:51:55 PM: deploy-preview
2:51:55 PM: ​
2:51:55 PM: build.command from netlify.toml
2:51:55 PM: ────────────────────────────────────────────────────────────────
2:51:55 PM: ​
2:51:55 PM: $ hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
2:51:58 PM: hugo: downloading modules …
2:52:04 PM: hugo: collected modules in 8165 ms
2:52:04 PM: Start building sites …
2:52:04 PM: hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended linux/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
2:52:06 PM: Total in 10671 ms
2:52:06 PM: Error: error building site: POSTCSS: failed to transform "scss/main.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
2:52:06 PM: ​
2:52:06 PM: "build.command" failed
2:52:06 PM: ────────────────────────────────────────────────────────────────
2:52:06 PM: ​
2:52:06 PM: Error message
2:52:06 PM: Command failed with exit code 1: hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL (https://ntl.fyi/exit-code-1)
2:52:06 PM: ​
2:52:06 PM: Error location
2:52:06 PM: In build.command from netlify.toml:
2:52:06 PM: hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
2:52:06 PM: ​
2:52:06 PM: Resolved config
2:52:06 PM: build:
2:52:06 PM: command: hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
2:52:06 PM: commandOrigin: config
2:52:06 PM: environment:
2:52:06 PM: - REVIEW_ID
2:52:06 PM: - HUGO_VERSION
2:52:06 PM: publish: /opt/build/repo/public
2:52:06 PM: publishOrigin: config
2:52:06 PM: redirects:
2:52:07 PM: - from: /npmjs/*
status: 200
to: /npmjs/
redirectsOrigin: config
Caching artifacts
2:52:07 PM: Started saving build plugins
2:52:07 PM: Finished saving build plugins
2:52:07 PM: Started saving pip cache
2:52:07 PM: Finished saving pip cache
2:52:07 PM: Started saving emacs cask dependencies
2:52:07 PM: Finished saving emacs cask dependencies
2:52:07 PM: Started saving maven dependencies
2:52:07 PM: Finished saving maven dependencies
2:52:07 PM: Started saving boot dependencies
2:52:07 PM: Finished saving boot dependencies
2:52:07 PM: Started saving rust rustup cache
2:52:07 PM: Finished saving rust rustup cache
2:52:07 PM: Started saving go dependencies
2:52:07 PM: Finished saving go dependencies
2:52:08 PM: Cached Ruby version 2.7.1
2:52:08 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:52:08 PM: Failing build: Failed to build site
2:52:08 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
2:52:08 PM: Finished processing build request in 33.362s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment