From 17589322370e10c852f55e92b0f63e1d3a01c7d7 Mon Sep 17 00:00:00 2001 From: Bruno Bernardo Date: Thu, 31 Jul 2025 17:09:03 +0200 Subject: [PATCH 1/5] CI/Scripts: add script that send cache info to Datadog --- scripts/ci/datadog_send_job_cache_info.sh | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100755 scripts/ci/datadog_send_job_cache_info.sh diff --git a/scripts/ci/datadog_send_job_cache_info.sh b/scripts/ci/datadog_send_job_cache_info.sh new file mode 100755 index 000000000000..9fbe727db01e --- /dev/null +++ b/scripts/ci/datadog_send_job_cache_info.sh @@ -0,0 +1,77 @@ +#!/bin/sh + +set -eu + +# Check if the section argument ('before' or 'after') is provided. +# We will use it in the tags sent to Datadog to give infos on the +# cache sizes both at the begining of the job or after its script is +# executed. + +if [ $# -eq 0 ]; then + echo "Usage: $0 " + exit 1 +fi + +# SECTION will be used as a suffix in the tags sent to Datadog +SECTION="$1" +echo "Section: $SECTION" + +# Check if argument is valid +if [ "$1" != "before" ] && [ "$1" != "after" ]; then + echo "Error: Argument must be 'before' or 'after'" + echo "Usage: $0 " + exit 1 +fi + +CARGO_CACHE_DIR=$CI_PROJECT_DIR/.cargo/registry/cache +DUNE_CACHE_ROOT=$CI_PROJECT_DIR/_dune_cache +SCCACHE_DIR=$CI_PROJECT_DIR/_sccache +RUST_DEPS_TARGET_DIR=$CI_PROJECT_DIR/_target/rust_deps +RUSTZCASH_DEPS_TARGET_DIR=$CI_PROJECT_DIR/_target/rustzcash_deps +ETHERLINK_WASM_RUNTIME_TARGET_DIR=$CI_PROJECT_DIR/_target/etherlink_wasm_runtime + +CACHE_TAGS="" + +# Function to get directory size in bytes and human-readable format +get_cache_size() { + cache_dir="$1" + cache_name="$2" + + if [ -d "$cache_dir" ]; then + # Get size in bytes (more precise for metrics) + size_bytes=$(du -sb "$cache_dir" 2> /dev/null | cut -f1 || echo "0") + # Get human-readable size + size_human=$(du -sh "$cache_dir" 2> /dev/null | cut -f1 || echo "0") + + echo "${cache_name} cache: ${size_human} (${size_bytes} bytes)" + else + echo "No $(echo "$cache_name" | tr '[:upper:]' '[:lower:]') cache" + fi + + # Export environment variables + export "${cache_name}_SIZE_BYTES=${size_bytes:-0}" + export "${cache_name}_SIZE_HUMAN=${size_human:-0}" + # Add tags for datadog + # shellcheck disable=SC3059 + CACHE_TAGS="$CACHE_TAGS --tags $(echo "$cache_name" | tr '[:upper:]' '[:lower:]')_${SECTION}:${size_bytes:-0}" + +} + +# Get cache sizes and set environment variables +get_cache_size "$DUNE_CACHE_ROOT" "CACHE_DUNE" +get_cache_size "$CARGO_CACHE_DIR" "CACHE_CARGO" +get_cache_size "$SCCACHE_DIR" "CACHE_SCCACHE" +get_cache_size "$RUST_DEPS_TARGET_DIR" "CACHE_RUST_DEPS" +get_cache_size "$RUSTZCASH_DEPS_TARGET_DIR" "CACHE_RUSTZCASH_DEPS" +get_cache_size "$ETHERLINK_WASM_RUNTIME_TARGET_DIR" "CACHE_ETHERLINK_WASM_RUNTIME" + +# Send info to Datadog + +if command -v datadog-ci > /dev/null 2>&1; then + echo "Sending job-level info to Datadog" + echo "CACHE_TAGS=$CACHE_TAGS" + # FIXME LATER use "datadog-ci tag --level job --tags-file my_tags.json" + eval "DATADOG_SITE=datadoghq.eu datadog-ci tag --level job ${CACHE_TAGS}" +else + echo "'datadog-ci' not installed, no job info sent to Datadog" +fi -- GitLab From 04cff384a22a4d4242af89fb6ac7a2b3121aee32 Mon Sep 17 00:00:00 2001 From: Bruno Bernardo Date: Thu, 31 Jul 2025 17:13:20 +0200 Subject: [PATCH 2/5] CI: send cache info at end of [before_script] - Added to each job. - If [datadog-ci] is not available in the CI image, nothing happens. --- .gitlab/ci/pipelines/base_images.yml | 5 ++ .gitlab/ci/pipelines/before_merging.yml | 88 ++++++++++++++++++ .../ci/pipelines/debian_repository_full.yml | 22 +++++ .../pipelines/debian_repository_partial.yml | 12 +++ .../debian_repository_partial_auto.yml | 12 +++ .gitlab/ci/pipelines/grafazos.daily.yml | 3 + .gitlab/ci/pipelines/grafazos.release.yml | 5 ++ .../ci/pipelines/grafazos.test_release.yml | 5 ++ .gitlab/ci/pipelines/homebrew.yml | 4 + .gitlab/ci/pipelines/homebrew_auto.yml | 4 + .gitlab/ci/pipelines/master_branch.yml | 13 +++ .gitlab/ci/pipelines/merge_train.yml | 88 ++++++++++++++++++ .gitlab/ci/pipelines/non_release_tag.yml | 35 ++++++++ .gitlab/ci/pipelines/non_release_tag_test.yml | 35 ++++++++ .../ci/pipelines/octez_beta_release_tag.yml | 35 ++++++++ .../pipelines/octez_evm_node_release_tag.yml | 10 +++ .gitlab/ci/pipelines/octez_latest_release.yml | 2 + .../pipelines/octez_latest_release_test.yml | 2 + .../octez_major_release_tag_test.yml | 38 ++++++++ .../octez_minor_release_tag_test.yml | 30 +++++++ .gitlab/ci/pipelines/octez_monitoring.yml | 6 ++ .gitlab/ci/pipelines/octez_release_tag.yml | 29 ++++++ .../octez_smart_rollup_node_release_tag.yml | 9 ++ ...tez_smart_rollup_node_release_tag_test.yml | 9 ++ .gitlab/ci/pipelines/publish_release_page.yml | 3 + .../pipelines/publish_test_release_page.yml | 3 + .gitlab/ci/pipelines/rpm_repository_full.yml | 15 ++++ .../ci/pipelines/rpm_repository_partial.yml | 8 ++ .../pipelines/rpm_repository_partial_auto.yml | 8 ++ ...e_container_scanning_evm_node_releases.yml | 4 + .../schedule_container_scanning_master.yml | 4 + .../schedule_container_scanning_octez_rc.yml | 4 + ...dule_container_scanning_octez_releases.yml | 4 + .../schedule_docker_build_pipeline.yml | 7 ++ .../ci/pipelines/schedule_documentation.yml | 8 ++ ...hedule_extended_baker_remote_mode_test.yml | 12 +++ .../schedule_extended_dal_use_baker.yml | 12 +++ .../pipelines/schedule_extended_rpc_test.yml | 12 +++ .../ci/pipelines/schedule_extended_test.yml | 90 +++++++++++++++++++ .../schedule_extended_validation_test.yml | 12 +++ .../schedule_master_test_release.yml | 33 +++++++ .../ci/pipelines/schedule_security_scans.yml | 6 ++ .gitlab/ci/pipelines/teztale.daily.yml | 5 ++ .gitlab/ci/pipelines/teztale.test_release.yml | 7 ++ ci/lib_tezos_ci/tezos_ci.ml | 4 +- 45 files changed, 761 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/pipelines/base_images.yml b/.gitlab/ci/pipelines/base_images.yml index c7cc43fee4ec..587991be7fd9 100644 --- a/.gitlab/ci/pipelines/base_images.yml +++ b/.gitlab/ci/pipelines/base_images.yml @@ -20,6 +20,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -35,6 +36,7 @@ oc.base-images.debian: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.debian services: @@ -59,6 +61,7 @@ oc.base-images.ubuntu: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.debian services: @@ -83,6 +86,7 @@ oc.base-images.fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.rpm services: @@ -107,6 +111,7 @@ oc.base-images.rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.rpm services: diff --git a/.gitlab/ci/pipelines/before_merging.yml b/.gitlab/ci/pipelines/before_merging.yml index b207c891be25..6a32a086a9e0 100644 --- a/.gitlab/ci/pipelines/before_merging.yml +++ b/.gitlab/ci/pipelines/before_merging.yml @@ -19,6 +19,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -41,6 +42,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -61,6 +63,7 @@ oc.docker:client-libs-dependencies: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_client_libs_dependencies_build.sh services: @@ -81,6 +84,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -102,6 +106,7 @@ oc.docker:rust-sdk-bindings:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_sdk_bindings_build.sh services: @@ -122,6 +127,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -153,6 +159,7 @@ trigger: timeout: 10 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo 'Trigger pipeline!' - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} @@ -171,6 +178,7 @@ sanity_ci: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C manifest check - make --silent -C ci check @@ -190,6 +198,7 @@ docker:hadolint: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - hadolint build.Dockerfile - hadolint Dockerfile @@ -221,6 +230,7 @@ oc.ocaml_fmt: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/lint.sh --check-ocamlformat - dune build --profile=dev @fmt @@ -252,6 +262,7 @@ oc.semgrep: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "OCaml code linting. For information on how to reproduce locally, check out scripts/semgrep/README.md" @@ -285,6 +296,7 @@ oc.misc_checks: - . ./scripts/version.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_check.sh - scripts/check_wasm_pvm_regressions.sh check @@ -310,6 +322,7 @@ check_jsonnet: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - cd ../ + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/lint.sh --check-jsonnet-format - scripts/lint.sh --check-jsonnet-lint @@ -331,6 +344,7 @@ check_rust_fmt: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/check-format-rust.sh @@ -352,6 +366,7 @@ documentation:rst-check: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C docs sphinx-check @@ -378,6 +393,7 @@ nix: - . ./scripts/ci/datadog_send_job_info.sh - mkdir -p ~/.config/nix - echo 'extra-experimental-features = flakes nix-command' > ~/.config/nix/nix.conf + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - nix run .#ci-check-version-sh-lock artifacts: @@ -397,6 +413,7 @@ commit_titles: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/check_commit_messages.sh || exit $? @@ -431,6 +448,7 @@ oc.build_arm64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -489,6 +507,7 @@ oc.build_arm64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -574,6 +593,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -649,6 +669,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -737,6 +758,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -839,6 +861,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -906,6 +929,7 @@ wasm-runtime-check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - etherlink/lib_wasm_runtime/lint.sh @@ -980,6 +1004,7 @@ oc.build_kernels: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -1068,6 +1093,7 @@ oc.build_dsn_node: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk octez-dsn-node @@ -1128,6 +1154,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -1166,6 +1193,7 @@ build_octez_source: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/restrict_export_to_octez_source.sh @@ -1220,6 +1248,7 @@ etherlink.build:static-x86_64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make evm-node-static @@ -1276,6 +1305,7 @@ etherlink.build:static-arm64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make evm-node-static @@ -1345,6 +1375,7 @@ build-layer1-profiling: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - scripts/slim-mode.sh on @@ -1407,6 +1438,7 @@ select_tezts: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/select_tezts.sh || exit $? artifacts: @@ -1523,6 +1555,7 @@ kaitai_checks: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C ${CI_PROJECT_DIR} check-kaitai-struct-files || (echo 'Octez encodings @@ -1569,6 +1602,7 @@ kaitai_e2e_checks: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - . ./scripts/install_build_deps.js.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./client-libs/kaitai-struct-files/scripts/kaitai_e2e.sh client-libs/kaitai-struct-files/files 2>/dev/null @@ -1605,6 +1639,7 @@ oc.check_lift_limits_patch: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - '[ $(git apply --numstat src/bin_tps_evaluation/lift_limits.patch | cut -f3) = @@ -1643,6 +1678,7 @@ oc.python_check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_python_check.sh @@ -1699,6 +1735,7 @@ oc.integration:compiler-rejections: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - dune build @runtest_rejections @@ -1752,6 +1789,7 @@ oc.script:test-gen-genesis: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - cd scripts/gen-genesis + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build gen_genesis.exe @@ -1798,6 +1836,7 @@ oc.script:snapshot_alpha_and_link: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/script:snapshot_alpha_and_link.sh @@ -1858,6 +1897,7 @@ oc.script:test_octez_release_versions: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/test_octez_release_version.sh @@ -1884,6 +1924,7 @@ oc.script:b58_prefix: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - poetry run pylint scripts/b58_prefix/b58_prefix.py --disable=missing-docstring --disable=invalid-name @@ -1916,6 +1957,7 @@ oc.test-liquidity-baking-scripts: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/test_liquidity_baking_scripts.sh @@ -1932,6 +1974,7 @@ oc:scripts:release_script_values: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/test_release_values.sh @@ -1961,6 +2004,7 @@ mir_unit: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo test --manifest-path contrib/mir/Cargo.toml variables: @@ -1993,6 +2037,7 @@ mir_tzt: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo run --manifest-path contrib/mir/Cargo.toml --bin tzt_runner tzt_reference_test_suite/*.tzt variables: @@ -2031,6 +2076,7 @@ test_sdk_rust: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C sdk/rust check @@ -2077,6 +2123,7 @@ test_sdk_bindings: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C contrib/sdk-bindings check @@ -2124,6 +2171,7 @@ test_kernels: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk check @@ -2173,6 +2221,7 @@ test_etherlink_kernel: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk check @@ -2220,6 +2269,7 @@ test_etherlink_firehose: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C etherlink/firehose check @@ -2260,6 +2310,7 @@ audit_riscv_deps: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C src/riscv audit @@ -2306,6 +2357,7 @@ check_riscv_kernels: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C src/riscv CHECK_FLAGS= EXTRA_FLAGS='--no-default-features --features ci' @@ -2354,6 +2406,7 @@ test_evm_compatibility: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk EVM_EVALUATION_FEATURES=disable-file-logs evm-evaluation-assessor @@ -2402,6 +2455,7 @@ ocaml-check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build @check --stop-on-first-error after_script: @@ -2469,6 +2523,7 @@ oc.unit:non-proto-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2538,6 +2593,7 @@ oc.unit:etherlink-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2625,6 +2681,7 @@ oc.unit:other-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2712,6 +2769,7 @@ oc.unit:proto-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2795,6 +2853,7 @@ oc.unit:non-proto-arm64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2862,6 +2921,7 @@ oc.unit:webassembly-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make test-webassembly @@ -2918,6 +2978,7 @@ oc.unit:protocol_compiles: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - dune build @runtest_compile_protocol @@ -2950,6 +3011,7 @@ de.unit:x86_64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding @@ -2975,6 +3037,7 @@ de.unit:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding @@ -3000,6 +3063,7 @@ resto.unit:x86_64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto @@ -3025,6 +3089,7 @@ resto.unit:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto @@ -3043,6 +3108,7 @@ oc.install_opam_noble: timeout: 2 hours before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-opam.sh variables: @@ -3065,6 +3131,7 @@ oc.compile_sources_doc_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/compile-sources.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} @@ -3125,6 +3192,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3219,6 +3287,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3313,6 +3382,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3404,6 +3474,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3496,6 +3567,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3585,6 +3657,7 @@ tezt:static-binaries: before_script: - . ./scripts/ci/datadog_send_job_info.sh - mv octez-binaries/x86_64/octez-* . + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3673,6 +3746,7 @@ tezt-riscv-slow-sequential: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3758,6 +3832,7 @@ oc.unified_coverage: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/report_coverage.sh || exit $? variables: @@ -3798,6 +3873,7 @@ documentation:install_python_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} @@ -3849,6 +3925,7 @@ documentation:odoc: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export OPAMFETCH='wget' @@ -3915,6 +3992,7 @@ documentation:manuals: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j octez-gen artifacts: @@ -3973,6 +4051,7 @@ documentation:docgen: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C docs -j docexes-gen @@ -4035,6 +4114,7 @@ documentation:build_all: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt @@ -4091,6 +4171,7 @@ documentation:linkcheck: - . ./scripts/version.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs redirectcheck - make -C docs linkcheck @@ -4165,6 +4246,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -4196,6 +4278,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -4222,6 +4305,7 @@ oc.script.docker_verify_image_arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh services: @@ -4245,6 +4329,7 @@ oc.script.docker_verify_image_amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh services: @@ -4280,6 +4365,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -4329,6 +4415,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -4369,6 +4456,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec diff --git a/.gitlab/ci/pipelines/debian_repository_full.yml b/.gitlab/ci/pipelines/debian_repository_full.yml index c4531bac13f7..da6d37a7693b 100644 --- a/.gitlab/ci/pipelines/debian_repository_full.yml +++ b/.gitlab/ci/pipelines/debian_repository_full.yml @@ -23,6 +23,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -38,6 +39,7 @@ oc.docker-systemd_tests_debian: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile services: @@ -67,6 +69,7 @@ oc.docker-systemd_tests_ubuntu: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile services: @@ -96,6 +99,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -131,6 +135,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -168,6 +173,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -199,6 +205,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -220,6 +227,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -255,6 +263,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -298,6 +307,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -325,6 +335,7 @@ oc.lintian_debian: - export DEBIAN_FRONTEND=noninteractive - apt-get update - apt-get install lintian parallel -y + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh debian bookworm variables: {} @@ -340,6 +351,7 @@ oc.install_bin_debian_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh debian bookworm variables: @@ -359,6 +371,7 @@ oc.install_bin_debian_bookworm_systemd_test: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -387,6 +400,7 @@ oc.install_bin_debian_bookworm_systemd_custom_datadir: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -416,6 +430,7 @@ oc.install_bin_debian_bookworm_systemd_agnostic_baker: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -445,6 +460,7 @@ oc.upgrade_bin_debian_bookworm-systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile @@ -475,6 +491,7 @@ oc.lintian_ubuntu: - export DEBIAN_FRONTEND=noninteractive - apt-get update - apt-get install lintian parallel -y + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh ubuntu jammy noble variables: {} @@ -490,6 +507,7 @@ oc.install_bin_ubunty_jammy: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh ubuntu jammy variables: @@ -506,6 +524,7 @@ oc.install_bin_ubunty_noble: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh ubuntu noble variables: @@ -525,6 +544,7 @@ oc.install_bin_ubuntu_noble_systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -553,6 +573,7 @@ oc.upgrade_bin_ubuntu_jammy_systemd_test: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile @@ -581,6 +602,7 @@ oc.upgrade_bin_ubuntu_noble_systemd_test: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile diff --git a/.gitlab/ci/pipelines/debian_repository_partial.yml b/.gitlab/ci/pipelines/debian_repository_partial.yml index 895ac977d24e..af7ac2179e1b 100644 --- a/.gitlab/ci/pipelines/debian_repository_partial.yml +++ b/.gitlab/ci/pipelines/debian_repository_partial.yml @@ -23,6 +23,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -38,6 +39,7 @@ oc.docker-systemd_tests_debian: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile services: @@ -65,6 +67,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -98,6 +101,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -133,6 +137,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -164,6 +169,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -191,6 +197,7 @@ oc.lintian_debian: - export DEBIAN_FRONTEND=noninteractive - apt-get update - apt-get install lintian parallel -y + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh debian bookworm variables: {} @@ -206,6 +213,7 @@ oc.install_bin_debian_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh debian bookworm variables: @@ -225,6 +233,7 @@ oc.install_bin_debian_bookworm_systemd_test: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -253,6 +262,7 @@ oc.install_bin_debian_bookworm_systemd_custom_datadir: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -282,6 +292,7 @@ oc.install_bin_debian_bookworm_systemd_agnostic_baker: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -311,6 +322,7 @@ oc.upgrade_bin_debian_bookworm-systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile diff --git a/.gitlab/ci/pipelines/debian_repository_partial_auto.yml b/.gitlab/ci/pipelines/debian_repository_partial_auto.yml index 895ac977d24e..af7ac2179e1b 100644 --- a/.gitlab/ci/pipelines/debian_repository_partial_auto.yml +++ b/.gitlab/ci/pipelines/debian_repository_partial_auto.yml @@ -23,6 +23,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -38,6 +39,7 @@ oc.docker-systemd_tests_debian: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile services: @@ -65,6 +67,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -98,6 +101,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -133,6 +137,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -164,6 +169,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -191,6 +197,7 @@ oc.lintian_debian: - export DEBIAN_FRONTEND=noninteractive - apt-get update - apt-get install lintian parallel -y + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh debian bookworm variables: {} @@ -206,6 +213,7 @@ oc.install_bin_debian_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh debian bookworm variables: @@ -225,6 +233,7 @@ oc.install_bin_debian_bookworm_systemd_test: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -253,6 +262,7 @@ oc.install_bin_debian_bookworm_systemd_custom_datadir: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -282,6 +292,7 @@ oc.install_bin_debian_bookworm_systemd_agnostic_baker: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile @@ -311,6 +322,7 @@ oc.upgrade_bin_debian_bookworm-systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile diff --git a/.gitlab/ci/pipelines/grafazos.daily.yml b/.gitlab/ci/pipelines/grafazos.daily.yml index 19b51fb2b88e..534f819bbfeb 100644 --- a/.gitlab/ci/pipelines/grafazos.daily.yml +++ b/.gitlab/ci/pipelines/grafazos.daily.yml @@ -16,6 +16,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -37,6 +38,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -55,6 +57,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec diff --git a/.gitlab/ci/pipelines/grafazos.release.yml b/.gitlab/ci/pipelines/grafazos.release.yml index a59212b6f719..f82c62f875f8 100644 --- a/.gitlab/ci/pipelines/grafazos.release.yml +++ b/.gitlab/ci/pipelines/grafazos.release.yml @@ -17,6 +17,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -38,6 +39,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -56,6 +58,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -80,6 +83,7 @@ grafazos.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh retry: 0 @@ -100,6 +104,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: diff --git a/.gitlab/ci/pipelines/grafazos.test_release.yml b/.gitlab/ci/pipelines/grafazos.test_release.yml index 23bcac2215e6..84d1085a7213 100644 --- a/.gitlab/ci/pipelines/grafazos.test_release.yml +++ b/.gitlab/ci/pipelines/grafazos.test_release.yml @@ -17,6 +17,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -38,6 +39,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -56,6 +58,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -80,6 +83,7 @@ grafazos.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh retry: 0 @@ -100,6 +104,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: diff --git a/.gitlab/ci/pipelines/homebrew.yml b/.gitlab/ci/pipelines/homebrew.yml index 614d9161d930..5fc5650bdb11 100644 --- a/.gitlab/ci/pipelines/homebrew.yml +++ b/.gitlab/ci/pipelines/homebrew.yml @@ -20,6 +20,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -40,6 +41,7 @@ oc.install-homebrew: - apt-get update && apt-get install -y git curl - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - apt-get install -y autoconf cmake g++ libev-dev libffi-dev libgmp-dev libprotobuf-dev libsqlite3-dev protobuf-compiler libhidapi-dev pkg-config zlib1g-dev libpq-dev @@ -56,6 +58,7 @@ oc.build-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt-get update && apt-get install -y git curl @@ -75,6 +78,7 @@ oc.install-homebrew-macosx: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/packaging/homebrew_install.sh - eval $(/opt/homebrew/bin/brew shellenv) diff --git a/.gitlab/ci/pipelines/homebrew_auto.yml b/.gitlab/ci/pipelines/homebrew_auto.yml index 614d9161d930..5fc5650bdb11 100644 --- a/.gitlab/ci/pipelines/homebrew_auto.yml +++ b/.gitlab/ci/pipelines/homebrew_auto.yml @@ -20,6 +20,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -40,6 +41,7 @@ oc.install-homebrew: - apt-get update && apt-get install -y git curl - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - apt-get install -y autoconf cmake g++ libev-dev libffi-dev libgmp-dev libprotobuf-dev libsqlite3-dev protobuf-compiler libhidapi-dev pkg-config zlib1g-dev libpq-dev @@ -56,6 +58,7 @@ oc.build-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt-get update && apt-get install -y git curl @@ -75,6 +78,7 @@ oc.install-homebrew-macosx: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/packaging/homebrew_install.sh - eval $(/opt/homebrew/bin/brew shellenv) diff --git a/.gitlab/ci/pipelines/master_branch.yml b/.gitlab/ci/pipelines/master_branch.yml index 93813f837b25..5b281bf9506b 100644 --- a/.gitlab/ci/pipelines/master_branch.yml +++ b/.gitlab/ci/pipelines/master_branch.yml @@ -18,6 +18,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -39,6 +40,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -59,6 +61,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -102,6 +105,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -147,6 +151,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -194,6 +199,7 @@ oc.build_arm64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -250,6 +256,7 @@ oc.build_arm64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -289,6 +296,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -309,6 +317,7 @@ oc.unified_coverage: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - mkdir -p _coverage_report - dune exec scripts/ci/download_coverage/download.exe -- --from last-merged-pipeline @@ -346,6 +355,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -370,6 +380,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -394,6 +405,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -426,6 +438,7 @@ publish_kernel_sdk: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk publish-sdk-deps diff --git a/.gitlab/ci/pipelines/merge_train.yml b/.gitlab/ci/pipelines/merge_train.yml index 6f5f28ae8960..91ec4c74f1a6 100644 --- a/.gitlab/ci/pipelines/merge_train.yml +++ b/.gitlab/ci/pipelines/merge_train.yml @@ -19,6 +19,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -41,6 +42,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -61,6 +63,7 @@ oc.docker:client-libs-dependencies: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_client_libs_dependencies_build.sh services: @@ -81,6 +84,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -102,6 +106,7 @@ oc.docker:rust-sdk-bindings:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_sdk_bindings_build.sh services: @@ -122,6 +127,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -153,6 +159,7 @@ trigger: timeout: 10 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo 'Trigger pipeline!' - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} @@ -171,6 +178,7 @@ sanity_ci: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C manifest check - make --silent -C ci check @@ -190,6 +198,7 @@ docker:hadolint: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - hadolint build.Dockerfile - hadolint Dockerfile @@ -221,6 +230,7 @@ oc.ocaml_fmt: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/lint.sh --check-ocamlformat - dune build --profile=dev @fmt @@ -252,6 +262,7 @@ oc.semgrep: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "OCaml code linting. For information on how to reproduce locally, check out scripts/semgrep/README.md" @@ -285,6 +296,7 @@ oc.misc_checks: - . ./scripts/version.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_check.sh - scripts/check_wasm_pvm_regressions.sh check @@ -310,6 +322,7 @@ check_jsonnet: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - cd ../ + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/lint.sh --check-jsonnet-format - scripts/lint.sh --check-jsonnet-lint @@ -331,6 +344,7 @@ check_rust_fmt: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/check-format-rust.sh @@ -352,6 +366,7 @@ documentation:rst-check: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C docs sphinx-check @@ -378,6 +393,7 @@ nix: - . ./scripts/ci/datadog_send_job_info.sh - mkdir -p ~/.config/nix - echo 'extra-experimental-features = flakes nix-command' > ~/.config/nix/nix.conf + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - nix run .#ci-check-version-sh-lock artifacts: @@ -396,6 +412,7 @@ commit_titles: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/check_commit_messages.sh || exit $? @@ -430,6 +447,7 @@ oc.build_arm64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -488,6 +506,7 @@ oc.build_arm64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -573,6 +592,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -648,6 +668,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -736,6 +757,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -838,6 +860,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -905,6 +928,7 @@ wasm-runtime-check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - etherlink/lib_wasm_runtime/lint.sh @@ -979,6 +1003,7 @@ oc.build_kernels: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -1067,6 +1092,7 @@ oc.build_dsn_node: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk octez-dsn-node @@ -1127,6 +1153,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -1165,6 +1192,7 @@ build_octez_source: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/restrict_export_to_octez_source.sh @@ -1219,6 +1247,7 @@ etherlink.build:static-x86_64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make evm-node-static @@ -1275,6 +1304,7 @@ etherlink.build:static-arm64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make evm-node-static @@ -1344,6 +1374,7 @@ build-layer1-profiling: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - scripts/slim-mode.sh on @@ -1406,6 +1437,7 @@ select_tezts: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/select_tezts.sh || exit $? artifacts: @@ -1522,6 +1554,7 @@ kaitai_checks: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C ${CI_PROJECT_DIR} check-kaitai-struct-files || (echo 'Octez encodings @@ -1568,6 +1601,7 @@ kaitai_e2e_checks: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - . ./scripts/install_build_deps.js.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./client-libs/kaitai-struct-files/scripts/kaitai_e2e.sh client-libs/kaitai-struct-files/files 2>/dev/null @@ -1604,6 +1638,7 @@ oc.check_lift_limits_patch: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - '[ $(git apply --numstat src/bin_tps_evaluation/lift_limits.patch | cut -f3) = @@ -1642,6 +1677,7 @@ oc.python_check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_python_check.sh @@ -1698,6 +1734,7 @@ oc.integration:compiler-rejections: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - dune build @runtest_rejections @@ -1751,6 +1788,7 @@ oc.script:test-gen-genesis: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - cd scripts/gen-genesis + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build gen_genesis.exe @@ -1797,6 +1835,7 @@ oc.script:snapshot_alpha_and_link: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/script:snapshot_alpha_and_link.sh @@ -1857,6 +1896,7 @@ oc.script:test_octez_release_versions: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/test_octez_release_version.sh @@ -1883,6 +1923,7 @@ oc.script:b58_prefix: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - poetry run pylint scripts/b58_prefix/b58_prefix.py --disable=missing-docstring --disable=invalid-name @@ -1915,6 +1956,7 @@ oc.test-liquidity-baking-scripts: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/test_liquidity_baking_scripts.sh @@ -1931,6 +1973,7 @@ oc:scripts:release_script_values: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/test_release_values.sh @@ -1960,6 +2003,7 @@ mir_unit: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo test --manifest-path contrib/mir/Cargo.toml variables: @@ -1992,6 +2036,7 @@ mir_tzt: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo run --manifest-path contrib/mir/Cargo.toml --bin tzt_runner tzt_reference_test_suite/*.tzt variables: @@ -2030,6 +2075,7 @@ test_sdk_rust: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C sdk/rust check @@ -2076,6 +2122,7 @@ test_sdk_bindings: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C contrib/sdk-bindings check @@ -2123,6 +2170,7 @@ test_kernels: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk check @@ -2172,6 +2220,7 @@ test_etherlink_kernel: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk check @@ -2219,6 +2268,7 @@ test_etherlink_firehose: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C etherlink/firehose check @@ -2259,6 +2309,7 @@ audit_riscv_deps: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C src/riscv audit @@ -2305,6 +2356,7 @@ check_riscv_kernels: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C src/riscv CHECK_FLAGS= EXTRA_FLAGS='--no-default-features --features ci' @@ -2353,6 +2405,7 @@ test_evm_compatibility: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk EVM_EVALUATION_FEATURES=disable-file-logs evm-evaluation-assessor @@ -2401,6 +2454,7 @@ ocaml-check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build @check --stop-on-first-error after_script: @@ -2468,6 +2522,7 @@ oc.unit:non-proto-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2537,6 +2592,7 @@ oc.unit:etherlink-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2624,6 +2680,7 @@ oc.unit:other-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2711,6 +2768,7 @@ oc.unit:proto-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2794,6 +2852,7 @@ oc.unit:non-proto-arm64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2861,6 +2920,7 @@ oc.unit:webassembly-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make test-webassembly @@ -2917,6 +2977,7 @@ oc.unit:protocol_compiles: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - dune build @runtest_compile_protocol @@ -2949,6 +3010,7 @@ de.unit:x86_64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding @@ -2974,6 +3036,7 @@ de.unit:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding @@ -2999,6 +3062,7 @@ resto.unit:x86_64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto @@ -3024,6 +3088,7 @@ resto.unit:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto @@ -3042,6 +3107,7 @@ oc.install_opam_noble: timeout: 2 hours before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-opam.sh variables: @@ -3064,6 +3130,7 @@ oc.compile_sources_doc_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/compile-sources.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} @@ -3124,6 +3191,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3218,6 +3286,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3312,6 +3381,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3403,6 +3473,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3495,6 +3566,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3584,6 +3656,7 @@ tezt:static-binaries: before_script: - . ./scripts/ci/datadog_send_job_info.sh - mv octez-binaries/x86_64/octez-* . + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3672,6 +3745,7 @@ tezt-riscv-slow-sequential: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3757,6 +3831,7 @@ oc.unified_coverage: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/report_coverage.sh || exit $? variables: @@ -3797,6 +3872,7 @@ documentation:install_python_bookworm: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} @@ -3848,6 +3924,7 @@ documentation:odoc: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export OPAMFETCH='wget' @@ -3914,6 +3991,7 @@ documentation:manuals: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j octez-gen artifacts: @@ -3972,6 +4050,7 @@ documentation:docgen: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C docs -j docexes-gen @@ -4034,6 +4113,7 @@ documentation:build_all: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt @@ -4090,6 +4170,7 @@ documentation:linkcheck: - . ./scripts/version.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs redirectcheck - make -C docs linkcheck @@ -4116,6 +4197,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -4147,6 +4229,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -4173,6 +4256,7 @@ oc.script.docker_verify_image_arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh services: @@ -4196,6 +4280,7 @@ oc.script.docker_verify_image_amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh services: @@ -4231,6 +4316,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -4280,6 +4366,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -4320,6 +4407,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec diff --git a/.gitlab/ci/pipelines/non_release_tag.yml b/.gitlab/ci/pipelines/non_release_tag.yml index 22e032cbfe3b..1b358db726cc 100644 --- a/.gitlab/ci/pipelines/non_release_tag.yml +++ b/.gitlab/ci/pipelines/non_release_tag.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -38,6 +39,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -58,6 +60,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -84,6 +87,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -116,6 +120,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -162,6 +167,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -194,6 +200,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -239,6 +247,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -265,6 +274,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -291,6 +301,7 @@ gitlab:publish: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ${CI_PROJECT_DIR}/scripts/ci/create_gitlab_package.sh id_tokens: @@ -322,6 +333,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -357,6 +369,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -394,6 +407,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -425,6 +439,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -446,6 +461,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -481,6 +497,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -524,6 +541,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -545,6 +563,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -573,6 +592,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -607,6 +627,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -652,6 +673,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -697,6 +719,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -718,6 +741,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -747,6 +771,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -782,6 +807,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -828,6 +854,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -874,6 +901,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -907,6 +935,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -951,6 +980,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -988,6 +1018,7 @@ teztale.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1010,6 +1041,7 @@ teztale.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh variables: @@ -1036,6 +1068,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -1060,6 +1093,7 @@ grafazos.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1080,6 +1114,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: diff --git a/.gitlab/ci/pipelines/non_release_tag_test.yml b/.gitlab/ci/pipelines/non_release_tag_test.yml index e7e85efd74d7..36e19836b6c5 100644 --- a/.gitlab/ci/pipelines/non_release_tag_test.yml +++ b/.gitlab/ci/pipelines/non_release_tag_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -38,6 +39,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -58,6 +60,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -84,6 +87,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -116,6 +120,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -162,6 +167,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -194,6 +200,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -239,6 +247,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -265,6 +274,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -291,6 +301,7 @@ gitlab:publish: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ${CI_PROJECT_DIR}/scripts/ci/create_gitlab_package.sh id_tokens: @@ -322,6 +333,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -357,6 +369,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -394,6 +407,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -425,6 +439,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -446,6 +461,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -481,6 +497,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -524,6 +541,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -545,6 +563,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -573,6 +592,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -607,6 +627,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -652,6 +673,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -697,6 +719,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -718,6 +741,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -747,6 +771,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -782,6 +807,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -828,6 +854,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -874,6 +901,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -907,6 +935,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -951,6 +980,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -988,6 +1018,7 @@ teztale.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1010,6 +1041,7 @@ teztale.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh variables: @@ -1037,6 +1069,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -1061,6 +1094,7 @@ grafazos.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1081,6 +1115,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: diff --git a/.gitlab/ci/pipelines/octez_beta_release_tag.yml b/.gitlab/ci/pipelines/octez_beta_release_tag.yml index 8aa9b65d800a..8f85be27b2f4 100644 --- a/.gitlab/ci/pipelines/octez_beta_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_beta_release_tag.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -38,6 +39,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -58,6 +60,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -84,6 +87,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -116,6 +120,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -162,6 +167,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -194,6 +200,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -239,6 +247,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -265,6 +274,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -292,6 +302,7 @@ gitlab:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh @@ -324,6 +335,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -359,6 +371,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -396,6 +409,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -427,6 +441,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -448,6 +463,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -483,6 +499,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -526,6 +543,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -547,6 +565,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -575,6 +594,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -609,6 +629,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -654,6 +675,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -699,6 +721,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -720,6 +743,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -749,6 +773,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -784,6 +809,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -830,6 +856,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -876,6 +903,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -909,6 +937,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -953,6 +982,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -990,6 +1020,7 @@ teztale.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1012,6 +1043,7 @@ teztale.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh variables: @@ -1038,6 +1070,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -1062,6 +1095,7 @@ grafazos.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1082,6 +1116,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: diff --git a/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml b/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml index b0b5bcf93d33..e4fc3012b6a9 100644 --- a/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -63,6 +65,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -93,6 +96,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -138,6 +142,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -169,6 +174,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -191,6 +197,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -215,6 +222,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -239,6 +247,7 @@ gitlab:octez-evm-node-release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_gitlab_octez_evm_node_release.sh retry: 0 @@ -255,6 +264,7 @@ docker:promote_to_latest: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh octez-evm-node-latest ./scripts/ci/octez-evm-node-release.sh services: diff --git a/.gitlab/ci/pipelines/octez_latest_release.yml b/.gitlab/ci/pipelines/octez_latest_release.yml index f9a5aa916de0..69ad1e0ae3ce 100644 --- a/.gitlab/ci/pipelines/octez_latest_release.yml +++ b/.gitlab/ci/pipelines/octez_latest_release.yml @@ -15,6 +15,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -30,6 +31,7 @@ docker:promote_to_latest: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh services: diff --git a/.gitlab/ci/pipelines/octez_latest_release_test.yml b/.gitlab/ci/pipelines/octez_latest_release_test.yml index ebd656937a10..aff0f761caf7 100644 --- a/.gitlab/ci/pipelines/octez_latest_release_test.yml +++ b/.gitlab/ci/pipelines/octez_latest_release_test.yml @@ -15,6 +15,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -30,6 +31,7 @@ docker:promote_to_latest: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh services: diff --git a/.gitlab/ci/pipelines/octez_major_release_tag_test.yml b/.gitlab/ci/pipelines/octez_major_release_tag_test.yml index 7032ada0641e..1de9078d6d8b 100644 --- a/.gitlab/ci/pipelines/octez_major_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_major_release_tag_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -38,6 +39,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -58,6 +60,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -84,6 +87,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -116,6 +120,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -162,6 +167,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -194,6 +200,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -239,6 +247,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -265,6 +274,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -292,6 +302,7 @@ gitlab:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh @@ -324,6 +335,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -359,6 +371,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -396,6 +409,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -427,6 +441,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -448,6 +463,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -483,6 +499,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -526,6 +543,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -547,6 +565,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -575,6 +594,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -609,6 +629,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -654,6 +675,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -699,6 +721,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -720,6 +743,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -749,6 +773,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -784,6 +809,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -830,6 +856,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -876,6 +903,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -909,6 +937,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -953,6 +982,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -990,6 +1020,7 @@ teztale.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1012,6 +1043,7 @@ teztale.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh variables: @@ -1039,6 +1071,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -1063,6 +1096,7 @@ grafazos.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh retry: 0 @@ -1083,6 +1117,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: @@ -1109,6 +1144,7 @@ docker:promote_to_latest: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh services: @@ -1129,6 +1165,7 @@ opam:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/opam-release.sh --dry-run retry: 0 @@ -1154,6 +1191,7 @@ publish:release-page: - . ./scripts/ci/datadog_send_job_info.sh - sudo apk add aws-cli pandoc - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/releases/publish_release_page.sh after_script: diff --git a/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml b/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml index 5430b69d4c43..a46e302ab06f 100644 --- a/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -63,6 +65,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -95,6 +98,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -141,6 +145,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -173,6 +178,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -197,6 +203,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -244,6 +252,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -271,6 +280,7 @@ gitlab:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh @@ -303,6 +313,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -338,6 +349,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -375,6 +387,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -406,6 +419,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -427,6 +441,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -462,6 +477,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -505,6 +521,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -526,6 +543,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -554,6 +572,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -588,6 +607,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -633,6 +653,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -678,6 +699,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -699,6 +721,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -728,6 +751,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -763,6 +787,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -809,6 +834,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -855,6 +881,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -878,6 +905,7 @@ docker:promote_to_latest: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh services: @@ -898,6 +926,7 @@ opam:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/opam-release.sh --dry-run retry: 0 @@ -923,6 +952,7 @@ publish:release-page: - . ./scripts/ci/datadog_send_job_info.sh - sudo apk add aws-cli pandoc - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/releases/publish_release_page.sh after_script: diff --git a/.gitlab/ci/pipelines/octez_monitoring.yml b/.gitlab/ci/pipelines/octez_monitoring.yml index 17abde4907ee..e4ac1267e333 100644 --- a/.gitlab/ci/pipelines/octez_monitoring.yml +++ b/.gitlab/ci/pipelines/octez_monitoring.yml @@ -20,6 +20,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -41,6 +42,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -67,6 +69,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -94,6 +97,7 @@ build-layer1-profiling: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - scripts/slim-mode.sh on @@ -136,6 +140,7 @@ teztale.build:static-arm64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make teztale @@ -177,6 +182,7 @@ teztale.build:static-x86_64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make teztale diff --git a/.gitlab/ci/pipelines/octez_release_tag.yml b/.gitlab/ci/pipelines/octez_release_tag.yml index 2855dff046b4..ecf2b387e601 100644 --- a/.gitlab/ci/pipelines/octez_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_release_tag.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -63,6 +65,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -95,6 +98,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -141,6 +145,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -173,6 +178,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -197,6 +203,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -244,6 +252,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -271,6 +280,7 @@ gitlab:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh @@ -303,6 +313,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -338,6 +349,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -375,6 +387,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -406,6 +419,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -427,6 +441,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -462,6 +477,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -505,6 +521,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -526,6 +543,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -554,6 +572,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -588,6 +607,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -633,6 +653,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -678,6 +699,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -699,6 +721,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -728,6 +751,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -763,6 +787,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -809,6 +834,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -855,6 +881,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -877,6 +904,7 @@ opam:release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/opam-release.sh retry: 0 @@ -902,6 +930,7 @@ publish:release-page: - . ./scripts/ci/datadog_send_job_info.sh - sudo apk add aws-cli pandoc - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/releases/publish_release_page.sh after_script: diff --git a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml index b4bc57ad72b6..87a43d97e7be 100644 --- a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -63,6 +65,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -93,6 +96,7 @@ rollup-node.build:static-arm64-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -138,6 +142,7 @@ rollup-node.build:static-x86_64-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -169,6 +174,7 @@ rollup-node.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -191,6 +197,7 @@ rollup-node.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -215,6 +222,7 @@ rollup-node.docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -239,6 +247,7 @@ rollup-node.gitlab:octez-smart-rollup-node-release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/rollup_node/releases/create_gitlab_release.sh retry: 0 diff --git a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml index 3c74c416b8f0..9c7244117e35 100644 --- a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -63,6 +65,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -93,6 +96,7 @@ rollup-node.build:static-arm64-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -138,6 +142,7 @@ rollup-node.build:static-x86_64-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -169,6 +174,7 @@ rollup-node.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -191,6 +197,7 @@ rollup-node.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -215,6 +222,7 @@ rollup-node.docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -239,6 +247,7 @@ rollup-node.gitlab:octez-smart-rollup-node-release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/rollup_node/releases/create_gitlab_release.sh retry: 0 diff --git a/.gitlab/ci/pipelines/publish_release_page.yml b/.gitlab/ci/pipelines/publish_release_page.yml index 1dd59ea9962c..1be71652966b 100644 --- a/.gitlab/ci/pipelines/publish_release_page.yml +++ b/.gitlab/ci/pipelines/publish_release_page.yml @@ -15,6 +15,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -57,6 +59,7 @@ publish:release-page: - . ./scripts/ci/datadog_send_job_info.sh - sudo apk add aws-cli pandoc - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/releases/publish_release_page.sh after_script: diff --git a/.gitlab/ci/pipelines/publish_test_release_page.yml b/.gitlab/ci/pipelines/publish_test_release_page.yml index b79c4ec70dee..c1aafeabd98c 100644 --- a/.gitlab/ci/pipelines/publish_test_release_page.yml +++ b/.gitlab/ci/pipelines/publish_test_release_page.yml @@ -15,6 +15,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -57,6 +59,7 @@ publish:release-page: - . ./scripts/ci/datadog_send_job_info.sh - sudo apk add aws-cli pandoc - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/releases/publish_release_page.sh after_script: diff --git a/.gitlab/ci/pipelines/rpm_repository_full.yml b/.gitlab/ci/pipelines/rpm_repository_full.yml index 10d5ef9d5f9e..321e6f908c07 100644 --- a/.gitlab/ci/pipelines/rpm_repository_full.yml +++ b/.gitlab/ci/pipelines/rpm_repository_full.yml @@ -23,6 +23,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -38,6 +39,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -66,6 +68,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -100,6 +103,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -145,6 +149,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -190,6 +195,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -211,6 +217,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -240,6 +247,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -275,6 +283,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -321,6 +330,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -367,6 +377,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -389,6 +400,7 @@ oc.install_bin_fedora_39.doc: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh fedora 39 variables: {} @@ -407,6 +419,7 @@ oc.install_bin_fedora_39_systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile @@ -431,6 +444,7 @@ oc.install_bin_rockylinux_9.3.doc: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh rockylinux 9.3 variables: {} @@ -449,6 +463,7 @@ oc.install_bin_rockylinux_93_systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile diff --git a/.gitlab/ci/pipelines/rpm_repository_partial.yml b/.gitlab/ci/pipelines/rpm_repository_partial.yml index 668360e3759e..d3bb83808458 100644 --- a/.gitlab/ci/pipelines/rpm_repository_partial.yml +++ b/.gitlab/ci/pipelines/rpm_repository_partial.yml @@ -23,6 +23,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -38,6 +39,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -65,6 +67,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -98,6 +101,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -142,6 +146,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -186,6 +191,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -208,6 +214,7 @@ oc.install_bin_rockylinux_9.3.doc: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh rockylinux 9.3 variables: {} @@ -226,6 +233,7 @@ oc.install_bin_rockylinux_93_systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile diff --git a/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml b/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml index 668360e3759e..d3bb83808458 100644 --- a/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml +++ b/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml @@ -23,6 +23,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -38,6 +39,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -65,6 +67,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -98,6 +101,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -142,6 +146,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -186,6 +191,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -208,6 +214,7 @@ oc.install_bin_rockylinux_9.3.doc: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh rockylinux 9.3 variables: {} @@ -226,6 +233,7 @@ oc.install_bin_rockylinux_93_systemd: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml b/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml index 9fe9931b5948..6b95d306ea24 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml @@ -18,6 +18,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -40,6 +41,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -53,6 +55,7 @@ container_scanning: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan variables: @@ -80,5 +83,6 @@ container_scanning_slack_notification: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:octez-evm-node-latest diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_master.yml b/.gitlab/ci/pipelines/schedule_container_scanning_master.yml index 0c5475691500..cc9c6174d562 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_master.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_master.yml @@ -18,6 +18,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -40,6 +41,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -53,6 +55,7 @@ container_scanning: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan variables: @@ -80,5 +83,6 @@ container_scanning_slack_notification: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:master diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml b/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml index 02ddbdfc1540..66bcc7fa4d6c 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml @@ -18,6 +18,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -40,6 +41,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -53,6 +55,7 @@ container_scanning: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan variables: @@ -80,5 +83,6 @@ container_scanning_slack_notification: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:octez-v22.0-rc3 diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml b/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml index fb6094813ea8..f9c344184f2c 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml @@ -18,6 +18,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -40,6 +41,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -53,6 +55,7 @@ container_scanning: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan variables: @@ -80,5 +83,6 @@ container_scanning_slack_notification: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:latest diff --git a/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml b/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml index 2aaf768060f5..817ad73374f2 100644 --- a/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml +++ b/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -57,6 +59,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -83,6 +86,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -102,6 +106,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -126,6 +131,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -150,6 +156,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: diff --git a/.gitlab/ci/pipelines/schedule_documentation.yml b/.gitlab/ci/pipelines/schedule_documentation.yml index 07a826b0f38a..bc76c9e76b58 100644 --- a/.gitlab/ci/pipelines/schedule_documentation.yml +++ b/.gitlab/ci/pipelines/schedule_documentation.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -39,6 +40,7 @@ datadog_pipeline_trace: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -72,6 +74,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -113,6 +116,7 @@ documentation:odoc: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export OPAMFETCH='wget' @@ -150,6 +154,7 @@ documentation:manuals: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/documentation:manuals_static.sh artifacts: @@ -184,6 +189,7 @@ documentation:docgen: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C docs -j docexes-gen @@ -223,6 +229,7 @@ documentation:build_all: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt @@ -261,6 +268,7 @@ documentation:publish: - echo "${CI_PK_GITLAB_DOC}" > ~/.ssh/id_ed25519 - echo "${CI_KH}" > ~/.ssh/known_hosts - chmod 400 ~/.ssh/id_ed25519 + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/doc_publish.sh diff --git a/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml b/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml index 58bde01208fe..5aa700698232 100644 --- a/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -70,6 +72,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -129,6 +132,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -187,6 +191,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -246,6 +251,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -306,6 +312,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -369,6 +376,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -424,6 +432,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -474,6 +483,7 @@ oc.build_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -513,6 +523,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -537,6 +548,7 @@ datadog_pipeline_trace: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE diff --git a/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml b/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml index 58bde01208fe..5aa700698232 100644 --- a/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml +++ b/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -70,6 +72,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -129,6 +132,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -187,6 +191,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -246,6 +251,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -306,6 +312,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -369,6 +376,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -424,6 +432,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -474,6 +483,7 @@ oc.build_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -513,6 +523,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -537,6 +548,7 @@ datadog_pipeline_trace: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE diff --git a/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml b/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml index 58bde01208fe..5aa700698232 100644 --- a/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -70,6 +72,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -129,6 +132,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -187,6 +191,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -246,6 +251,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -306,6 +312,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -369,6 +376,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -424,6 +432,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -474,6 +483,7 @@ oc.build_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -513,6 +523,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -537,6 +548,7 @@ datadog_pipeline_trace: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE diff --git a/.gitlab/ci/pipelines/schedule_extended_test.yml b/.gitlab/ci/pipelines/schedule_extended_test.yml index 2ed422d7df86..3c516acf1260 100644 --- a/.gitlab/ci/pipelines/schedule_extended_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_test.yml @@ -18,6 +18,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -39,6 +40,7 @@ oc.docker:client-libs-dependencies: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_client_libs_dependencies_build.sh services: @@ -59,6 +61,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -80,6 +83,7 @@ oc.docker:rust-sdk-bindings:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_sdk_bindings_build.sh services: @@ -100,6 +104,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -127,6 +132,7 @@ datadog_pipeline_trace: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -145,6 +151,7 @@ sanity_ci: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C manifest check - make --silent -C ci check @@ -162,6 +169,7 @@ docker:hadolint: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - hadolint build.Dockerfile - hadolint Dockerfile @@ -187,6 +195,7 @@ oc.ocaml_fmt: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/lint.sh --check-ocamlformat - dune build --profile=dev @fmt @@ -211,6 +220,7 @@ oc.semgrep: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "OCaml code linting. For information on how to reproduce locally, check out scripts/semgrep/README.md" @@ -233,6 +243,7 @@ oc.misc_checks: - . ./scripts/version.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_check.sh - scripts/check_wasm_pvm_regressions.sh check @@ -256,6 +267,7 @@ check_jsonnet: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - cd ../ + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/lint.sh --check-jsonnet-format - scripts/lint.sh --check-jsonnet-lint @@ -273,6 +285,7 @@ check_rust_fmt: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/check-format-rust.sh @@ -290,6 +303,7 @@ documentation:rst-check: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C docs sphinx-check @@ -322,6 +336,7 @@ oc.build_arm64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -378,6 +393,7 @@ oc.build_arm64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -435,6 +451,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -481,6 +498,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -528,6 +546,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -589,6 +608,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -649,6 +669,7 @@ wasm-runtime-check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - etherlink/lib_wasm_runtime/lint.sh @@ -681,6 +702,7 @@ oc.build_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -727,6 +749,7 @@ oc.build_dsn_node: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk octez-dsn-node @@ -762,6 +785,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -800,6 +824,7 @@ build_octez_source: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/restrict_export_to_octez_source.sh @@ -846,6 +871,7 @@ etherlink.build:static-x86_64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make evm-node-static @@ -894,6 +920,7 @@ etherlink.build:static-arm64: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make evm-node-static @@ -938,6 +965,7 @@ build-layer1-profiling: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - scripts/slim-mode.sh on @@ -973,6 +1001,7 @@ opam:prepare: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - git init _opam-repo-for-release - ./scripts/opam-prepare-repo.sh dev ./ ./_opam-repo-for-release @@ -1011,6 +1040,7 @@ opam:all_6: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1080,6 +1110,7 @@ opam:exec_6: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1137,6 +1168,7 @@ opam:all_2: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1208,6 +1240,7 @@ opam:all_1: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1268,6 +1301,7 @@ opam:all_3: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1339,6 +1373,7 @@ opam:exec_4: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1395,6 +1430,7 @@ opam:all_4: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1465,6 +1501,7 @@ opam:exec_1: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1531,6 +1568,7 @@ opam:all_5: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1602,6 +1640,7 @@ opam:all_7: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - mkdir -p $CI_PROJECT_DIR/opam_logs + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - opam remote add dev-repo ./_opam-repo-for-release @@ -1707,6 +1746,7 @@ kaitai_checks: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C ${CI_PROJECT_DIR} check-kaitai-struct-files || (echo 'Octez encodings @@ -1743,6 +1783,7 @@ kaitai_e2e_checks: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - . ./scripts/install_build_deps.js.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./client-libs/kaitai-struct-files/scripts/kaitai_e2e.sh client-libs/kaitai-struct-files/files 2>/dev/null @@ -1771,6 +1812,7 @@ oc.check_lift_limits_patch: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - '[ $(git apply --numstat src/bin_tps_evaluation/lift_limits.patch | cut -f3) = @@ -1800,6 +1842,7 @@ oc.python_check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_python_check.sh @@ -1831,6 +1874,7 @@ oc.integration:compiler-rejections: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - dune build @runtest_rejections @@ -1856,6 +1900,7 @@ oc.script:test-gen-genesis: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - cd scripts/gen-genesis + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build gen_genesis.exe @@ -1888,6 +1933,7 @@ oc.script:snapshot_alpha_and_link: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/script:snapshot_alpha_and_link.sh @@ -1923,6 +1969,7 @@ oc.script:test_octez_release_versions: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/test_octez_release_version.sh @@ -1941,6 +1988,7 @@ oc.script:b58_prefix: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - poetry run pylint scripts/b58_prefix/b58_prefix.py --disable=missing-docstring --disable=invalid-name @@ -1967,6 +2015,7 @@ oc.test-liquidity-baking-scripts: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/test_liquidity_baking_scripts.sh @@ -1981,6 +2030,7 @@ oc:scripts:release_script_values: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/test_release_values.sh @@ -2002,6 +2052,7 @@ mir_unit: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo test --manifest-path contrib/mir/Cargo.toml variables: @@ -2025,6 +2076,7 @@ mir_tzt: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo run --manifest-path contrib/mir/Cargo.toml --bin tzt_runner tzt_reference_test_suite/*.tzt variables: @@ -2052,6 +2104,7 @@ test_sdk_rust: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C sdk/rust check @@ -2086,6 +2139,7 @@ test_sdk_bindings: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C contrib/sdk-bindings check @@ -2122,6 +2176,7 @@ test_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk check @@ -2160,6 +2215,7 @@ test_etherlink_kernel: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk check @@ -2198,6 +2254,7 @@ test_etherlink_firehose: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C etherlink/firehose check @@ -2232,6 +2289,7 @@ audit_riscv_deps: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C src/riscv audit @@ -2268,6 +2326,7 @@ check_riscv_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C src/riscv CHECK_FLAGS= EXTRA_FLAGS='--no-default-features --features ci' @@ -2306,6 +2365,7 @@ test_evm_compatibility: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f etherlink.mk EVM_EVALUATION_FEATURES=disable-file-logs evm-evaluation-assessor @@ -2343,6 +2403,7 @@ ocaml-check: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build @check --stop-on-first-error after_script: @@ -2385,6 +2446,7 @@ oc.unit:non-proto-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2447,6 +2509,7 @@ oc.unit:etherlink-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2509,6 +2572,7 @@ oc.unit:other-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2571,6 +2635,7 @@ oc.unit:proto-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2629,6 +2694,7 @@ oc.unit:non-proto-arm64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make $MAKE_TARGETS @@ -2671,6 +2737,7 @@ oc.unit:webassembly-x86_64: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make test-webassembly @@ -2702,6 +2769,7 @@ oc.unit:protocol_compiles: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - dune build @runtest_compile_protocol @@ -2730,6 +2798,7 @@ de.unit:x86_64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding @@ -2751,6 +2820,7 @@ de.unit:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding @@ -2772,6 +2842,7 @@ resto.unit:x86_64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto @@ -2793,6 +2864,7 @@ resto.unit:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto @@ -2809,6 +2881,7 @@ oc.install_opam_noble: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-opam.sh variables: @@ -2826,6 +2899,7 @@ oc.compile_sources_doc_bookworm: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/compile-sources.sh tezos/tezos latest-release variables: @@ -2844,6 +2918,7 @@ oc.compile_sources_doc_oracular: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/compile-sources.sh tezos/tezos latest-release variables: @@ -2876,6 +2951,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -2943,6 +3019,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3009,6 +3086,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3073,6 +3151,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3137,6 +3216,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3199,6 +3279,7 @@ tezt:static-binaries: before_script: - . ./scripts/ci/datadog_send_job_info.sh - mv octez-binaries/x86_64/octez-* . + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3261,6 +3342,7 @@ tezt-riscv-slow-sequential: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -3309,6 +3391,7 @@ documentation:install_python_noble: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh tezos/tezos master @@ -3324,6 +3407,7 @@ documentation:install_python_jammy: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh tezos/tezos master @@ -3339,6 +3423,7 @@ documentation:install_python_bookworm: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh tezos/tezos master @@ -3365,6 +3450,7 @@ documentation:odoc: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export OPAMFETCH='wget' @@ -3410,6 +3496,7 @@ documentation:manuals: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j octez-gen artifacts: @@ -3444,6 +3531,7 @@ documentation:docgen: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -C docs -j docexes-gen @@ -3485,6 +3573,7 @@ documentation:build_all: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt @@ -3519,6 +3608,7 @@ documentation:linkcheck: - . ./scripts/version.sh - eval $(opam env) - . $HOME/.venv/bin/activate + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs redirectcheck - make -C docs linkcheck diff --git a/.gitlab/ci/pipelines/schedule_extended_validation_test.yml b/.gitlab/ci/pipelines/schedule_extended_validation_test.yml index 58bde01208fe..5aa700698232 100644 --- a/.gitlab/ci/pipelines/schedule_extended_validation_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_validation_test.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:rust-toolchain:amd64: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh services: @@ -70,6 +72,7 @@ tezt: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -129,6 +132,7 @@ tezt-time-sensitive: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -187,6 +191,7 @@ tezt-slow: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -246,6 +251,7 @@ tezt-extra: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -306,6 +312,7 @@ tezt-flaky: before_script: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - echo "TESTS=\"${TESTS}\" JUNIT=\"${JUNIT}\" CI_NODE_INDEX=\"${CI_NODE_INDEX}\" CI_NODE_TOTAL=\"${CI_NODE_TOTAL}\" TEZT_PARALLEL=\"${TEZT_PARALLEL}\" TEZT_VARIANT=\"${TEZT_VARIANT}\"" @@ -369,6 +376,7 @@ oc.build_x86_64-released: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -424,6 +432,7 @@ oc.build_x86_64-exp-dev-extra: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_full_unreleased.sh @@ -474,6 +483,7 @@ oc.build_kernels: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - make -f kernels.mk build @@ -513,6 +523,7 @@ oc.tezt:fetch-records: - ./scripts/ci/take_ownership.sh - . ./scripts/version.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info @@ -537,6 +548,7 @@ datadog_pipeline_trace: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE diff --git a/.gitlab/ci/pipelines/schedule_master_test_release.yml b/.gitlab/ci/pipelines/schedule_master_test_release.yml index 04f7523df462..ac36e901c87c 100644 --- a/.gitlab/ci/pipelines/schedule_master_test_release.yml +++ b/.gitlab/ci/pipelines/schedule_master_test_release.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -38,6 +39,7 @@ oc.docker:jsonnet:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh services: @@ -58,6 +60,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -84,6 +87,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -116,6 +120,7 @@ oc.build:static-x86_64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -162,6 +167,7 @@ oc.build:static-arm64-linux-binaries: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/take_ownership.sh - eval $(opam env) + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/build_static_binaries.sh @@ -194,6 +200,7 @@ oc.docker:amd64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -218,6 +225,7 @@ oc.docker:arm64: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh services: @@ -239,6 +247,7 @@ oc.install-release-homebrew: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/install-gsutil.sh - apt install -y git build-essential @@ -265,6 +274,7 @@ docker:merge_manifests: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh services: @@ -292,6 +302,7 @@ gitlab:publish: before_script: - . ./scripts/ci/datadog_send_job_info.sh - git tag octez-v0.0 + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ${CI_PROJECT_DIR}/scripts/ci/create_gitlab_package.sh --dry-run variables: @@ -325,6 +336,7 @@ oc.docker-build-debian-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -360,6 +372,7 @@ oc.build-debian: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -397,6 +410,7 @@ oc.build-data_packages: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash @@ -428,6 +442,7 @@ apt_repo_debian: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm variables: @@ -449,6 +464,7 @@ oc.docker-build-ubuntu-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile services: @@ -484,6 +500,7 @@ oc.build-ubuntu: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -527,6 +544,7 @@ apt_repo_ubuntu: - . ./scripts/version.sh - ./scripts/ci/install-gsutil.sh - apt install -y apt-utils debsigs jq + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy variables: @@ -548,6 +566,7 @@ oc.docker-build-rockylinux-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -576,6 +595,7 @@ oc.docker-systemd-tests-rpm-rockylinux: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -610,6 +630,7 @@ oc.build-rockylinux: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -655,6 +676,7 @@ oc.build-rockylinux-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -700,6 +722,7 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 variables: @@ -721,6 +744,7 @@ oc.docker-build-fedora-dependencies: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile services: @@ -750,6 +774,7 @@ oc.docker-systemd-tests-rpm-fedora: before_script: - . ./scripts/ci/datadog_send_job_info.sh - ./scripts/ci/docker_initialize.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile services: @@ -785,6 +810,7 @@ oc.build-fedora: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -831,6 +857,7 @@ oc.build-fedora-data: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - export CARGO_NET_OFFLINE=false @@ -877,6 +904,7 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_info.sh - . ./scripts/version.sh - ./scripts/ci/prepare-rpm-repo.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 variables: @@ -910,6 +938,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -954,6 +983,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -994,6 +1024,7 @@ teztale.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh variables: @@ -1021,6 +1052,7 @@ grafazos.build: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec @@ -1048,6 +1080,7 @@ grafazos.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh variables: diff --git a/.gitlab/ci/pipelines/schedule_security_scans.yml b/.gitlab/ci/pipelines/schedule_security_scans.yml index d0c6e4cb8438..0720a0948409 100644 --- a/.gitlab/ci/pipelines/schedule_security_scans.yml +++ b/.gitlab/ci/pipelines/schedule_security_scans.yml @@ -15,6 +15,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -57,6 +59,7 @@ container_scanning_latest: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_generate_reports.sh variables: @@ -83,6 +86,7 @@ container_scanning_octez-evm-node-latest: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_generate_reports.sh variables: @@ -109,6 +113,7 @@ container_scanning_master: policy: pull-push before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_generate_reports.sh variables: @@ -138,6 +143,7 @@ container_scanning_merge_reports: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - 'jq --slurp ''{ version: .[0].version, scan: .[0].scan, vulnerabilities: map(.vulnerabilities[]), remediations: map(.remediations[])}'' gl-container-scanning-report-latest.json diff --git a/.gitlab/ci/pipelines/teztale.daily.yml b/.gitlab/ci/pipelines/teztale.daily.yml index 30e98311492e..b7fad3307df4 100644 --- a/.gitlab/ci/pipelines/teztale.daily.yml +++ b/.gitlab/ci/pipelines/teztale.daily.yml @@ -15,6 +15,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -36,6 +37,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -62,6 +64,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -89,6 +92,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -133,6 +137,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh diff --git a/.gitlab/ci/pipelines/teztale.test_release.yml b/.gitlab/ci/pipelines/teztale.test_release.yml index 4b0730aa8ab4..bcaa6d6792a3 100644 --- a/.gitlab/ci/pipelines/teztale.test_release.yml +++ b/.gitlab/ci/pipelines/teztale.test_release.yml @@ -16,6 +16,7 @@ oc.docker:ci:amd64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -37,6 +38,7 @@ oc.docker:ci:arm64: timeout: 90 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh services: @@ -63,6 +65,7 @@ datadog_pipeline_trace: timeout: 60 minutes before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE @@ -90,6 +93,7 @@ teztale.build-arm64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -134,6 +138,7 @@ teztale.build-x86_64: interruptible: true before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' - . ./scripts/ci/sccache-start.sh script: - ./scripts/ci/take_ownership.sh @@ -171,6 +176,7 @@ teztale.gitlab_release: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh retry: 0 @@ -193,6 +199,7 @@ teztale.release_page: interruptible: false before_script: - . ./scripts/ci/datadog_send_job_info.sh + - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh variables: diff --git a/ci/lib_tezos_ci/tezos_ci.ml b/ci/lib_tezos_ci/tezos_ci.ml index 2556fd065515..61db62b51aa8 100644 --- a/ci/lib_tezos_ci/tezos_ci.ml +++ b/ci/lib_tezos_ci/tezos_ci.ml @@ -944,7 +944,9 @@ let job ?(arch : Runner.Arch.t option) ?after_script ?allow_failure ?artifacts artifacts; (* Sending job-level info to Datadog is done first. This step should never fail, even if [datadog-ci] is not installed in the image running the job. *) before_script = - Some (". ./scripts/ci/datadog_send_job_info.sh" :: before_script); + Some + ((". ./scripts/ci/datadog_send_job_info.sh" :: before_script) + @ [". ./scripts/ci/datadog_send_job_cache_info.sh 'before'"]); cache; id_tokens; image = Option.map Image.image image; -- GitLab From b1ef840fbaf4263a121af341ce60ce8e4a316e26 Mon Sep 17 00:00:00 2001 From: Bruno Bernardo Date: Thu, 31 Jul 2025 17:18:27 +0200 Subject: [PATCH 3/5] CI: send cache info at beginning of [after_script] - Added to each job. - If [datadog-ci] is not available in the CI image, nothing happens. --- .gitlab/ci/pipelines/base_images.yml | 10 ++ .gitlab/ci/pipelines/before_merging.yml | 138 ++++++++++++++++++ .../ci/pipelines/debian_repository_full.yml | 42 ++++++ .../pipelines/debian_repository_partial.yml | 23 +++ .../debian_repository_partial_auto.yml | 23 +++ .gitlab/ci/pipelines/grafazos.daily.yml | 6 + .gitlab/ci/pipelines/grafazos.release.yml | 10 ++ .../ci/pipelines/grafazos.test_release.yml | 10 ++ .gitlab/ci/pipelines/homebrew.yml | 8 + .gitlab/ci/pipelines/homebrew_auto.yml | 8 + .gitlab/ci/pipelines/master_branch.yml | 21 +++ .gitlab/ci/pipelines/merge_train.yml | 138 ++++++++++++++++++ .gitlab/ci/pipelines/non_release_tag.yml | 60 ++++++++ .gitlab/ci/pipelines/non_release_tag_test.yml | 60 ++++++++ .../ci/pipelines/octez_beta_release_tag.yml | 60 ++++++++ .../pipelines/octez_evm_node_release_tag.yml | 18 +++ .gitlab/ci/pipelines/octez_latest_release.yml | 4 + .../pipelines/octez_latest_release_test.yml | 4 + .../octez_major_release_tag_test.yml | 65 +++++++++ .../octez_minor_release_tag_test.yml | 51 +++++++ .gitlab/ci/pipelines/octez_monitoring.yml | 9 ++ .gitlab/ci/pipelines/octez_release_tag.yml | 49 +++++++ .../octez_smart_rollup_node_release_tag.yml | 16 ++ ...tez_smart_rollup_node_release_tag_test.yml | 16 ++ .gitlab/ci/pipelines/publish_release_page.yml | 5 + .../pipelines/publish_test_release_page.yml | 5 + .gitlab/ci/pipelines/rpm_repository_full.yml | 26 ++++ .../ci/pipelines/rpm_repository_partial.yml | 14 ++ .../pipelines/rpm_repository_partial_auto.yml | 14 ++ ...e_container_scanning_evm_node_releases.yml | 8 + .../schedule_container_scanning_master.yml | 8 + .../schedule_container_scanning_octez_rc.yml | 8 + ...dule_container_scanning_octez_releases.yml | 8 + .../schedule_docker_build_pipeline.yml | 14 ++ .../ci/pipelines/schedule_documentation.yml | 12 ++ ...hedule_extended_baker_remote_mode_test.yml | 20 +++ .../schedule_extended_dal_use_baker.yml | 20 +++ .../pipelines/schedule_extended_rpc_test.yml | 20 +++ .../ci/pipelines/schedule_extended_test.yml | 134 +++++++++++++++++ .../schedule_extended_validation_test.yml | 20 +++ .../schedule_master_test_release.yml | 56 +++++++ .../ci/pipelines/schedule_security_scans.yml | 12 ++ .gitlab/ci/pipelines/teztale.daily.yml | 8 + .gitlab/ci/pipelines/teztale.test_release.yml | 12 ++ ci/lib_tezos_ci/tezos_ci.ml | 9 +- 45 files changed, 1279 insertions(+), 3 deletions(-) diff --git a/.gitlab/ci/pipelines/base_images.yml b/.gitlab/ci/pipelines/base_images.yml index 587991be7fd9..757c84eb2cb3 100644 --- a/.gitlab/ci/pipelines/base_images.yml +++ b/.gitlab/ci/pipelines/base_images.yml @@ -25,6 +25,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.base-images.debian: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -39,6 +41,8 @@ oc.base-images.debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.debian + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -64,6 +68,8 @@ oc.base-images.ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.debian + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -89,6 +95,8 @@ oc.base-images.fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.rpm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -114,6 +122,8 @@ oc.base-images.rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/build-base-images.sh images/base-images/Dockerfile.rpm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/before_merging.yml b/.gitlab/ci/pipelines/before_merging.yml index 6a32a086a9e0..81c254e683d3 100644 --- a/.gitlab/ci/pipelines/before_merging.yml +++ b/.gitlab/ci/pipelines/before_merging.yml @@ -22,6 +22,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -45,6 +47,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -66,6 +70,8 @@ oc.docker:client-libs-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_client_libs_dependencies_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -87,6 +93,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -109,6 +117,8 @@ oc.docker:rust-sdk-bindings:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_sdk_bindings_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -130,6 +140,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -165,6 +177,8 @@ trigger: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' sanity_ci: image: ${ci_image_name_protected}/build:amd64--master @@ -182,6 +196,8 @@ sanity_ci: script: - make --silent -C manifest check - make --silent -C ci check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' docker:hadolint: image: hadolint/hadolint:2.12.0-alpine @@ -202,6 +218,8 @@ docker:hadolint: script: - hadolint build.Dockerfile - hadolint Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.ocaml_fmt: image: ${ci_image_name_protected}/build:amd64--master @@ -235,6 +253,7 @@ oc.ocaml_fmt: - scripts/lint.sh --check-ocamlformat - dune build --profile=dev @fmt after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - dune cache trim --size=5GB variables: @@ -267,6 +286,8 @@ oc.semgrep: - echo "OCaml code linting. For information on how to reproduce locally, check out scripts/semgrep/README.md" - sh ./scripts/semgrep/lint-all-ocaml-sources.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.misc_checks: image: ${ci_image_name_protected}/test:amd64--master @@ -304,6 +325,8 @@ oc.misc_checks: - ./scripts/check_rollup_node_sql_migrations.sh check - ./src/lib_dal_node/scripts/check_dal_store_migrations.sh check - ./scripts/ci/lint_check_licenses.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' check_jsonnet: image: ${jsonnet_image_name_protected}:master @@ -326,6 +349,8 @@ check_jsonnet: script: - scripts/lint.sh --check-jsonnet-format - scripts/lint.sh --check-jsonnet-lint + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' check_rust_fmt: image: ${rust_toolchain_image_name_protected}:master @@ -347,6 +372,8 @@ check_rust_fmt: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/check-format-rust.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:rst-check: image: ${ci_image_name_protected}/test:amd64--master @@ -369,6 +396,8 @@ documentation:rst-check: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C docs sphinx-check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' nix: image: nixos/nix:2.22.1 @@ -396,6 +425,8 @@ nix: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - nix run .#ci-check-version-sh-lock + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: paths: - flake.lock @@ -416,6 +447,8 @@ commit_titles: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/check_commit_messages.sh || exit $? + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build_arm64-released: image: ${ci_image_name}/build:${ci_image_tag} @@ -453,6 +486,7 @@ oc.build_arm64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -512,6 +546,7 @@ oc.build_arm64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -598,6 +633,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -674,6 +710,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -763,6 +800,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -866,6 +904,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -934,6 +973,7 @@ wasm-runtime-check: script: - etherlink/lib_wasm_runtime/lint.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1010,6 +1050,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -1098,6 +1139,7 @@ oc.build_dsn_node: script: - make -f etherlink.mk octez-dsn-node after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -1159,6 +1201,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -1205,6 +1248,7 @@ build_octez_source: - eval $(opam env) - make octez after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1253,6 +1297,7 @@ etherlink.build:static-x86_64: script: - make evm-node-static after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1310,6 +1355,7 @@ etherlink.build:static-arm64: script: - make evm-node-static after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1385,6 +1431,7 @@ build-layer1-profiling: - mkdir -p octez-binaries/x86_64/ - mv octez-node octez-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1441,6 +1488,8 @@ select_tezts: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/select_tezts.sh || exit $? + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 3 days paths: @@ -1562,6 +1611,7 @@ kaitai_checks: and Kaitai files seem to be out of sync. You might need to run `make check-kaitai-struct-files` and commit the resulting diff.' ; false) after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1606,6 +1656,8 @@ kaitai_e2e_checks: script: - ./client-libs/kaitai-struct-files/scripts/kaitai_e2e.sh client-libs/kaitai-struct-files/files 2>/dev/null + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.check_lift_limits_patch: image: ${ci_image_name}/build:${ci_image_tag} @@ -1647,6 +1699,7 @@ oc.check_lift_limits_patch: - git apply src/bin_tps_evaluation/lift_limits.patch - dune build @src/proto_alpha/lib_protocol/check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1681,6 +1734,8 @@ oc.python_check: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_python_check.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.integration:compiler-rejections: image: ${ci_image_name}/build:${ci_image_tag} @@ -1740,6 +1795,7 @@ oc.integration:compiler-rejections: script: - dune build @runtest_rejections after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1792,6 +1848,8 @@ oc.script:test-gen-genesis: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build gen_genesis.exe + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.script:snapshot_alpha_and_link: image: ${ci_image_name}/build:${ci_image_tag} @@ -1841,6 +1899,7 @@ oc.script:snapshot_alpha_and_link: script: - ./scripts/ci/script:snapshot_alpha_and_link.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -1900,6 +1959,8 @@ oc.script:test_octez_release_versions: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/test_octez_release_version.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.script:b58_prefix: image: ${ci_image_name}/test:${ci_image_tag} @@ -1929,6 +1990,8 @@ oc.script:b58_prefix: - poetry run pylint scripts/b58_prefix/b58_prefix.py --disable=missing-docstring --disable=invalid-name - poetry run pytest scripts/b58_prefix/test_b58_prefix.py + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.test-liquidity-baking-scripts: image: ${ci_image_name}/build:${ci_image_tag} @@ -1960,6 +2023,8 @@ oc.test-liquidity-baking-scripts: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/test_liquidity_baking_scripts.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc:scripts:release_script_values: image: ${ci_image_name}/prebuild:${ci_image_tag} @@ -1977,6 +2042,8 @@ oc:scripts:release_script_values: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/test_release_values.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' mir_unit: image: ${ci_image_name}/test:${ci_image_tag} @@ -2007,6 +2074,8 @@ mir_unit: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo test --manifest-path contrib/mir/Cargo.toml + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -2040,6 +2109,8 @@ mir_tzt: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo run --manifest-path contrib/mir/Cargo.toml --bin tzt_runner tzt_reference_test_suite/*.tzt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -2082,6 +2153,7 @@ test_sdk_rust: - make -C sdk/rust check - make -C sdk/rust test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2129,6 +2201,7 @@ test_sdk_bindings: - make -C contrib/sdk-bindings check - make -C contrib/sdk-bindings test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2177,6 +2250,7 @@ test_kernels: - make -f kernels.mk check - make -f kernels.mk test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2227,6 +2301,7 @@ test_etherlink_kernel: - make -f etherlink.mk check - make -f etherlink.mk test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2274,6 +2349,7 @@ test_etherlink_firehose: script: - make -C etherlink/firehose check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2315,6 +2391,7 @@ audit_riscv_deps: script: - make -C src/riscv audit after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2363,6 +2440,7 @@ check_riscv_kernels: - make -C src/riscv CHECK_FLAGS= EXTRA_FLAGS='--no-default-features --features ci' check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2415,6 +2493,7 @@ test_evm_compatibility: - ./evm-evaluation-assessor --eth-tests ./ethereum_tests/ --resources ./etherlink/kernel_latest/evm_evaluation/resources/ -c after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2459,6 +2538,7 @@ ocaml-check: script: - dune build @check --stop-on-first-error after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - dune cache trim --size=3GB variables: @@ -2529,6 +2609,7 @@ oc.unit:non-proto-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2599,6 +2680,7 @@ oc.unit:etherlink-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2687,6 +2769,7 @@ oc.unit:other-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2775,6 +2858,7 @@ oc.unit:proto-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2858,6 +2942,7 @@ oc.unit:non-proto-arm64: script: - make $MAKE_TARGETS after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -2924,6 +3009,8 @@ oc.unit:webassembly-x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make test-webassembly + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.unit:protocol_compiles: image: ${ci_image_name}/build:${ci_image_tag} @@ -2983,6 +3070,7 @@ oc.unit:protocol_compiles: script: - dune build @runtest_compile_protocol after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -3014,6 +3102,8 @@ de.unit:x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' de.unit:arm64: image: ${ci_image_name}/test:${ci_image_tag} @@ -3040,6 +3130,8 @@ de.unit:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' resto.unit:x86_64: image: ${ci_image_name}/test:${ci_image_tag} @@ -3066,6 +3158,8 @@ resto.unit:x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' resto.unit:arm64: image: ${ci_image_name}/test:${ci_image_tag} @@ -3092,6 +3186,8 @@ resto.unit:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.install_opam_noble: image: ocaml/opam:ubuntu-24.04 @@ -3111,6 +3207,8 @@ oc.install_opam_noble: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-opam.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: OPAMJOBS: "4" @@ -3135,6 +3233,8 @@ oc.compile_sources_doc_bookworm: script: - ./docs/introduction/compile-sources.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_HOME: /home/opam/.cargo CARGO_NET_OFFLINE: "false" @@ -3210,6 +3310,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3305,6 +3407,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -3398,6 +3502,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -3491,6 +3597,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -3585,6 +3693,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -3674,6 +3784,8 @@ tezt:static-binaries: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3762,6 +3874,8 @@ tezt-riscv-slow-sequential: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3835,6 +3949,8 @@ oc.unified_coverage: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/report_coverage.sh || exit $? + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TEZOS_WITHOUT_OPAM: "true" BISECT_FILE: $CI_PROJECT_DIR/_coverage_output/ @@ -3877,6 +3993,8 @@ documentation:install_python_bookworm: script: - ./docs/developer/install-python-debian-ubuntu.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:odoc: image: ${ci_image_name}/test:${ci_image_tag} @@ -3935,6 +4053,7 @@ documentation:odoc: - opam install --yes odoc.2.4.4 - make -C docs odoc-lite after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -3995,6 +4114,8 @@ documentation:manuals: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j octez-gen + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -4056,6 +4177,7 @@ documentation:docgen: script: - make -C docs -j docexes-gen after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -4118,6 +4240,8 @@ documentation:build_all: script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -4175,6 +4299,8 @@ documentation:linkcheck: script: - make -C docs redirectcheck - make -C docs linkcheck + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' trigger:homebrew: stage: manual @@ -4249,6 +4375,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4281,6 +4409,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4308,6 +4438,8 @@ oc.script.docker_verify_image_arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4332,6 +4464,8 @@ oc.script.docker_verify_image_amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4375,6 +4509,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -4425,6 +4560,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -4461,6 +4597,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day diff --git a/.gitlab/ci/pipelines/debian_repository_full.yml b/.gitlab/ci/pipelines/debian_repository_full.yml index da6d37a7693b..7f7167d46d60 100644 --- a/.gitlab/ci/pipelines/debian_repository_full.yml +++ b/.gitlab/ci/pipelines/debian_repository_full.yml @@ -28,6 +28,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker-systemd_tests_debian: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -42,6 +44,8 @@ oc.docker-systemd_tests_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -72,6 +76,8 @@ oc.docker-systemd_tests_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -102,6 +108,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -141,6 +149,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -177,6 +186,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -208,6 +219,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -230,6 +243,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -269,6 +284,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -310,6 +326,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -338,6 +356,8 @@ oc.lintian_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_debian_bookworm: @@ -354,6 +374,8 @@ oc.install_bin_debian_bookworm: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: PREFIX: "" @@ -375,6 +397,8 @@ oc.install_bin_debian_bookworm_systemd_test: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -404,6 +428,8 @@ oc.install_bin_debian_bookworm_systemd_custom_datadir: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -434,6 +460,8 @@ oc.install_bin_debian_bookworm_systemd_agnostic_baker: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -464,6 +492,8 @@ oc.upgrade_bin_debian_bookworm-systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -494,6 +524,8 @@ oc.lintian_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh ubuntu jammy noble + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_ubunty_jammy: @@ -510,6 +542,8 @@ oc.install_bin_ubunty_jammy: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh ubuntu jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: PREFIX: "" @@ -527,6 +561,8 @@ oc.install_bin_ubunty_noble: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh ubuntu noble + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: PREFIX: "" @@ -548,6 +584,8 @@ oc.install_bin_ubuntu_noble_systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -577,6 +615,8 @@ oc.upgrade_bin_ubuntu_jammy_systemd_test: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -606,6 +646,8 @@ oc.upgrade_bin_ubuntu_noble_systemd_test: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/debian_repository_partial.yml b/.gitlab/ci/pipelines/debian_repository_partial.yml index af7ac2179e1b..7952159ac0bd 100644 --- a/.gitlab/ci/pipelines/debian_repository_partial.yml +++ b/.gitlab/ci/pipelines/debian_repository_partial.yml @@ -28,6 +28,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker-systemd_tests_debian: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -42,6 +44,8 @@ oc.docker-systemd_tests_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -107,6 +113,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -141,6 +148,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -172,6 +181,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -200,6 +211,8 @@ oc.lintian_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_debian_bookworm: @@ -216,6 +229,8 @@ oc.install_bin_debian_bookworm: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: PREFIX: "" @@ -237,6 +252,8 @@ oc.install_bin_debian_bookworm_systemd_test: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -266,6 +283,8 @@ oc.install_bin_debian_bookworm_systemd_custom_datadir: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -296,6 +315,8 @@ oc.install_bin_debian_bookworm_systemd_agnostic_baker: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -326,6 +347,8 @@ oc.upgrade_bin_debian_bookworm-systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/debian_repository_partial_auto.yml b/.gitlab/ci/pipelines/debian_repository_partial_auto.yml index af7ac2179e1b..7952159ac0bd 100644 --- a/.gitlab/ci/pipelines/debian_repository_partial_auto.yml +++ b/.gitlab/ci/pipelines/debian_repository_partial_auto.yml @@ -28,6 +28,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker-systemd_tests_debian: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -42,6 +44,8 @@ oc.docker-systemd_tests_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -107,6 +113,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -141,6 +148,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -172,6 +181,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -200,6 +211,8 @@ oc.lintian_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lintian_debian_packages.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_debian_bookworm: @@ -216,6 +229,8 @@ oc.install_bin_debian_bookworm: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-deb.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: PREFIX: "" @@ -237,6 +252,8 @@ oc.install_bin_debian_bookworm_systemd_test: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -266,6 +283,8 @@ oc.install_bin_debian_bookworm_systemd_custom_datadir: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -296,6 +315,8 @@ oc.install_bin_debian_bookworm_systemd_agnostic_baker: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/install-bin-deb.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -326,6 +347,8 @@ oc.upgrade_bin_debian_bookworm-systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/deb/upgrade-systemd-test.sh images/packages/debian-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/grafazos.daily.yml b/.gitlab/ci/pipelines/grafazos.daily.yml index 534f819bbfeb..7ea77b437d65 100644 --- a/.gitlab/ci/pipelines/grafazos.daily.yml +++ b/.gitlab/ci/pipelines/grafazos.daily.yml @@ -19,6 +19,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -43,6 +45,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' grafazos.build: image: ${jsonnet_image_name}:${jsonnet_image_tag} @@ -62,6 +66,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day diff --git a/.gitlab/ci/pipelines/grafazos.release.yml b/.gitlab/ci/pipelines/grafazos.release.yml index f82c62f875f8..0366e867b704 100644 --- a/.gitlab/ci/pipelines/grafazos.release.yml +++ b/.gitlab/ci/pipelines/grafazos.release.yml @@ -20,6 +20,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -44,6 +46,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' grafazos.build: image: ${jsonnet_image_name}:${jsonnet_image_tag} @@ -63,6 +67,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -86,6 +92,8 @@ grafazos.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 grafazos.release_page: @@ -107,6 +115,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: site-prod.octez.tezos.com/releases URL: octez.tezos.com diff --git a/.gitlab/ci/pipelines/grafazos.test_release.yml b/.gitlab/ci/pipelines/grafazos.test_release.yml index 84d1085a7213..ded03b7f0946 100644 --- a/.gitlab/ci/pipelines/grafazos.test_release.yml +++ b/.gitlab/ci/pipelines/grafazos.test_release.yml @@ -20,6 +20,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -44,6 +46,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' grafazos.build: image: ${jsonnet_image_name}:${jsonnet_image_tag} @@ -63,6 +67,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -86,6 +92,8 @@ grafazos.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 grafazos.release_page: @@ -107,6 +115,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 diff --git a/.gitlab/ci/pipelines/homebrew.yml b/.gitlab/ci/pipelines/homebrew.yml index 5fc5650bdb11..d6011dddf240 100644 --- a/.gitlab/ci/pipelines/homebrew.yml +++ b/.gitlab/ci/pipelines/homebrew.yml @@ -25,6 +25,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.install-homebrew: image: debian:bookworm @@ -46,6 +48,8 @@ oc.install-homebrew: - apt-get install -y autoconf cmake g++ libev-dev libffi-dev libgmp-dev libprotobuf-dev libsqlite3-dev protobuf-compiler libhidapi-dev pkg-config zlib1g-dev libpq-dev - ./scripts/packaging/test_homebrew_install.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -63,6 +67,8 @@ oc.build-homebrew: - ./scripts/ci/install-gsutil.sh - apt-get update && apt-get install -y git curl - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -83,5 +89,7 @@ oc.install-homebrew-macosx: - ./scripts/packaging/homebrew_install.sh - eval $(/opt/homebrew/bin/brew shellenv) - ./scripts/packaging/test_homebrew_install.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TAGS: saas-macos-medium-m1 diff --git a/.gitlab/ci/pipelines/homebrew_auto.yml b/.gitlab/ci/pipelines/homebrew_auto.yml index 5fc5650bdb11..d6011dddf240 100644 --- a/.gitlab/ci/pipelines/homebrew_auto.yml +++ b/.gitlab/ci/pipelines/homebrew_auto.yml @@ -25,6 +25,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.install-homebrew: image: debian:bookworm @@ -46,6 +48,8 @@ oc.install-homebrew: - apt-get install -y autoconf cmake g++ libev-dev libffi-dev libgmp-dev libprotobuf-dev libsqlite3-dev protobuf-compiler libhidapi-dev pkg-config zlib1g-dev libpq-dev - ./scripts/packaging/test_homebrew_install.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -63,6 +67,8 @@ oc.build-homebrew: - ./scripts/ci/install-gsutil.sh - apt-get update && apt-get install -y git curl - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -83,5 +89,7 @@ oc.install-homebrew-macosx: - ./scripts/packaging/homebrew_install.sh - eval $(/opt/homebrew/bin/brew shellenv) - ./scripts/packaging/test_homebrew_install.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TAGS: saas-macos-medium-m1 diff --git a/.gitlab/ci/pipelines/master_branch.yml b/.gitlab/ci/pipelines/master_branch.yml index 5b281bf9506b..e7ce3eea0dae 100644 --- a/.gitlab/ci/pipelines/master_branch.yml +++ b/.gitlab/ci/pipelines/master_branch.yml @@ -21,6 +21,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -43,6 +45,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -64,6 +68,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -110,6 +116,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -156,6 +163,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -204,6 +212,7 @@ oc.build_arm64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -261,6 +270,7 @@ oc.build_arm64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -301,6 +311,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.unified_coverage: image: ${ci_image_name}/test:${ci_image_tag} @@ -323,6 +335,8 @@ oc.unified_coverage: - dune exec scripts/ci/download_coverage/download.exe -- --from last-merged-pipeline --info --log-file _coverage_report/download_coverage.log - ./scripts/ci/report_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: PROJECT: $CI_PROJECT_PATH DEFAULT_BRANCH: $CI_COMMIT_SHA @@ -358,6 +372,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -383,6 +399,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -408,6 +426,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -444,6 +464,7 @@ publish_kernel_sdk: - make -f kernels.mk publish-sdk-deps - SSL_CERT_DIR=/etc/ssl/certs CC=clang make -f kernels.mk publish-sdk after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" diff --git a/.gitlab/ci/pipelines/merge_train.yml b/.gitlab/ci/pipelines/merge_train.yml index 91ec4c74f1a6..28d18f0e0f85 100644 --- a/.gitlab/ci/pipelines/merge_train.yml +++ b/.gitlab/ci/pipelines/merge_train.yml @@ -22,6 +22,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -45,6 +47,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -66,6 +70,8 @@ oc.docker:client-libs-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_client_libs_dependencies_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -87,6 +93,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -109,6 +117,8 @@ oc.docker:rust-sdk-bindings:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_sdk_bindings_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -130,6 +140,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -165,6 +177,8 @@ trigger: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' sanity_ci: image: ${ci_image_name_protected}/build:amd64--master @@ -182,6 +196,8 @@ sanity_ci: script: - make --silent -C manifest check - make --silent -C ci check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' docker:hadolint: image: hadolint/hadolint:2.12.0-alpine @@ -202,6 +218,8 @@ docker:hadolint: script: - hadolint build.Dockerfile - hadolint Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.ocaml_fmt: image: ${ci_image_name_protected}/build:amd64--master @@ -235,6 +253,7 @@ oc.ocaml_fmt: - scripts/lint.sh --check-ocamlformat - dune build --profile=dev @fmt after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - dune cache trim --size=5GB variables: @@ -267,6 +286,8 @@ oc.semgrep: - echo "OCaml code linting. For information on how to reproduce locally, check out scripts/semgrep/README.md" - sh ./scripts/semgrep/lint-all-ocaml-sources.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.misc_checks: image: ${ci_image_name_protected}/test:amd64--master @@ -304,6 +325,8 @@ oc.misc_checks: - ./scripts/check_rollup_node_sql_migrations.sh check - ./src/lib_dal_node/scripts/check_dal_store_migrations.sh check - ./scripts/ci/lint_check_licenses.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' check_jsonnet: image: ${jsonnet_image_name_protected}:master @@ -326,6 +349,8 @@ check_jsonnet: script: - scripts/lint.sh --check-jsonnet-format - scripts/lint.sh --check-jsonnet-lint + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' check_rust_fmt: image: ${rust_toolchain_image_name_protected}:master @@ -347,6 +372,8 @@ check_rust_fmt: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/check-format-rust.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:rst-check: image: ${ci_image_name_protected}/test:amd64--master @@ -369,6 +396,8 @@ documentation:rst-check: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C docs sphinx-check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' nix: image: nixos/nix:2.22.1 @@ -396,6 +425,8 @@ nix: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - nix run .#ci-check-version-sh-lock + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: paths: - flake.lock @@ -415,6 +446,8 @@ commit_titles: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/check_commit_messages.sh || exit $? + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build_arm64-released: image: ${ci_image_name}/build:${ci_image_tag} @@ -452,6 +485,7 @@ oc.build_arm64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -511,6 +545,7 @@ oc.build_arm64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -597,6 +632,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -673,6 +709,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -762,6 +799,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -865,6 +903,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -933,6 +972,7 @@ wasm-runtime-check: script: - etherlink/lib_wasm_runtime/lint.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1009,6 +1049,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -1097,6 +1138,7 @@ oc.build_dsn_node: script: - make -f etherlink.mk octez-dsn-node after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -1158,6 +1200,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -1204,6 +1247,7 @@ build_octez_source: - eval $(opam env) - make octez after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1252,6 +1296,7 @@ etherlink.build:static-x86_64: script: - make evm-node-static after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1309,6 +1354,7 @@ etherlink.build:static-arm64: script: - make evm-node-static after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1384,6 +1430,7 @@ build-layer1-profiling: - mkdir -p octez-binaries/x86_64/ - mv octez-node octez-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1440,6 +1487,8 @@ select_tezts: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/select_tezts.sh || exit $? + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 3 days paths: @@ -1561,6 +1610,7 @@ kaitai_checks: and Kaitai files seem to be out of sync. You might need to run `make check-kaitai-struct-files` and commit the resulting diff.' ; false) after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1605,6 +1655,8 @@ kaitai_e2e_checks: script: - ./client-libs/kaitai-struct-files/scripts/kaitai_e2e.sh client-libs/kaitai-struct-files/files 2>/dev/null + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.check_lift_limits_patch: image: ${ci_image_name}/build:${ci_image_tag} @@ -1646,6 +1698,7 @@ oc.check_lift_limits_patch: - git apply src/bin_tps_evaluation/lift_limits.patch - dune build @src/proto_alpha/lib_protocol/check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1680,6 +1733,8 @@ oc.python_check: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_python_check.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.integration:compiler-rejections: image: ${ci_image_name}/build:${ci_image_tag} @@ -1739,6 +1794,7 @@ oc.integration:compiler-rejections: script: - dune build @runtest_rejections after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1791,6 +1847,8 @@ oc.script:test-gen-genesis: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build gen_genesis.exe + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.script:snapshot_alpha_and_link: image: ${ci_image_name}/build:${ci_image_tag} @@ -1840,6 +1898,7 @@ oc.script:snapshot_alpha_and_link: script: - ./scripts/ci/script:snapshot_alpha_and_link.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -1899,6 +1958,8 @@ oc.script:test_octez_release_versions: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/test_octez_release_version.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.script:b58_prefix: image: ${ci_image_name}/test:${ci_image_tag} @@ -1928,6 +1989,8 @@ oc.script:b58_prefix: - poetry run pylint scripts/b58_prefix/b58_prefix.py --disable=missing-docstring --disable=invalid-name - poetry run pytest scripts/b58_prefix/test_b58_prefix.py + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.test-liquidity-baking-scripts: image: ${ci_image_name}/build:${ci_image_tag} @@ -1959,6 +2022,8 @@ oc.test-liquidity-baking-scripts: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/test_liquidity_baking_scripts.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc:scripts:release_script_values: image: ${ci_image_name}/prebuild:${ci_image_tag} @@ -1976,6 +2041,8 @@ oc:scripts:release_script_values: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/test_release_values.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' mir_unit: image: ${ci_image_name}/test:${ci_image_tag} @@ -2006,6 +2073,8 @@ mir_unit: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo test --manifest-path contrib/mir/Cargo.toml + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -2039,6 +2108,8 @@ mir_tzt: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo run --manifest-path contrib/mir/Cargo.toml --bin tzt_runner tzt_reference_test_suite/*.tzt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -2081,6 +2152,7 @@ test_sdk_rust: - make -C sdk/rust check - make -C sdk/rust test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2128,6 +2200,7 @@ test_sdk_bindings: - make -C contrib/sdk-bindings check - make -C contrib/sdk-bindings test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2176,6 +2249,7 @@ test_kernels: - make -f kernels.mk check - make -f kernels.mk test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2226,6 +2300,7 @@ test_etherlink_kernel: - make -f etherlink.mk check - make -f etherlink.mk test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2273,6 +2348,7 @@ test_etherlink_firehose: script: - make -C etherlink/firehose check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2314,6 +2390,7 @@ audit_riscv_deps: script: - make -C src/riscv audit after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2362,6 +2439,7 @@ check_riscv_kernels: - make -C src/riscv CHECK_FLAGS= EXTRA_FLAGS='--no-default-features --features ci' check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2414,6 +2492,7 @@ test_evm_compatibility: - ./evm-evaluation-assessor --eth-tests ./ethereum_tests/ --resources ./etherlink/kernel_latest/evm_evaluation/resources/ -c after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2458,6 +2537,7 @@ ocaml-check: script: - dune build @check --stop-on-first-error after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - dune cache trim --size=3GB variables: @@ -2528,6 +2608,7 @@ oc.unit:non-proto-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2598,6 +2679,7 @@ oc.unit:etherlink-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2686,6 +2768,7 @@ oc.unit:other-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2774,6 +2857,7 @@ oc.unit:proto-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2857,6 +2941,7 @@ oc.unit:non-proto-arm64: script: - make $MAKE_TARGETS after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -2923,6 +3008,8 @@ oc.unit:webassembly-x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make test-webassembly + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.unit:protocol_compiles: image: ${ci_image_name}/build:${ci_image_tag} @@ -2982,6 +3069,7 @@ oc.unit:protocol_compiles: script: - dune build @runtest_compile_protocol after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -3013,6 +3101,8 @@ de.unit:x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' de.unit:arm64: image: ${ci_image_name}/test:${ci_image_tag} @@ -3039,6 +3129,8 @@ de.unit:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' resto.unit:x86_64: image: ${ci_image_name}/test:${ci_image_tag} @@ -3065,6 +3157,8 @@ resto.unit:x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' resto.unit:arm64: image: ${ci_image_name}/test:${ci_image_tag} @@ -3091,6 +3185,8 @@ resto.unit:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.install_opam_noble: image: ocaml/opam:ubuntu-24.04 @@ -3110,6 +3206,8 @@ oc.install_opam_noble: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-opam.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: OPAMJOBS: "4" @@ -3134,6 +3232,8 @@ oc.compile_sources_doc_bookworm: script: - ./docs/introduction/compile-sources.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_HOME: /home/opam/.cargo CARGO_NET_OFFLINE: "false" @@ -3209,6 +3309,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3304,6 +3406,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -3397,6 +3501,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -3490,6 +3596,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -3584,6 +3692,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -3673,6 +3783,8 @@ tezt:static-binaries: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3761,6 +3873,8 @@ tezt-riscv-slow-sequential: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3834,6 +3948,8 @@ oc.unified_coverage: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/report_coverage.sh || exit $? + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TEZOS_WITHOUT_OPAM: "true" BISECT_FILE: $CI_PROJECT_DIR/_coverage_output/ @@ -3876,6 +3992,8 @@ documentation:install_python_bookworm: script: - ./docs/developer/install-python-debian-ubuntu.sh ${CI_MERGE_REQUEST_SOURCE_PROJECT_PATH:-tezos/tezos} ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master} + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:odoc: image: ${ci_image_name}/test:${ci_image_tag} @@ -3934,6 +4052,7 @@ documentation:odoc: - opam install --yes odoc.2.4.4 - make -C docs odoc-lite after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -3994,6 +4113,8 @@ documentation:manuals: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j octez-gen + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -4055,6 +4176,7 @@ documentation:docgen: script: - make -C docs -j docexes-gen after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -4117,6 +4239,8 @@ documentation:build_all: script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -4174,6 +4298,8 @@ documentation:linkcheck: script: - make -C docs redirectcheck - make -C docs linkcheck + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker:amd64: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -4200,6 +4326,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4232,6 +4360,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4259,6 +4389,8 @@ oc.script.docker_verify_image_arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4283,6 +4415,8 @@ oc.script.docker_verify_image_amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_verify_signature.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -4326,6 +4460,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -4376,6 +4511,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -4412,6 +4548,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day diff --git a/.gitlab/ci/pipelines/non_release_tag.yml b/.gitlab/ci/pipelines/non_release_tag.yml index 1b358db726cc..f63b102448a0 100644 --- a/.gitlab/ci/pipelines/non_release_tag.yml +++ b/.gitlab/ci/pipelines/non_release_tag.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -42,6 +44,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -63,6 +67,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -92,6 +98,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -125,6 +133,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -172,6 +181,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -203,6 +213,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -228,6 +240,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -254,6 +268,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -277,6 +293,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -304,6 +322,8 @@ gitlab:publish: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ${CI_PROJECT_DIR}/scripts/ci/create_gitlab_package.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' id_tokens: GCP_ID_TOKEN: aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} @@ -336,6 +356,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -375,6 +397,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -411,6 +434,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -442,6 +467,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -464,6 +491,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -503,6 +532,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -544,6 +574,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -566,6 +598,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -595,6 +629,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -633,6 +669,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -679,6 +716,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -722,6 +760,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -744,6 +784,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -774,6 +816,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -813,6 +857,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -860,6 +905,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -904,6 +950,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -945,6 +993,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -990,6 +1039,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1021,6 +1071,8 @@ teztale.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 teztale.release_page: @@ -1044,6 +1096,8 @@ teztale.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: site-prod.octez.tezos.com/releases URL: octez.tezos.com @@ -1073,6 +1127,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -1096,6 +1152,8 @@ grafazos.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 grafazos.release_page: @@ -1117,6 +1175,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: site-prod.octez.tezos.com/releases URL: octez.tezos.com diff --git a/.gitlab/ci/pipelines/non_release_tag_test.yml b/.gitlab/ci/pipelines/non_release_tag_test.yml index 36e19836b6c5..be35f7269b00 100644 --- a/.gitlab/ci/pipelines/non_release_tag_test.yml +++ b/.gitlab/ci/pipelines/non_release_tag_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -42,6 +44,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -63,6 +67,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -92,6 +98,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -125,6 +133,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -172,6 +181,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -203,6 +213,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -228,6 +240,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -254,6 +268,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -277,6 +293,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -304,6 +322,8 @@ gitlab:publish: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ${CI_PROJECT_DIR}/scripts/ci/create_gitlab_package.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' id_tokens: GCP_ID_TOKEN: aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} @@ -336,6 +356,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -375,6 +397,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -411,6 +434,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -442,6 +467,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -464,6 +491,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -503,6 +532,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -544,6 +574,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -566,6 +598,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -595,6 +629,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -633,6 +669,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -679,6 +716,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -722,6 +760,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -744,6 +784,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -774,6 +816,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -813,6 +857,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -860,6 +905,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -904,6 +950,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -945,6 +993,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -990,6 +1039,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1021,6 +1071,8 @@ teztale.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 teztale.release_page: @@ -1044,6 +1096,8 @@ teztale.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 @@ -1074,6 +1128,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -1097,6 +1153,8 @@ grafazos.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 grafazos.release_page: @@ -1118,6 +1176,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 diff --git a/.gitlab/ci/pipelines/octez_beta_release_tag.yml b/.gitlab/ci/pipelines/octez_beta_release_tag.yml index 8f85be27b2f4..d396506648a5 100644 --- a/.gitlab/ci/pipelines/octez_beta_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_beta_release_tag.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -42,6 +44,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -63,6 +67,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -92,6 +98,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -125,6 +133,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -172,6 +181,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -203,6 +213,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -228,6 +240,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -254,6 +268,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -277,6 +293,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -306,6 +324,8 @@ gitlab:release: script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' id_tokens: GCP_ID_TOKEN: aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} @@ -338,6 +358,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -377,6 +399,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -413,6 +436,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -444,6 +469,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -466,6 +493,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -505,6 +534,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -546,6 +576,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -568,6 +600,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -597,6 +631,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -635,6 +671,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -681,6 +718,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -724,6 +762,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -746,6 +786,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -776,6 +818,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -815,6 +859,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -862,6 +907,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -906,6 +952,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -947,6 +995,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -992,6 +1041,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1023,6 +1073,8 @@ teztale.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 teztale.release_page: @@ -1046,6 +1098,8 @@ teztale.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: site-prod.octez.tezos.com/releases URL: octez.tezos.com @@ -1075,6 +1129,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -1098,6 +1154,8 @@ grafazos.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 grafazos.release_page: @@ -1119,6 +1177,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: site-prod.octez.tezos.com/releases URL: octez.tezos.com diff --git a/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml b/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml index e4fc3012b6a9..5c33a869baed 100644 --- a/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_evm_node_release_tag.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-arm64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -101,6 +107,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -147,6 +154,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -177,6 +185,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -200,6 +210,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -225,6 +237,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -250,6 +264,8 @@ gitlab:octez-evm-node-release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_gitlab_octez_evm_node_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 docker:promote_to_latest: @@ -267,6 +283,8 @@ docker:promote_to_latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh octez-evm-node-latest ./scripts/ci/octez-evm-node-release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/octez_latest_release.yml b/.gitlab/ci/pipelines/octez_latest_release.yml index 69ad1e0ae3ce..3a568867c07b 100644 --- a/.gitlab/ci/pipelines/octez_latest_release.yml +++ b/.gitlab/ci/pipelines/octez_latest_release.yml @@ -20,6 +20,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' docker:promote_to_latest: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -34,6 +36,8 @@ docker:promote_to_latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/octez_latest_release_test.yml b/.gitlab/ci/pipelines/octez_latest_release_test.yml index aff0f761caf7..478bf0269e87 100644 --- a/.gitlab/ci/pipelines/octez_latest_release_test.yml +++ b/.gitlab/ci/pipelines/octez_latest_release_test.yml @@ -20,6 +20,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' docker:promote_to_latest: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -34,6 +36,8 @@ docker:promote_to_latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/octez_major_release_tag_test.yml b/.gitlab/ci/pipelines/octez_major_release_tag_test.yml index 1de9078d6d8b..01c620d2aeef 100644 --- a/.gitlab/ci/pipelines/octez_major_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_major_release_tag_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -42,6 +44,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -63,6 +67,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -92,6 +98,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -125,6 +133,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -172,6 +181,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -203,6 +213,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -228,6 +240,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -254,6 +268,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -277,6 +293,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -306,6 +324,8 @@ gitlab:release: script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' id_tokens: GCP_ID_TOKEN: aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} @@ -338,6 +358,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -377,6 +399,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -413,6 +436,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -444,6 +469,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -466,6 +493,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -505,6 +534,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -546,6 +576,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -568,6 +600,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -597,6 +631,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -635,6 +671,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -681,6 +718,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -724,6 +762,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -746,6 +786,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -776,6 +818,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -815,6 +859,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -862,6 +907,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -906,6 +952,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -947,6 +995,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -992,6 +1041,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1023,6 +1073,8 @@ teztale.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 teztale.release_page: @@ -1046,6 +1098,8 @@ teztale.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 @@ -1076,6 +1130,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -1099,6 +1155,8 @@ grafazos.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 grafazos.release_page: @@ -1120,6 +1178,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 @@ -1147,6 +1207,8 @@ docker:promote_to_latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -1168,6 +1230,8 @@ opam:release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/opam-release.sh --dry-run + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 publish:release-page: @@ -1195,6 +1259,7 @@ publish:release-page: script: - ./scripts/releases/publish_release_page.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - cp /tmp/release_page*/index.md ./index.md variables: S3_BUCKET: release-page-test.nomadic-labs.com diff --git a/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml b/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml index a46e302ab06f..7fef4cc46b6a 100644 --- a/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_minor_release_tag_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -103,6 +109,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -150,6 +157,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -181,6 +189,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -206,6 +216,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -232,6 +244,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -255,6 +269,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -284,6 +300,8 @@ gitlab:release: script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' id_tokens: GCP_ID_TOKEN: aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} @@ -316,6 +334,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -355,6 +375,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -391,6 +412,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -422,6 +445,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -444,6 +469,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -483,6 +510,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -524,6 +552,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -546,6 +576,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -575,6 +607,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -613,6 +647,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -659,6 +694,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -702,6 +738,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -724,6 +762,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -754,6 +794,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -793,6 +835,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -840,6 +883,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -884,6 +928,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -908,6 +954,8 @@ docker:promote_to_latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_promote_to_latest.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -929,6 +977,8 @@ opam:release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/opam-release.sh --dry-run + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 publish:release-page: @@ -956,6 +1006,7 @@ publish:release-page: script: - ./scripts/releases/publish_release_page.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - cp /tmp/release_page*/index.md ./index.md variables: S3_BUCKET: release-page-test.nomadic-labs.com diff --git a/.gitlab/ci/pipelines/octez_monitoring.yml b/.gitlab/ci/pipelines/octez_monitoring.yml index e4ac1267e333..c4184e94d4aa 100644 --- a/.gitlab/ci/pipelines/octez_monitoring.yml +++ b/.gitlab/ci/pipelines/octez_monitoring.yml @@ -23,6 +23,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -45,6 +47,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -74,6 +78,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' build-layer1-profiling: image: ${ci_image_name}/build:${ci_image_tag} @@ -107,6 +113,7 @@ build-layer1-profiling: - mkdir -p octez-binaries/x86_64/ - mv octez-node octez-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -145,6 +152,7 @@ teztale.build:static-arm64: script: - make teztale after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ - ./scripts/ci/sccache-stop.sh @@ -187,6 +195,7 @@ teztale.build:static-x86_64: script: - make teztale after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ - ./scripts/ci/sccache-stop.sh diff --git a/.gitlab/ci/pipelines/octez_release_tag.yml b/.gitlab/ci/pipelines/octez_release_tag.yml index ecf2b387e601..4c6c0feefe79 100644 --- a/.gitlab/ci/pipelines/octez_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_release_tag.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -103,6 +109,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -150,6 +157,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -181,6 +189,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -206,6 +216,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -232,6 +244,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -255,6 +269,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -284,6 +300,8 @@ gitlab:release: script: - ./scripts/ci/restrict_export_to_octez_source.sh - ./scripts/ci/gitlab-release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' id_tokens: GCP_ID_TOKEN: aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} @@ -316,6 +334,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -355,6 +375,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -391,6 +412,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -422,6 +445,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -444,6 +469,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -483,6 +510,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -524,6 +552,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -546,6 +576,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -575,6 +607,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -613,6 +647,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -659,6 +694,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -702,6 +738,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -724,6 +762,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -754,6 +794,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -793,6 +835,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -840,6 +883,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -884,6 +928,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -907,6 +953,8 @@ opam:release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/opam-release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 publish:release-page: @@ -934,6 +982,7 @@ publish:release-page: script: - ./scripts/releases/publish_release_page.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - cp /tmp/release_page*/index.md ./index.md variables: S3_BUCKET: site-prod.octez.tezos.com diff --git a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml index 87a43d97e7be..460c0cf05a0a 100644 --- a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' rollup-node.build:static-arm64-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -101,6 +107,7 @@ rollup-node.build:static-arm64-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -147,6 +154,7 @@ rollup-node.build:static-x86_64-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -177,6 +185,8 @@ rollup-node.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -200,6 +210,8 @@ rollup-node.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -225,6 +237,8 @@ rollup-node.docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -250,4 +264,6 @@ rollup-node.gitlab:octez-smart-rollup-node-release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/rollup_node/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 diff --git a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml index 9c7244117e35..dc36075d04fb 100644 --- a/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_smart_rollup_node_release_tag_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' rollup-node.build:static-arm64-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -101,6 +107,7 @@ rollup-node.build:static-arm64-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -147,6 +154,7 @@ rollup-node.build:static-x86_64-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -177,6 +185,8 @@ rollup-node.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -200,6 +210,8 @@ rollup-node.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -225,6 +237,8 @@ rollup-node.docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -250,4 +264,6 @@ rollup-node.gitlab:octez-smart-rollup-node-release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/rollup_node/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 diff --git a/.gitlab/ci/pipelines/publish_release_page.yml b/.gitlab/ci/pipelines/publish_release_page.yml index 1be71652966b..220c1f993225 100644 --- a/.gitlab/ci/pipelines/publish_release_page.yml +++ b/.gitlab/ci/pipelines/publish_release_page.yml @@ -18,6 +18,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -43,6 +45,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' publish:release-page: image: ${ci_image_name}/build:${ci_image_tag} @@ -63,6 +67,7 @@ publish:release-page: script: - ./scripts/releases/publish_release_page.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - cp /tmp/release_page*/index.md ./index.md variables: S3_BUCKET: site-prod.octez.tezos.com diff --git a/.gitlab/ci/pipelines/publish_test_release_page.yml b/.gitlab/ci/pipelines/publish_test_release_page.yml index c1aafeabd98c..8a6ac80ae333 100644 --- a/.gitlab/ci/pipelines/publish_test_release_page.yml +++ b/.gitlab/ci/pipelines/publish_test_release_page.yml @@ -18,6 +18,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -43,6 +45,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' publish:release-page: image: ${ci_image_name}/build:${ci_image_tag} @@ -63,6 +67,7 @@ publish:release-page: script: - ./scripts/releases/publish_release_page.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - cp /tmp/release_page*/index.md ./index.md variables: S3_BUCKET: release-page-test.nomadic-labs.com diff --git a/.gitlab/ci/pipelines/rpm_repository_full.yml b/.gitlab/ci/pipelines/rpm_repository_full.yml index 321e6f908c07..964be10cfce6 100644 --- a/.gitlab/ci/pipelines/rpm_repository_full.yml +++ b/.gitlab/ci/pipelines/rpm_repository_full.yml @@ -28,6 +28,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker-build-rockylinux-dependencies: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -42,6 +44,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -71,6 +75,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -109,6 +115,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -155,6 +162,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -198,6 +206,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -220,6 +230,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -250,6 +262,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -289,6 +303,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -336,6 +351,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -380,6 +396,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -403,6 +421,8 @@ oc.install_bin_fedora_39.doc: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh fedora 39 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_fedora_39_systemd: @@ -423,6 +443,8 @@ oc.install_bin_fedora_39_systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -447,6 +469,8 @@ oc.install_bin_rockylinux_9.3.doc: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_rockylinux_93_systemd: @@ -467,6 +491,8 @@ oc.install_bin_rockylinux_93_systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/rpm_repository_partial.yml b/.gitlab/ci/pipelines/rpm_repository_partial.yml index d3bb83808458..47420847ecc4 100644 --- a/.gitlab/ci/pipelines/rpm_repository_partial.yml +++ b/.gitlab/ci/pipelines/rpm_repository_partial.yml @@ -28,6 +28,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker-build-rockylinux-dependencies: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -42,6 +44,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -107,6 +113,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -152,6 +159,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -194,6 +202,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -217,6 +227,8 @@ oc.install_bin_rockylinux_9.3.doc: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_rockylinux_93_systemd: @@ -237,6 +249,8 @@ oc.install_bin_rockylinux_93_systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml b/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml index d3bb83808458..47420847ecc4 100644 --- a/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml +++ b/.gitlab/ci/pipelines/rpm_repository_partial_auto.yml @@ -28,6 +28,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker-build-rockylinux-dependencies: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -42,6 +44,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -107,6 +113,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -152,6 +159,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -194,6 +202,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -217,6 +227,8 @@ oc.install_bin_rockylinux_9.3.doc: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-bin-rpm.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: {} oc.install_bin_rockylinux_93_systemd: @@ -237,6 +249,8 @@ oc.install_bin_rockylinux_93_systemd: script: - ./scripts/ci/systemd-packages-test.sh scripts/packaging/tests/rpm/rpm-install.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml b/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml index 6b95d306ea24..9caf9abbf7d3 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_evm_node_releases.yml @@ -21,6 +21,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -46,6 +48,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' container_scanning: stage: test @@ -58,6 +62,8 @@ container_scanning: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: GIT_STRATEGY: fetch CS_IMAGE: tezos/tezos:octez-evm-node-latest @@ -86,3 +92,5 @@ container_scanning_slack_notification: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:octez-evm-node-latest + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_master.yml b/.gitlab/ci/pipelines/schedule_container_scanning_master.yml index cc9c6174d562..3608c0c1c0ec 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_master.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_master.yml @@ -21,6 +21,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -46,6 +48,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' container_scanning: stage: test @@ -58,6 +62,8 @@ container_scanning: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: GIT_STRATEGY: fetch CS_IMAGE: tezos/tezos:master @@ -86,3 +92,5 @@ container_scanning_slack_notification: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:master + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml b/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml index 66bcc7fa4d6c..4126644ed742 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_octez_rc.yml @@ -21,6 +21,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -46,6 +48,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' container_scanning: stage: test @@ -58,6 +62,8 @@ container_scanning: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: GIT_STRATEGY: fetch CS_IMAGE: tezos/tezos:octez-v22.0-rc3 @@ -86,3 +92,5 @@ container_scanning_slack_notification: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:octez-v22.0-rc3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml b/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml index f9c344184f2c..437bf1941459 100644 --- a/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml +++ b/.gitlab/ci/pipelines/schedule_container_scanning_octez_releases.yml @@ -21,6 +21,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -46,6 +48,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' container_scanning: stage: test @@ -58,6 +62,8 @@ container_scanning: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - gtcs scan + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: GIT_STRATEGY: fetch CS_IMAGE: tezos/tezos:latest @@ -86,3 +92,5 @@ container_scanning_slack_notification: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_slack_notification.sh tezos/tezos:latest + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml b/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml index 817ad73374f2..94a20f49c6d1 100644 --- a/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml +++ b/.gitlab/ci/pipelines/schedule_docker_build_pipeline.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -62,6 +66,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -91,6 +97,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.docker:amd64: image: ${GCP_REGISTRY}/tezos/docker-images/ci-docker:v1.13.0 @@ -109,6 +117,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -134,6 +144,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -159,6 +171,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: diff --git a/.gitlab/ci/pipelines/schedule_documentation.yml b/.gitlab/ci/pipelines/schedule_documentation.yml index bc76c9e76b58..ebcd200a4b42 100644 --- a/.gitlab/ci/pipelines/schedule_documentation.yml +++ b/.gitlab/ci/pipelines/schedule_documentation.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -45,6 +47,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -79,6 +83,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -126,6 +131,7 @@ documentation:odoc: - opam install --yes odoc.2.4.4 - make -C docs odoc after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -157,6 +163,8 @@ documentation:manuals: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/documentation:manuals_static.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -194,6 +202,7 @@ documentation:docgen: script: - make -C docs -j docexes-gen after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -233,6 +242,8 @@ documentation:build_all: script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -273,6 +284,7 @@ documentation:publish: script: - ./scripts/ci/doc_publish.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" diff --git a/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml b/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml index 5aa700698232..c3437cb7822b 100644 --- a/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_baker_remote_mode_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -89,6 +93,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -149,6 +155,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -207,6 +215,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -268,6 +278,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -329,6 +341,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -381,6 +395,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -437,6 +452,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -489,6 +505,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -528,6 +545,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -553,3 +571,5 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml b/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml index 5aa700698232..c3437cb7822b 100644 --- a/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml +++ b/.gitlab/ci/pipelines/schedule_extended_dal_use_baker.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -89,6 +93,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -149,6 +155,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -207,6 +215,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -268,6 +278,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -329,6 +341,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -381,6 +395,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -437,6 +452,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -489,6 +505,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -528,6 +545,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -553,3 +571,5 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml b/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml index 5aa700698232..c3437cb7822b 100644 --- a/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_rpc_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -89,6 +93,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -149,6 +155,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -207,6 +215,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -268,6 +278,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -329,6 +341,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -381,6 +395,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -437,6 +452,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -489,6 +505,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -528,6 +545,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -553,3 +571,5 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_extended_test.yml b/.gitlab/ci/pipelines/schedule_extended_test.yml index 3c516acf1260..244200074de8 100644 --- a/.gitlab/ci/pipelines/schedule_extended_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_test.yml @@ -21,6 +21,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -43,6 +45,8 @@ oc.docker:client-libs-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_client_libs_dependencies_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -64,6 +68,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -86,6 +92,8 @@ oc.docker:rust-sdk-bindings:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_sdk_bindings_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -107,6 +115,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -137,6 +147,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' sanity_ci: image: ${ci_image_name_protected}/build:amd64--master @@ -155,6 +167,8 @@ sanity_ci: script: - make --silent -C manifest check - make --silent -C ci check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' docker:hadolint: image: hadolint/hadolint:2.12.0-alpine @@ -173,6 +187,8 @@ docker:hadolint: script: - hadolint build.Dockerfile - hadolint Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.ocaml_fmt: image: ${ci_image_name_protected}/build:amd64--master @@ -200,6 +216,7 @@ oc.ocaml_fmt: - scripts/lint.sh --check-ocamlformat - dune build --profile=dev @fmt after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - dune cache trim --size=5GB variables: @@ -225,6 +242,8 @@ oc.semgrep: - echo "OCaml code linting. For information on how to reproduce locally, check out scripts/semgrep/README.md" - sh ./scripts/semgrep/lint-all-ocaml-sources.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.misc_checks: image: ${ci_image_name_protected}/test:amd64--master @@ -250,6 +269,8 @@ oc.misc_checks: - etherlink/scripts/check_evm_store_migrations.sh check - ./scripts/check_rollup_node_sql_migrations.sh check - ./src/lib_dal_node/scripts/check_dal_store_migrations.sh check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' check_jsonnet: image: ${jsonnet_image_name_protected}:master @@ -271,6 +292,8 @@ check_jsonnet: script: - scripts/lint.sh --check-jsonnet-format - scripts/lint.sh --check-jsonnet-lint + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' check_rust_fmt: image: ${rust_toolchain_image_name_protected}:master @@ -288,6 +311,8 @@ check_rust_fmt: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/check-format-rust.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:rst-check: image: ${ci_image_name_protected}/test:amd64--master @@ -306,6 +331,8 @@ documentation:rst-check: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make --silent -C docs sphinx-check + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build_arm64-released: image: ${ci_image_name}/build:${ci_image_tag} @@ -341,6 +368,7 @@ oc.build_arm64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -398,6 +426,7 @@ oc.build_arm64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -456,6 +485,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -503,6 +533,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -551,6 +582,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -613,6 +645,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -674,6 +707,7 @@ wasm-runtime-check: script: - etherlink/lib_wasm_runtime/lint.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -708,6 +742,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -754,6 +789,7 @@ oc.build_dsn_node: script: - make -f etherlink.mk octez-dsn-node after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -790,6 +826,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -836,6 +873,7 @@ build_octez_source: - eval $(opam env) - make octez after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -876,6 +914,7 @@ etherlink.build:static-x86_64: script: - make evm-node-static after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -925,6 +964,7 @@ etherlink.build:static-arm64: script: - make evm-node-static after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -975,6 +1015,7 @@ build-layer1-profiling: - mkdir -p octez-binaries/x86_64/ - mv octez-node octez-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1007,6 +1048,8 @@ opam:prepare: - ./scripts/opam-prepare-repo.sh dev ./ ./_opam-repo-for-release - git -C _opam-repo-for-release add packages - git -C _opam-repo-for-release commit -m "tezos packages" + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: paths: - _opam-repo-for-release/ @@ -1047,6 +1090,7 @@ opam:all_6: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1117,6 +1161,7 @@ opam:exec_6: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1175,6 +1220,7 @@ opam:all_2: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1247,6 +1293,7 @@ opam:all_1: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1308,6 +1355,7 @@ opam:all_3: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1380,6 +1428,7 @@ opam:exec_4: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1437,6 +1486,7 @@ opam:all_4: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1508,6 +1558,7 @@ opam:exec_1: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1575,6 +1626,7 @@ opam:all_5: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1647,6 +1699,7 @@ opam:all_7: - opam install --yes ${package}.dev - opam reinstall --yes --with-test ${package}.dev after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - OPAM_LOGS=opam_logs ./scripts/ci/opam_handle_output.sh - ./scripts/ci/sccache-stop.sh @@ -1753,6 +1806,7 @@ kaitai_checks: and Kaitai files seem to be out of sync. You might need to run `make check-kaitai-struct-files` and commit the resulting diff.' ; false) after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1787,6 +1841,8 @@ kaitai_e2e_checks: script: - ./client-libs/kaitai-struct-files/scripts/kaitai_e2e.sh client-libs/kaitai-struct-files/files 2>/dev/null + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.check_lift_limits_patch: image: ${ci_image_name}/build:${ci_image_tag} @@ -1820,6 +1876,7 @@ oc.check_lift_limits_patch: - git apply src/bin_tps_evaluation/lift_limits.patch - dune build @src/proto_alpha/lib_protocol/check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1845,6 +1902,8 @@ oc.python_check: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/lint_misc_python_check.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.integration:compiler-rejections: image: ${ci_image_name}/build:${ci_image_tag} @@ -1879,6 +1938,7 @@ oc.integration:compiler-rejections: script: - dune build @runtest_rejections after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -1903,6 +1963,8 @@ oc.script:test-gen-genesis: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune build gen_genesis.exe + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.script:snapshot_alpha_and_link: image: ${ci_image_name}/build:${ci_image_tag} @@ -1938,6 +2000,7 @@ oc.script:snapshot_alpha_and_link: script: - ./scripts/ci/script:snapshot_alpha_and_link.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -1972,6 +2035,8 @@ oc.script:test_octez_release_versions: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/test_octez_release_version.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.script:b58_prefix: image: ${ci_image_name}/test:${ci_image_tag} @@ -1993,6 +2058,8 @@ oc.script:b58_prefix: - poetry run pylint scripts/b58_prefix/b58_prefix.py --disable=missing-docstring --disable=invalid-name - poetry run pytest scripts/b58_prefix/test_b58_prefix.py + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.test-liquidity-baking-scripts: image: ${ci_image_name}/build:${ci_image_tag} @@ -2018,6 +2085,8 @@ oc.test-liquidity-baking-scripts: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/test_liquidity_baking_scripts.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc:scripts:release_script_values: image: ${ci_image_name}/prebuild:${ci_image_tag} @@ -2033,6 +2102,8 @@ oc:scripts:release_script_values: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - scripts/ci/test_release_values.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' mir_unit: image: ${ci_image_name}/test:${ci_image_tag} @@ -2055,6 +2126,8 @@ mir_unit: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo test --manifest-path contrib/mir/Cargo.toml + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -2079,6 +2152,8 @@ mir_tzt: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - cargo run --manifest-path contrib/mir/Cargo.toml --bin tzt_runner tzt_reference_test_suite/*.tzt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_NET_OFFLINE: "false" @@ -2110,6 +2185,7 @@ test_sdk_rust: - make -C sdk/rust check - make -C sdk/rust test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2145,6 +2221,7 @@ test_sdk_bindings: - make -C contrib/sdk-bindings check - make -C contrib/sdk-bindings test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2182,6 +2259,7 @@ test_kernels: - make -f kernels.mk check - make -f kernels.mk test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2221,6 +2299,7 @@ test_etherlink_kernel: - make -f etherlink.mk check - make -f etherlink.mk test after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2259,6 +2338,7 @@ test_etherlink_firehose: script: - make -C etherlink/firehose check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2294,6 +2374,7 @@ audit_riscv_deps: script: - make -C src/riscv audit after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2332,6 +2413,7 @@ check_riscv_kernels: - make -C src/riscv CHECK_FLAGS= EXTRA_FLAGS='--no-default-features --features ci' check after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2374,6 +2456,7 @@ test_evm_compatibility: - ./evm-evaluation-assessor --eth-tests ./ethereum_tests/ --resources ./etherlink/kernel_latest/evm_evaluation/resources/ -c after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -2407,6 +2490,7 @@ ocaml-check: script: - dune build @check --stop-on-first-error after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - eval $(opam env) - dune cache trim --size=3GB variables: @@ -2452,6 +2536,7 @@ oc.unit:non-proto-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2515,6 +2600,7 @@ oc.unit:etherlink-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2578,6 +2664,7 @@ oc.unit:other-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2641,6 +2728,7 @@ oc.unit:proto-x86_64: - make $MAKE_TARGETS - ./scripts/ci/merge_coverage.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh - eval $(opam env) - dune cache trim --size=5GB @@ -2699,6 +2787,7 @@ oc.unit:non-proto-arm64: script: - make $MAKE_TARGETS after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -2740,6 +2829,8 @@ oc.unit:webassembly-x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make test-webassembly + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.unit:protocol_compiles: image: ${ci_image_name}/build:${ci_image_tag} @@ -2774,6 +2865,7 @@ oc.unit:protocol_compiles: script: - dune build @runtest_compile_protocol after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -2801,6 +2893,8 @@ de.unit:x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' de.unit:arm64: image: ${ci_image_name}/test:${ci_image_tag} @@ -2823,6 +2917,8 @@ de.unit:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest data-encoding + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' resto.unit:x86_64: image: ${ci_image_name}/test:${ci_image_tag} @@ -2845,6 +2941,8 @@ resto.unit:x86_64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' resto.unit:arm64: image: ${ci_image_name}/test:${ci_image_tag} @@ -2867,6 +2965,8 @@ resto.unit:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - dune runtest resto + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.install_opam_noble: image: ocaml/opam:ubuntu-24.04 @@ -2884,6 +2984,8 @@ oc.install_opam_noble: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/install-opam.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: OPAMJOBS: "4" @@ -2902,6 +3004,8 @@ oc.compile_sources_doc_bookworm: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/compile-sources.sh tezos/tezos latest-release + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_HOME: /home/opam/.cargo CARGO_NET_OFFLINE: "false" @@ -2921,6 +3025,8 @@ oc.compile_sources_doc_oracular: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/introduction/compile-sources.sh tezos/tezos latest-release + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CARGO_HOME: /home/opam/.cargo CARGO_NET_OFFLINE: "false" @@ -2969,6 +3075,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3037,6 +3145,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -3103,6 +3213,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -3168,6 +3280,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -3234,6 +3348,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' - ./scripts/ci/merge_coverage.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -3296,6 +3412,8 @@ tezt:static-binaries: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3359,6 +3477,8 @@ tezt-riscv-slow-sequential: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -3394,6 +3514,8 @@ documentation:install_python_noble: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh tezos/tezos master + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:install_python_jammy: image: public.ecr.aws/lts/ubuntu:22.04_stable @@ -3410,6 +3532,8 @@ documentation:install_python_jammy: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh tezos/tezos master + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:install_python_bookworm: image: debian:bookworm @@ -3426,6 +3550,8 @@ documentation:install_python_bookworm: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./docs/developer/install-python-debian-ubuntu.sh tezos/tezos master + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' documentation:odoc: image: ${ci_image_name}/test:${ci_image_tag} @@ -3460,6 +3586,7 @@ documentation:odoc: - opam install --yes odoc.2.4.4 - make -C docs odoc-lite after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -3499,6 +3626,8 @@ documentation:manuals: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - make -C docs -j octez-gen + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -3536,6 +3665,7 @@ documentation:docgen: script: - make -C docs -j docexes-gen after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CARGO_NET_OFFLINE: "false" @@ -3577,6 +3707,8 @@ documentation:build_all: script: - make -C docs -j sphinx - make -C docs -j _build/octezdoc.txt + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: expire_in: 1 week paths: @@ -3612,3 +3744,5 @@ documentation:linkcheck: script: - make -C docs redirectcheck - make -C docs linkcheck + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_extended_validation_test.yml b/.gitlab/ci/pipelines/schedule_extended_validation_test.yml index 5aa700698232..c3437cb7822b 100644 --- a/.gitlab/ci/pipelines/schedule_extended_validation_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_validation_test.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:rust-toolchain:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_rust_toolchain_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -89,6 +93,8 @@ tezt: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: "" @@ -149,6 +155,8 @@ tezt-time-sensitive: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -time_sensitive @@ -207,6 +215,8 @@ tezt-slow: --junit-tag 'dd_tags[tezt-tag.extra]=extra' --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -slow @@ -268,6 +278,8 @@ tezt-extra: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -extra @@ -329,6 +341,8 @@ tezt-flaky: --junit-tag 'dd_tags[tezt-tag.infrastructure]=infrastructure' --junit-tag 'dd_tags[tezt-tag.layer1]=layer1' --junit-tag 'dd_tags[tezt-tag.tezos2]=tezos2' --junit-tag 'dd_tags[tezt-tag.etherlink]=etherlink' --junit-tag 'dd_tags[tezt-tag.memory_hungry]=memory_hungry' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: JUNIT: tezt-junit.xml TEZT_VARIANT: -flaky @@ -381,6 +395,7 @@ oc.build_x86_64-released: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -437,6 +452,7 @@ oc.build_x86_64-exp-dev-extra: script: - ./scripts/ci/build_full_unreleased.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -489,6 +505,7 @@ oc.build_kernels: - make -f kernels.mk build - make -f etherlink.mk evm_kernel.wasm after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: CC: clang @@ -528,6 +545,7 @@ oc.tezt:fetch-records: - dune exec scripts/ci/update_records/update.exe -- --log-file tezt-fetch-records.log --from last-successful-schedule-extended-test --info after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/filter_corrupted_records.sh artifacts: expire_in: 4 hours @@ -553,3 +571,5 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_master_test_release.yml b/.gitlab/ci/pipelines/schedule_master_test_release.yml index ac36e901c87c..af4fe00a64a5 100644 --- a/.gitlab/ci/pipelines/schedule_master_test_release.yml +++ b/.gitlab/ci/pipelines/schedule_master_test_release.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -42,6 +44,8 @@ oc.docker:jsonnet:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_jsonnet_build.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -63,6 +67,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -92,6 +98,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' oc.build:static-x86_64-linux-binaries: image: ${ci_image_name}/build:${ci_image_tag} @@ -125,6 +133,7 @@ oc.build:static-x86_64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: x86_64 @@ -172,6 +181,7 @@ oc.build:static-arm64-linux-binaries: script: - ./scripts/ci/build_static_binaries.sh after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: ARCH: arm64 @@ -203,6 +213,8 @@ oc.docker:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -228,6 +240,8 @@ oc.docker:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -254,6 +268,8 @@ oc.install-release-homebrew: - ./scripts/packaging/homebrew_install.sh - eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - ./scripts/packaging/homebrew_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: build-$CI_COMMIT_REF_SLUG expire_in: 1 day @@ -277,6 +293,8 @@ docker:merge_manifests: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/docker_merge_manifests.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -305,6 +323,8 @@ gitlab:publish: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ${CI_PROJECT_DIR}/scripts/ci/create_gitlab_package.sh --dry-run + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: CI_COMMIT_TAG: octez-v0.0 id_tokens: @@ -339,6 +359,8 @@ oc.docker-build-debian-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -378,6 +400,7 @@ oc.build-debian: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -414,6 +437,8 @@ oc.build-data_packages: script: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh zcash + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: FLAVOUR: build DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE @@ -445,6 +470,8 @@ apt_repo_debian: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh debian bookworm + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -467,6 +494,8 @@ oc.docker-build-ubuntu-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/debian-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -506,6 +535,7 @@ oc.build-ubuntu: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-debian-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -547,6 +577,8 @@ apt_repo_ubuntu: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -569,6 +601,8 @@ oc.docker-build-rockylinux-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -598,6 +632,8 @@ oc.docker-systemd-tests-rpm-rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -636,6 +672,7 @@ oc.build-rockylinux: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -682,6 +719,7 @@ oc.build-rockylinux-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -725,6 +763,8 @@ rpm_repo_rockylinux: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh rockylinux 9.3 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -747,6 +787,8 @@ oc.docker-build-fedora-dependencies: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-deps-build.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -777,6 +819,8 @@ oc.docker-systemd-tests-rpm-fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/build-packages-dependencies.sh images/packages/rpm-systemd-tests.Dockerfile + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -816,6 +860,7 @@ oc.build-fedora: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh binaries after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -863,6 +908,7 @@ oc.build-fedora-data: - export CARGO_NET_OFFLINE=false - ./scripts/ci/build-rpm-packages.sh zcash after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: FLAVOUR: build @@ -907,6 +953,8 @@ rpm_repo_fedora: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./scripts/ci/create_rpm_repo.sh fedora 39 42 + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: ARCHITECTURES: amd64 arm64 GNUPGHOME: $CI_PROJECT_DIR/.gnupg @@ -948,6 +996,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -993,6 +1042,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -1027,6 +1077,8 @@ teztale.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 @@ -1057,6 +1109,8 @@ grafazos.build: - cd grafazos/ - jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@1ce5aec - make + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: name: grafazos-dashboards expire_in: 1 day @@ -1083,6 +1137,8 @@ grafazos.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./grafazos/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 diff --git a/.gitlab/ci/pipelines/schedule_security_scans.yml b/.gitlab/ci/pipelines/schedule_security_scans.yml index 0720a0948409..ef83e7735020 100644 --- a/.gitlab/ci/pipelines/schedule_security_scans.yml +++ b/.gitlab/ci/pipelines/schedule_security_scans.yml @@ -18,6 +18,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -43,6 +45,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' container_scanning_latest: image: aquasec/trivy:latest @@ -62,6 +66,8 @@ container_scanning_latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_generate_reports.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TRIVY_NO_PROGRESS: "true" TRIVY_CACHE_DIR: .trivycache/ @@ -89,6 +95,8 @@ container_scanning_octez-evm-node-latest: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_generate_reports.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TRIVY_NO_PROGRESS: "true" TRIVY_CACHE_DIR: .trivycache/ @@ -116,6 +124,8 @@ container_scanning_master: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - . ./scripts/ci/container_scanning_generate_reports.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: TRIVY_NO_PROGRESS: "true" TRIVY_CACHE_DIR: .trivycache/ @@ -149,6 +159,8 @@ container_scanning_merge_reports: remediations: map(.remediations[])}'' gl-container-scanning-report-latest.json gl-container-scanning-report-octez-evm-node-latest.json gl-container-scanning-report-master.json > gl-container-scanning-report.json' + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' artifacts: reports: container_scanning: gl-container-scanning-report.json diff --git a/.gitlab/ci/pipelines/teztale.daily.yml b/.gitlab/ci/pipelines/teztale.daily.yml index b7fad3307df4..bae9f99b1174 100644 --- a/.gitlab/ci/pipelines/teztale.daily.yml +++ b/.gitlab/ci/pipelines/teztale.daily.yml @@ -18,6 +18,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -40,6 +42,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -69,6 +73,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' teztale.build-arm64: image: ${ci_image_name}/build:${ci_image_tag} @@ -102,6 +108,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -147,6 +154,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static diff --git a/.gitlab/ci/pipelines/teztale.test_release.yml b/.gitlab/ci/pipelines/teztale.test_release.yml index bcaa6d6792a3..7494894dc31d 100644 --- a/.gitlab/ci/pipelines/teztale.test_release.yml +++ b/.gitlab/ci/pipelines/teztale.test_release.yml @@ -19,6 +19,8 @@ oc.docker:ci:amd64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -41,6 +43,8 @@ oc.docker:ci:arm64: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./images/ci_create_ci_images.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' services: - docker:${DOCKER_VERSION}-dind variables: @@ -70,6 +74,8 @@ datadog_pipeline_trace: - CI_MERGE_REQUEST_IID=${CI_MERGE_REQUEST_IID:-none} - DATADOG_SITE=datadoghq.eu datadog-ci tag --level pipeline --tags pipeline_type:$PIPELINE_TYPE --tags mr_number:$CI_MERGE_REQUEST_IID + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' teztale.build-arm64: image: ${ci_image_name}/build:${ci_image_tag} @@ -103,6 +109,7 @@ teztale.build-arm64: - mkdir -p ./teztale-binaries/arm64 - mv octez-teztale-* ./teztale-binaries/arm64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -148,6 +155,7 @@ teztale.build-x86_64: - mkdir -p ./teztale-binaries/x86_64 - mv octez-teztale-* ./teztale-binaries/x86_64/ after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' - ./scripts/ci/sccache-stop.sh variables: PROFILE: static @@ -179,6 +187,8 @@ teztale.gitlab_release: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/create_gitlab_release.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' retry: 0 teztale.release_page: @@ -202,6 +212,8 @@ teztale.release_page: - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - ./teztale/scripts/releases/publish_release_page.sh + after_script: + - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' variables: S3_BUCKET: release-page-test.nomadic-labs.com DISTRIBUTION_ID: E19JF46UG3Z747 diff --git a/ci/lib_tezos_ci/tezos_ci.ml b/ci/lib_tezos_ci/tezos_ci.ml index 61db62b51aa8..9bd6590dd077 100644 --- a/ci/lib_tezos_ci/tezos_ci.ml +++ b/ci/lib_tezos_ci/tezos_ci.ml @@ -775,8 +775,8 @@ let enc_git_strategy = function | Clone -> "clone" | No_strategy -> "none" -let job ?(arch : Runner.Arch.t option) ?after_script ?allow_failure ?artifacts - ?(before_script = []) ?cache ?id_tokens ?interruptible +let job ?(arch : Runner.Arch.t option) ?(after_script = []) ?allow_failure + ?artifacts ?(before_script = []) ?cache ?id_tokens ?interruptible ?(dependencies = Staged []) ?(image_dependencies = []) ?services ?variables ?rules ?(timeout = Gitlab_ci.Types.Minutes 60) ?(tag : Runner.Tag.t option) ?(cpu : Runner.CPU.t option) ?(storage : Runner.Storage.t option) @@ -939,7 +939,10 @@ let job ?(arch : Runner.Arch.t option) ?after_script ?allow_failure ?artifacts let job : Gitlab_ci.Types.job = { name; - after_script; + after_script = + Some + (". ./scripts/ci/datadog_send_job_cache_info.sh 'after'" + :: after_script); allow_failure; artifacts; (* Sending job-level info to Datadog is done first. This step should never fail, even if [datadog-ci] is not installed in the image running the job. *) -- GitLab From 6256ad72518dfee0bded79e422cbc175b5ab3036 Mon Sep 17 00:00:00 2001 From: Bruno Bernardo Date: Fri, 1 Aug 2025 11:27:43 +0200 Subject: [PATCH 4/5] CI: avoid changing dir in [oc.script:test-gen-genesis] To fix calls to [./scripts/ci/datadog_send_job_cache_info.sh]. Cf. https://gitlab.com/tezos/tezos/-/jobs/10883093496 --- .gitlab/ci/pipelines/before_merging.yml | 3 +-- .gitlab/ci/pipelines/merge_train.yml | 3 +-- .gitlab/ci/pipelines/schedule_extended_test.yml | 3 +-- ci/bin/code_verification.ml | 5 ++--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.gitlab/ci/pipelines/before_merging.yml b/.gitlab/ci/pipelines/before_merging.yml index 81c254e683d3..57e30a168427 100644 --- a/.gitlab/ci/pipelines/before_merging.yml +++ b/.gitlab/ci/pipelines/before_merging.yml @@ -1844,10 +1844,9 @@ oc.script:test-gen-genesis: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - - cd scripts/gen-genesis - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - - dune build gen_genesis.exe + - dune build scripts/gen-genesis/gen_genesis.exe after_script: - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/merge_train.yml b/.gitlab/ci/pipelines/merge_train.yml index 28d18f0e0f85..c062f8c2cd8c 100644 --- a/.gitlab/ci/pipelines/merge_train.yml +++ b/.gitlab/ci/pipelines/merge_train.yml @@ -1843,10 +1843,9 @@ oc.script:test-gen-genesis: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - - cd scripts/gen-genesis - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - - dune build gen_genesis.exe + - dune build scripts/gen-genesis/gen_genesis.exe after_script: - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/.gitlab/ci/pipelines/schedule_extended_test.yml b/.gitlab/ci/pipelines/schedule_extended_test.yml index 244200074de8..18549b1ccfb8 100644 --- a/.gitlab/ci/pipelines/schedule_extended_test.yml +++ b/.gitlab/ci/pipelines/schedule_extended_test.yml @@ -1959,10 +1959,9 @@ oc.script:test-gen-genesis: before_script: - . ./scripts/ci/datadog_send_job_info.sh - eval $(opam env) - - cd scripts/gen-genesis - . ./scripts/ci/datadog_send_job_cache_info.sh 'before' script: - - dune build gen_genesis.exe + - dune build scripts/gen-genesis/gen_genesis.exe after_script: - . ./scripts/ci/datadog_send_job_cache_info.sh 'after' diff --git a/ci/bin/code_verification.ml b/ci/bin/code_verification.ml index b69924b23dae..a27158400364 100644 --- a/ci/bin/code_verification.ml +++ b/ci/bin/code_verification.ml @@ -1290,9 +1290,8 @@ let jobs pipeline_type = ~image:Images.CI.build ~dependencies:dependencies_needs_start ~rules:(make_rules ~changes:changeset_octez ()) - ~before_script: - (before_script ~eval_opam:true ["cd scripts/gen-genesis"]) - ["dune build gen_genesis.exe"] + ~before_script:(before_script ~eval_opam:true []) + ["dune build scripts/gen-genesis/gen_genesis.exe"] in let job_oc_script_snapshot_alpha_and_link : tezos_job = job -- GitLab From 53cddbfb9a9442560176dbb6017614576165cde2 Mon Sep 17 00:00:00 2001 From: Bruno Bernardo Date: Fri, 1 Aug 2025 21:52:06 +0200 Subject: [PATCH 5/5] CI/Scripts: [datadog_send_job_cache_info.sh] does not fail if undefined variable cf. https://gitlab.com/tezos/tezos/-/jobs/10887496815#L59 An undefined variable is referenced in the job. Modifying the echo statement would require some non-trivial changes in the code which seems not worth it. - It is an echo statement. - The rest of the job script handles well undefined references (default values are assigned). --- scripts/ci/datadog_send_job_cache_info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/datadog_send_job_cache_info.sh b/scripts/ci/datadog_send_job_cache_info.sh index 9fbe727db01e..284c5165572d 100755 --- a/scripts/ci/datadog_send_job_cache_info.sh +++ b/scripts/ci/datadog_send_job_cache_info.sh @@ -1,6 +1,6 @@ #!/bin/sh -set -eu +set -e # Check if the section argument ('before' or 'after') is provided. # We will use it in the tags sent to Datadog to give infos on the -- GitLab