Skip to content
Snippets Groups Projects
Commit a9c617db authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

change test endpoints

parent 7e0894ef
No related branches found
No related tags found
1 merge request!159Resolve "Integration Tests Fail"
Pipeline #73467 passed with warnings
......@@ -370,8 +370,9 @@ func createIngress(env string) *netv1.Ingress {
APIVersion: "v1",
},
ObjectMeta: metav1.ObjectMeta{
Name: env,
Namespace: "cocsn",
Name: env,
Namespace: "cocsn",
Annotations: map[string]string{"nginx.ingress.kubernetes.io/grpc-backend": "true"},
},
Spec: netv1.IngressSpec{
Rules: []netv1.IngressRule{
......@@ -381,10 +382,9 @@ func createIngress(env string) *netv1.Ingress {
HTTP: &netv1.HTTPIngressRuleValue{
Paths: []netv1.HTTPIngressPath{
{
Path: "/api",
Backend: netv1.IngressBackend{
ServiceName: env,
ServicePort: intstr.IntOrString{IntVal: 8080},
ServicePort: intstr.IntOrString{IntVal: 55055},
},
},
},
......
......@@ -6,7 +6,7 @@ integration-test:
- job: "deploy:integration-test"
variables:
GOSDN_LOG: "nolog"
GOSDN_TEST_API_ENDPOINT: http://gosdn-$CI_COMMIT_SHA.apps.ocp.fbi.h-da.de/api
GOSDN_TEST_API_ENDPOINT: http://gosdn-$CI_COMMIT_SHA.apps.ocp.fbi.h-da.de
rules:
- if: $CI_NIGHTLY
when: delayed
......
......@@ -19,7 +19,7 @@ const unreachable = "203.0.113.10:6030"
const testPath = "/system/config/hostname"
var testAddress = "141.100.70.171:6030"
var testAPIEndpoint = "http://gosdn-latest.apps.ocp.fbi.h-da.de/api"
var testAPIEndpoint = "http://gosdn-latest.apps.ocp.fbi.h-da.de"
var testUsername = "admin"
var testPassword = "arista"
var opt *tpb.TransportOption
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment