Loading capif/templates/ci_staging.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ staging_pulling_repo: stage: staging_pulling_repo script: - git clone https://oauth2:${CI_JOB_TOKEN}@labs.etsi.org/rep/ocf/capif.git <<: *staging_common # <<: *staging_common staging_secrets_in_repo: stage: staging_secrets_in_repo Loading @@ -29,7 +29,7 @@ staging_secrets_in_repo: - pip install trufflehog - trufflehog capif --exclude_paths cicd/exclusions --max_depth=5 needs: ["staging_pulling_repo"] <<: *staging_common # <<: *staging_common # define the process to do linting code: Sonarque, ruff? staging_linting_code: Loading @@ -37,7 +37,7 @@ staging_linting_code: script: - echo "ruff checks" needs: ["staging_secrets_in_repo"] <<: *staging_common # <<: *staging_common staging_linting_docker: stage: staging_linting_docker Loading @@ -55,4 +55,4 @@ staging_linting_docker: - docker-lint.json interruptible: true needs: ["staging_linting_code"] <<: *staging_common # <<: *staging_common Loading
capif/templates/ci_staging.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ staging_pulling_repo: stage: staging_pulling_repo script: - git clone https://oauth2:${CI_JOB_TOKEN}@labs.etsi.org/rep/ocf/capif.git <<: *staging_common # <<: *staging_common staging_secrets_in_repo: stage: staging_secrets_in_repo Loading @@ -29,7 +29,7 @@ staging_secrets_in_repo: - pip install trufflehog - trufflehog capif --exclude_paths cicd/exclusions --max_depth=5 needs: ["staging_pulling_repo"] <<: *staging_common # <<: *staging_common # define the process to do linting code: Sonarque, ruff? staging_linting_code: Loading @@ -37,7 +37,7 @@ staging_linting_code: script: - echo "ruff checks" needs: ["staging_secrets_in_repo"] <<: *staging_common # <<: *staging_common staging_linting_docker: stage: staging_linting_docker Loading @@ -55,4 +55,4 @@ staging_linting_docker: - docker-lint.json interruptible: true needs: ["staging_linting_code"] <<: *staging_common # <<: *staging_common