Loading sdk/templates/ci_dev.gitlab-ci.yml +8 −6 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 sdk/templates/ci_staging.gitlab-ci.yml +8 −6 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading Loading
sdk/templates/ci_dev.gitlab-ci.yml +8 −6 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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
sdk/templates/ci_staging.gitlab-ci.yml +8 −6 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading