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

fix: comment out trufflehog and ruff installation steps in CI templates

parent 066e632d
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -24,9 +24,10 @@ dev_secrets_in_repo:
    - when: always
  script:
    - |
      pip install trufflehog
      cd ../
      trufflehog sdk --exclude_paths sdk/cicd/exclusions --max_depth=5
      cat /etc/*release
      #pip install trufflehog
      #cd ../
      #trufflehog sdk --exclude_paths sdk/cicd/exclusions --max_depth=5
  <<: *dev_common

# define the process to do linting code: ruff
@@ -44,8 +45,9 @@ dev_linting_code:
    - when: always
  script:
    - |
      echo "###ruff checks###"
      pip install ruff
      ruff check --config cicd/ruff.toml . || true
      cat /etc/*release
      #echo "###ruff checks###"
      #pip install ruff
      #ruff check --config cicd/ruff.toml . || true
  needs: ["dev_secrets_in_repo"]
  <<: *dev_common
 No newline at end of file
+8 −6
Original line number Diff line number Diff line
@@ -33,9 +33,10 @@ staging_secrets_in_repo:
  stage: staging_secrets_in_repo
  script:
    - |
      pip install trufflehog
      cd ../
      trufflehog capif --exclude_paths capif/cicd/exclusions --max_depth=5
      cat /etc/*release
      #pip install trufflehog
      #cd ../
      #trufflehog capif --exclude_paths capif/cicd/exclusions --max_depth=5
  <<: *staging_common

# define the process to do linting code: ruff
@@ -43,9 +44,10 @@ staging_linting_code:
  stage: staging_linting
  script:
    - |
      echo "###ruff checks###"
      pip install ruff
      ruff check --config cicd/ruff.toml . || true
      cat /etc/*release
      #echo "###ruff checks###"
      #pip install ruff
      #ruff check --config cicd/ruff.toml . || true
  needs: ["staging_secrets_in_repo"]
  <<: *staging_common