Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
NFV - Network Functions Virtualisation
Pipeline scripts
Compare revisions
45e3d6b21880e0488f2b05650c3839f0354635c2...d354bfd1d55c982679159134e5dd5c792b875bac
Commits (3)
Creating the .gitlab-ci-common.yml file
· e1a5ff6e
Miguel Angel Reina Ortega
authored
Mar 28, 2023
e1a5ff6e
Enhance .gitlab-ci.yml for api-tests project
· db8ad627
Miguel Angel Reina Ortega
authored
Mar 28, 2023
db8ad627
Clean up .gitlab-ci.yml for SOL006 project
· d354bfd1
Miguel Angel Reina Ortega
authored
Mar 28, 2023
d354bfd1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d354bfd1
...
...
@@ -15,7 +15,9 @@ Build api-tests docker image:
rules
:
-
changes
:
-
api-tests/Dockerfile
-
api-tests/*
-
api-tests/scripts/*
-
api-tests/extensions/*
-
api-tests/requirements.txt
Build OpenAPI validator docker image
:
stage
:
build
...
...
SOL002-SOL003/.gitlab-ci.yml
deleted
100644 → 0
View file @
45e3d6b2
# 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
SOL006/.gitlab-ci.yml
View file @
d354bfd1
...
...
@@ -27,10 +27,6 @@ Testing:
script
:
-
echo "Testing"
-
docker run $IMG_NAME
# artifacts:
# when: always
# paths:
# - debugPuccini.log
Building HTML tree
:
stage
:
HTML
...
...
SOL009/.gitlab-ci.yml
deleted
100644 → 0
View file @
45e3d6b2
# 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
deleted
100644 → 0
View file @
45e3d6b2
# 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
deleted
100644 → 0
View file @
45e3d6b2
# 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
SOL005
/.gitlab-ci.yml
→
common
/.gitlab-ci
-common
.yml
View file @
d354bfd1
...
...
@@ -25,7 +25,7 @@ Validate OpenAPIs:
when
:
on_success
paths
:
-
build/*
pages
:
stage
:
publish
dependencies
:
...
...
@@ -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
\ No newline at end of file
-
public
only
:
-
tags
\ No newline at end of file