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

Adding SOL005 gitlab-ci.yml (uses common scripts)

parent 56e065fa
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -3,9 +3,6 @@
# VALIDATION triggered by:
#  - any (branch commit)
#  
# GENERATION triggered by:
#  - merge request
#   

workflow:
  rules:
@@ -17,8 +14,6 @@ variables:

stages:
  - validation
  - generation
  - trigger
        
Validate OpenAPIs:
  stage: validation

SOL005/.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