Commit 965e899c authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

CI_DEBUG_TRACE: "false" and dev_secrets_in_repo

parent 0d0ba686
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ stages:
variables:
  GITLAB_API: "https://labs.etsi.org/api/v4"
  CI_JOB_TOKEN: $CI_JOB_TOKEN
  CI_DEBUG_TRACE: "true"
  CI_DEBUG_TRACE: "false"

.staging_common: &staging_common
  only:
+10 −9
Original line number Diff line number Diff line
@@ -8,24 +8,25 @@ stages:
variables:
  GITLAB_API: "https://labs.etsi.org/api/v4"
  CI_JOB_TOKEN: $CI_JOB_TOKEN
  CI_DEBUG_TRACE: "true"
  CI_DEBUG_TRACE: "false"

.dev_common: &dev_common
  tags:
    - shell

dev_pulling_repo:
  stage: dev_pulling_repo
  script:
    - git clone https://oauth2:${CI_JOB_TOKEN}@labs.etsi.org/rep/ocf/capif.git
  <<: *dev_common
#dev_pulling_repo:
#  stage: dev_pulling_repo
#  script:
#    - git clone https://oauth2:${CI_JOB_TOKEN}@labs.etsi.org/rep/ocf/capif.git
#  <<: *dev_common

dev_secrets_in_repo:
  stage: dev_secrets_in_repo
  script:
    - pip install trufflehog
    - trufflehog capif --exclude_paths cicd/exclusions --max_depth=5
  needs: ["dev_pulling_repo"]
    - |
      pip install trufflehog
      trufflehog capif --exclude_paths cicd/exclusions --max_depth=5
#  needs: ["dev_pulling_repo"]
  <<: *dev_common

# define the process to do linting code: Sonarque, ruff?