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
!773
Resolve "Investigate GitLab-CI services don't reach each other"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Investigate GitLab-CI services don't reach each other"
335-investigate-gitlab-ci-services-don-t-reach-each-other
into
master
Overview
0
Commits
33
Pipelines
35
Changes
1
Merged
Neil-Jocelyn Schark
requested to merge
335-investigate-gitlab-ci-services-don-t-reach-each-other
into
master
1 year ago
Overview
0
Commits
33
Pipelines
35
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.
Related to
#335
0
0
Merge request reports
Viewing commit
c56294f8
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
c56294f8
change env var
· c56294f8
Neil-Jocelyn Schark
authored
1 year ago
.gitlab/ci/.test.yml
+
8
−
14
Options
@@ -11,7 +11,8 @@ integration-test-gosdn:
MONGO_INITDB_ROOT_PASSWORD
:
example
INTEGRATION_TEST_TARGET_A
:
gnmi-target_A:7030
INTEGRATION_TEST_TARGET_B
:
gnmi-target_B:7030
RABBITMQ_HOSTNAME
:
rabbitmq
INTEGRATION_TEST_RABBITMQ_HOSTNAME
:
rabbitmq
INTEGRATION_TEST_CONTROLLER_URL
:
gosdn:55055
services
:
-
name
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/mongo:7
alias
:
mongo
@@ -28,20 +29,13 @@ integration-test-gosdn:
alias
:
gnmi-target_B
command
:
[
"
start"
,
"
--cert"
,
"
/etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt"
,
"
--key"
,
"
/etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key"
,
"
--ca_file"
,
"
/etc/gnmi-target/ssl/ca.crt"
]
# Use gosdn docker image from this branch
# Uncomment later when fixed. See: https://code.fbi.h-da.de/danet/gosdn/-/issues/335
#- name: "${CI_REGISTRY_IMAGE}:${DOCKER_TAG}_integration-test"
# alias: gosdn
# variables:
# GOSDN_ADMIN_PASSWORD: TestPassword
# command: ["--config", "/app/configs/integration-test-gosdn.toml", "--security", "secure"]
-
name
:
"
${CI_REGISTRY_IMAGE}:${DOCKER_TAG}_integration-test"
alias
:
gosdn
variables
:
GOSDN_ADMIN_PASSWORD
:
TestPassword
command
:
[
"
--config"
,
"
/app/configs/integration-test-gosdn.toml"
,
"
--security"
,
"
secure"
]
before_script
:
-
bash -c "$(curl -sL https://get-gnmic.openconfig.net)"
script
:
# Remove start of goSDN later when fixed. See: https://code.fbi.h-da.de/danet/gosdn/-/issues/335
-
cp -r artifacts/ssl/gosdn/certs artifacts/ssl/
-
cp -r artifacts/ssl/gosdn/private artifacts/ssl/
-
mkdir artifacts/configs && cp controller/configs/gNMISubscriptions.txt.example artifacts/configs/gNMISubscriptions.txt
-
make build-gosdn
-
cd artifacts && GOSDN_ADMIN_PASSWORD=TestPassword ./gosdn --config ../controller/configs/integration-test-gosdn.toml --security secure &
-
INTEGRATION_TEST_CONTROLLER_URL="localhost:55055" go test -p 1 ./integration-tests/*
-
go test -p 1 ./integration-tests/*
<<
:
*test
Loading