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
Commits
3943b0bd
Commit
3943b0bd
authored
1 year ago
by
Neil-Jocelyn Schark
Committed by
Neil-Jocelyn Schark
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
test services
parent
fb1c4e7a
No related branches found
No related tags found
1 merge request
!773
Resolve "Investigate GitLab-CI services don't reach each other"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/ci/.test.yml
+11
-11
11 additions, 11 deletions
.gitlab/ci/.test.yml
with
11 additions
and
11 deletions
.gitlab/ci/.test.yml
+
11
−
11
View file @
3943b0bd
...
...
@@ -29,19 +29,19 @@ integration-test-gosdn:
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/*
#
- 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="
gosdn
:55055" go test -p 1 ./integration-tests/*
<<
:
*test
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment