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

no sudo pip install

parent 73f01d52
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ dev_secrets_in_repo:
  stage: dev_secrets_in_repo
  script:
    - |
      sudo pip install trufflehog
      pip install trufflehog
      cd ../
      trufflehog capif --exclude_paths capif/cicd/exclusions --max_depth=5
#  needs: ["dev_pulling_repo"]
@@ -65,7 +65,7 @@ dev_linting_code:
  script:
    - |
      echo "###ruff checks###"
      sudo pip install ruff
      pip install ruff
      ruff check --config cicd/ruff.toml . || true
  needs: ["dev_secrets_in_repo"]
  <<: *dev_common
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ main_secrets_in_repo:
  stage: main_secrets_in_repo
  script:
    - |
      sudo pip install trufflehog
      pip install trufflehog
      cd ../
      #trufflehog capif --exclude_paths capif/cicd/exclusions --max_depth=5
  <<: *main_common
+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ staging_secrets_in_repo:
  stage: staging_secrets_in_repo
  script:
    - |
      sudo pip install trufflehog
      pip install trufflehog
      cd ../
      trufflehog capif --exclude_paths capif/cicd/exclusions --max_depth=5
  needs:
@@ -79,7 +79,7 @@ staging_linting_code:
  script:
    - |
      echo "###ruff checks###"
      sudo pip install ruff
      pip install ruff
      ruff check --config cicd/ruff.toml . || true
  needs: ["staging_secrets_in_repo"]
  <<: *staging_common