Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Merge requests
!189
Resolve "Deploy develop to Containerlab"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Deploy develop to Containerlab"
133-Deploy-develop-to-Containerlab
into
develop
Overview
0
Commits
22
Pipelines
10
Changes
9
Merged
Ghost User
requested to merge
133-Deploy-develop-to-Containerlab
into
develop
3 years ago
Overview
0
Commits
22
Pipelines
10
Changes
1
Expand
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
My code follows the code style of this project.
My change requires a change to the documentation.
I have updated the documentation accordingly.
I have read the
CONTRIBUTING
document.
I have added tests to cover my changes.
All new and existing tests passed.
Closes
#133 (closed)
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Compare
version 6
version 7
ab491f36
3 years ago
version 6
77823d8d
3 years ago
version 5
e619829c
3 years ago
version 4
8bdb691d
3 years ago
version 3
b46be190
3 years ago
version 2
db25e822
3 years ago
version 1
e9745faa
3 years ago
develop (base)
and
version 7
latest version
5119ec41
22 commits,
3 years ago
version 7
ab491f36
21 commits,
3 years ago
version 6
77823d8d
20 commits,
3 years ago
version 5
e619829c
19 commits,
3 years ago
version 4
8bdb691d
18 commits,
3 years ago
version 3
b46be190
17 commits,
3 years ago
version 2
db25e822
16 commits,
3 years ago
version 1
e9745faa
15 commits,
3 years ago
Show latest version
1 file
+
1
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
build/ci/.containerlab-ci.yml
+
1
−
3
Options
@@ -2,6 +2,7 @@ variables:
CEOS_CONTAINER_IMAGE
:
"
$CI_REGISTRY_IMAGE/ceos:latest"
GOSDN_CONTAINER_IMAGE
:
"
${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"
CLAB_DIR
:
"
/mnt"
CLAB_NAME
:
"
clab${CI_PIPELINE_IID}"
# Templates for Job Types
.containerlab_deploy
:
&containerlab_deploy
@@ -41,7 +42,6 @@ variables:
containerlab:template:integration
:
extends
:
.containerlab_template
variables
:
CLAB_NAME
:
"
clab${CI_PIPELINE_IID}"
CLAB_TEMPLATE
:
"
${CI_PROJECT_DIR}/test/containerlab/int01.clab.tmpl.yml"
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop')
@@ -52,8 +52,6 @@ containerlab:template:integration:
containerlab:deploy:integration
:
extends
:
.containerlab_deploy
needs
:
[
"
containerlab:template:integration"
,
"
build-docker"
]
variables
:
CLAB_NAME
:
"
clab${CI_PIPELINE_IID}"
script
:
-
sudo containerlab deploy --topo ${CI_PROJECT_DIR}/${CLAB_NAME}.clab.yml --reconfigure
-
|
Loading