arangodb / docs-hugo

Source code of the ArangoDB online documentation
https://docs.arangodb.com
Apache License 2.0
5 stars 5 forks source link

Test: Add example to inspect version details #434

Closed Simran-B closed 5 months ago

Simran-B commented 8 months ago

Description

This is for checking the V8 version, compiling from devel branch using a manually triggered CI run.

Upstream PRs

arangodb-docs-automation[bot] commented 8 months ago

Deploy Preview Available Via
https://deploy-preview-434--docs-hugo.netlify.app

Simran-B commented 8 months ago
CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2778 (message):
  No download info given for 'v8_build' and its source directory:

   /root/project/3rdParty/v8-build/v8

  is not an existing non-empty directory.  Please specify one of:

   * SOURCE_DIR with an existing non-empty directory
   * DOWNLOAD_COMMAND
   * URL
   * GIT_REPOSITORY
   * SVN_REPOSITORY
   * HG_REPOSITORY
   * CVS_REPOSITORY and CVS_MODULE
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:3642 (_ep_add_download_command)
  3rdParty/v8-build/CMakeLists.txt:479 (ExternalProject_Add)
CMake Error at cmake/FindPackageHandleStandardArgs.cmake:21 (message):
  Could NOT find Nodejs: Found unsuitable version "16.20.1", but required is
  at least "18" (found /usr/bin/node)
Call Stack (most recent call first):
  cmake/FindPackageHandleStandardArgs.cmake:259 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindNodejs.cmake:76 (find_package_handle_standard_args)
  cmake/frontend/aardvark.cmake:5 (find_package)
  CMakeLists.txt:1299 (include)
Simran-B commented 8 months ago

The ArangoDB build image was updated in early December, and Jenkins and CircleCI now use the same one. It is no longer based on Alpine, so we need to check how the base_config.yaml has changed to adjust our config, as we can no longer install packages with apk, for instance (most of this should be from the ArangoDB repo config and not specific to the docs tooling).

Simran-B commented 5 months ago

489 updated the CircleCI config to use the Ubuntu-based build image.

Once 3.10 and 3.11 are EoL, the remaining code for Alpine can be removed. The code for the custom compilation using the Ubuntu build image can potentially be removed as well. There is meanwhile an option in the main CI to upload a Docker image (opt-in) so that we shouldn't need a custom setup to compile AranogDB: https://github.com/arangodb/arangodb/pull/20699 Note that the images are not uploaded to Docker Hub, which will require some changes to the docs toolchain to allow other container registries.