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

Creating the .gitlab-ci-common.yml file

parent 45e3d6b2
Loading
Loading
Loading
Loading

SOL002-SOL003/.gitlab-ci.yml

deleted100644 → 0
+0 −27
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

SOL009/.gitlab-ci.yml

deleted100644 → 0
+0 −27
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

SOL011/.gitlab-ci.yml

deleted100644 → 0
+0 −27
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

deleted100644 → 0
+0 −27
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
+4 −3
Original line number Diff line number Diff line
@@ -42,7 +42,8 @@ pages:
    # Zip the content and publish the zip again
    - zip -r "content.zip" "public"
    - mv "content.zip" "public/"

  artifacts:
    paths:
      - public
  only:
    - tags  
 No newline at end of file