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

rules

parent 77e4805b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -138,6 +138,10 @@ merge_request_staging_into_main:

test:
  stage: main_security
  rules:
    - if: '$CI_COMMIT_REF_NAME == "OCF16-first-steps-on-ci-at-gitlab-repository"'
      when: always
    - when: never
  script:
    - |
      pip install -U pytest
@@ -154,6 +158,10 @@ sast:
  allow_failure: true
  services:
    - docker:24.0.5-dind
  rules:
    - if: '$CI_COMMIT_REF_NAME == "OCF16-first-steps-on-ci-at-gitlab-repository"'
      when: always
    - when: never
  script:
    - export SAST_VERSION=${SP_VERSION:-$(echo \"$CI_SERVER_VERSION\" | sed 's/^\\([0-9]*\\)\\.\\([0-9]*\\).*/\\1-\\2-stable/')}
    - |