Loading capif/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading capif/templates/ci_dev.gitlab-ci.yml +10 −9 Original line number Diff line number Diff line Loading @@ -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? Loading Loading
capif/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading
capif/templates/ci_dev.gitlab-ci.yml +10 −9 Original line number Diff line number Diff line Loading @@ -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? Loading