Commit ada24f74 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Adding SOL011 and SOL012 gitlab-ci.yml (uses common scripts)

parent 70f66084
Loading
Loading
Loading
Loading

SOL011/.gitlab-ci.yml

0 → 100644
+27 −0
Original line number Diff line number Diff line
# CI/CD:
#
# VALIDATION triggered by:
#  - any (branch commit)
#  

workflow:
  rules:
    - if: $CI_COMMIT_BRANCH
    - if: $CI_COMMIT_TAG
    
variables:
  PIPELINE_SCRIPTS_PROJECT_ID: 680

stages:
  - validation
        
Validate OpenAPIs:
  stage: validation
  script:
    - echo 'Validate OpenAPIs'
    - docker run -v "$(pwd)":/work -u $(id -u):$(id -g) openapivalidator "/work" "/storage" "$filter"
  artifacts:
    when: on_success
    paths:
      - build/*
  
 No newline at end of file

SOL012/.gitlab-ci.yml

0 → 100644
+27 −0
Original line number Diff line number Diff line
# CI/CD:
#
# VALIDATION triggered by:
#  - any (branch commit)
#  

workflow:
  rules:
    - if: $CI_COMMIT_BRANCH
    - if: $CI_COMMIT_TAG
    
variables:
  PIPELINE_SCRIPTS_PROJECT_ID: 680

stages:
  - validation
        
Validate OpenAPIs:
  stage: validation
  script:
    - echo 'Validate OpenAPIs'
    - docker run -v "$(pwd)":/work -u $(id -u):$(id -g) openapivalidator "/work" "/storage" "$filter"
  artifacts:
    when: on_success
    paths:
      - build/*
  
 No newline at end of file