From de81a9a5d5de2364f7915dea5f2780fbc32ff575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Sanz=20L=C3=B3pez?= Date: Thu, 26 Feb 2026 11:00:05 +0100 Subject: [PATCH] back to original version --- sdk/templates/ci_staging.gitlab-ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/sdk/templates/ci_staging.gitlab-ci.yml b/sdk/templates/ci_staging.gitlab-ci.yml index 736a85e..2d41adf 100644 --- a/sdk/templates/ci_staging.gitlab-ci.yml +++ b/sdk/templates/ci_staging.gitlab-ci.yml @@ -31,22 +31,11 @@ variables: staging_secrets_in_repo: stage: staging_secrets_in_repo - # script: - # - | - # pip install trufflehog - # cd ../ - # trufflehog filesystem capif --exclude-paths capif/cicd/exclusions --max-depth 5 script: - | - set -euo pipefail - - TRUF_VER="v3.82.0" - ARCH="linux_amd64" - curl -sSL -o /tmp/trufflehog.tgz "https://github.com/trufflesecurity/trufflehog/releases/download/${TRUF_VER}/trufflehog_${TRUF_VER#v}_${ARCH}.tar.gz" - tar -xzf /tmp/trufflehog.tgz -C /usr/local/bin trufflehog - trufflehog --version - - trufflehog filesystem capif --exclude-paths cicd/exclusions --max-depth 5 + pip install trufflehog + cd ../ + trufflehog capif --exclude_paths capif/cicd/exclusions --max_depth=5 <<: *staging_common # define the process to do linting code: ruff -- GitLab