Skip to content
Snippets Groups Projects

Resolve "Improve pipeline speed"

Merged Ghost User requested to merge 126-improve-pipeline-speed into develop
Compare and Show latest version
1 file
+ 0
7
Compare changes
  • Side-by-side
  • Inline
+ 0
7
@@ -18,7 +18,6 @@
integration-test:nucleus:
<<: *integration-test
script:
- date +'%r'
- ${CI_PROJECT_DIR}/build/ci/wait-for-it.sh ${GOSDN_TEST_ENDPOINT} -s -t 180 -- echo "CEOS is up"
- cd ./test/integration
- go test -race -v -run TestGnmi_SetIntegration
@@ -31,16 +30,12 @@ integration-test:api:
variables:
K8S_OP: "getenv"
script:
- date +'%r'
- cd ./api
- go test -race -v -run TestApiIntegration
.test: &test
image: registry.code.fbi.h-da.de/cocsn/gosdn:testing_${CI_PIPELINE_ID}
stage: test
tags:
#- docker-builder
- dind
allow_failure: true
variables:
GOSDN_LOG: "nolog"
@@ -54,7 +49,6 @@ integration-test:api:
unit-test:
script:
- date +'%r'
- go test -short -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
after_script:
- go tool cover -func=coverage.out
@@ -63,6 +57,5 @@ unit-test:
controller-test:
image: golang:1.16
script:
- date +'%r'
- go test -race -v -run TestRun
<<: *test
Loading