Commit 948711b2 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

chore: use workflow rules

parent 4648921c
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -13,6 +13,14 @@
# program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 
# Floor, Boston, MA  02110-1301, USA.
# =========================================================================================
# default workflow rules
workflow:
  rules:
    # exclude merge requests
    - if: $CI_MERGE_REQUEST_ID
      when: never
    - when: always

variables:
  # variabilized tracking image
  TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
@@ -332,9 +340,6 @@ mobsf-on-server:
    paths:
      - ./reports/
  rules:
    # exclude merge requests
    - if: $CI_MERGE_REQUEST_ID
      when: never
    - if: $MOBSF_API_KEY == null || $MOBSF_SERVER_URL == null
      when: never
    # on production or integration branches:
@@ -358,9 +363,6 @@ mobsf-local:
    paths:
      - ./reports/
  rules:
    # exclude merge requests
    - if: $CI_MERGE_REQUEST_ID
      when: never
    - if: $MOBSF_API_KEY || $MOBSF_SERVER_URL
      when: never
    # on production or integration branches: