diff --git a/.gitlab/ci/pipelines/master_branch.yml b/.gitlab/ci/pipelines/master_branch.yml index 62aead7d22417b0c9216fd332598c6157f66ef9e..6a0e2de3d19722e9ff8a3823285fa5dff4bee7bd 100644 --- a/.gitlab/ci/pipelines/master_branch.yml +++ b/.gitlab/ci/pipelines/master_branch.yml @@ -407,183 +407,6 @@ docker:merge_manifests: DOCKER_VERSION: 24.0.7 CI_DOCKER_HUB: "true" -documentation:odoc: - image: ${ci_image_name}/test:${ci_image_tag} - stage: build - tags: - - gcp - needs: - - oc.docker:ci:amd64 - dependencies: - - oc.docker:ci:amd64 - timeout: 60 minutes - cache: - - key: cargo-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/.cargo/registry/cache - policy: pull-push - - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - eval $(opam env) - - . ./scripts/ci/sccache-start.sh - script: - - export OPAMFETCH='wget' - - opam remote add default https://opam.ocaml.org/ - - opam repo add archive git+https://github.com/ocaml/opam-repository-archive - - opam update - - opam install --yes odoc.2.4.4 - - make -C docs odoc - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - CARGO_NET_OFFLINE: "false" - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - artifacts: - expire_in: 1 hour - paths: - - docs/_build/api/odoc/ - - docs/odoc.log - when: always - -documentation:manuals: - image: ${ci_image_name}/test:${ci_image_tag} - stage: build - tags: - - gcp - needs: - - oc.docker:ci:amd64 - - oc.build:static-x86_64-linux-binaries - dependencies: - - oc.docker:ci:amd64 - - oc.build:static-x86_64-linux-binaries - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - eval $(opam env) - script: - - scripts/ci/documentation:manuals_static.sh - artifacts: - expire_in: 1 week - paths: - - docs/*/octez-*.html - - docs/api/octez-*.txt - - docs/developer/metrics.csv - - docs/developer/rollup_metrics.csv - - docs/user/node-config.json - -documentation:docgen: - image: ${ci_image_name}/test:${ci_image_tag} - stage: build - tags: - - gcp - needs: - - oc.docker:ci:amd64 - dependencies: - - oc.docker:ci:amd64 - timeout: 60 minutes - cache: - - key: cargo-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/.cargo/registry/cache - policy: pull-push - - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - eval $(opam env) - - . ./scripts/ci/sccache-start.sh - script: - - make -C docs -j docexes-gen - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - CARGO_NET_OFFLINE: "false" - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - artifacts: - expire_in: 1 week - paths: - - docs/alpha/rpc.rst - - docs/shell/rpc.rst - - docs/user/default-acl.json - - docs/api/errors.rst - - docs/shell/p2p_api.rst - -documentation:build_all: - image: ${ci_image_name}/test:${ci_image_tag} - stage: build - tags: - - gcp - needs: - - oc.docker:ci:amd64 - - documentation:odoc - - documentation:manuals - - documentation:docgen - dependencies: - - oc.docker:ci:amd64 - - documentation:odoc - - documentation:manuals - - documentation:docgen - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - eval $(opam env) - - . $HOME/.venv/bin/activate - script: - - make -C docs -j sphinx - - make -C docs -j _build/octezdoc.txt - artifacts: - expire_in: 1 week - paths: - - docs/_build/ - expose_as: Documentation - excluding old protocols - -documentation:publish: - image: ${ci_image_name}/test:${ci_image_tag} - stage: publish - tags: - - gcp - needs: - - oc.docker:ci:amd64 - - documentation:build_all - dependencies: - - oc.docker:ci:amd64 - - documentation:build_all - timeout: 60 minutes - cache: - - key: cargo-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/.cargo/registry/cache - policy: pull-push - - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - interruptible: false - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - eval $(opam env) - - . $HOME/.venv/bin/activate - - echo "${CI_PK_GITLAB_DOC}" > ~/.ssh/id_ed25519 - - echo "${CI_KH}" > ~/.ssh/known_hosts - - chmod 400 ~/.ssh/id_ed25519 - - . ./scripts/ci/sccache-start.sh - script: - - ./scripts/ci/doc_publish.sh - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - CARGO_NET_OFFLINE: "false" - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - publish_kernel_sdk: image: ${rust_toolchain_image_name}:${rust_toolchain_image_tag} stage: manual diff --git a/ci/bin/master_branch.ml b/ci/bin/master_branch.ml index 8e85e52983ef49fdbd8b20a3f2e5e9a1f084c7eb..2dbc1d84e1a32b62f0c9df0287dc961e0931633b 100644 --- a/ci/bin/master_branch.ml +++ b/ci/bin/master_branch.ml @@ -195,7 +195,5 @@ let jobs = ] (* Jobs to build and update on Docker Hub the Octez Docker image. *) @ octez_distribution_docker_jobs - (* Stage: doc *) - @ jobs_documentation (* Stage: manual *) @ [job_publish_kernel_sdk]