Skip to content

Commit 39a544b

Browse files
Vectorfield4mvktskAlexTzykin
authored
Regression sprint14 loadtest (#72)
* PT-3827: Init regression branch * PT-3827: Add regression app overlay * PT-3827: Fix storefront overlay * PT-3827: Add links to environments in readme * PT-3827: Switch on reression-app Co-authored-by: Maksim <[email protected]> Co-authored-by: AlexTzykin <[email protected]> Co-authored-by: Alex <[email protected]>
1 parent c6ebba9 commit 39a544b

19 files changed

+502
-306
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
nameSuffix: -qa
4+
resources:
5+
- regression-app.yaml
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: regression-app
5+
namespace: argocd
6+
finalizers:
7+
- resources-finalizer.argocd.argoproj.io
8+
spec:
9+
destination:
10+
namespace: qa
11+
server: 'https://aks-f783f1e0.hcp.westus.azmk8s.io:443'
12+
project: tenant
13+
source:
14+
path: platform-dev/overlays/regression
15+
repoURL: https://github.com/VirtoCommerce/vc-deploy-dev
16+
targetRevision: regression
17+
syncPolicy:
18+
automated:
19+
prune: true
20+
selfHeal: true

common-base/storefront/deployment-cm.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
11
apiVersion: extensions/v1beta1
22
kind: Ingress
33
metadata:
4-
name: traefik-ingress-https
4+
name: storefront-ingress-https
55
annotations:
66
kubernetes.io/ingress.class: nginx
77
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
8-
nginx.ingress.kubernetes.io/configuration-snippet: |
9-
more_set_headers "api_key: key";
108
nginx.ingress.kubernetes.io/proxy-buffering: "on"
119
nginx.ingress.kubernetes.io/proxy-buffers-number: "16"
1210
nginx.ingress.kubernetes.io/proxy-buffer-size: "64k"
1311
cert-manager.io/cluster-issuer: letsencrypt
12+
nginx.ingress.kubernetes.io/enable-cors: "true"
1413
spec:
1514
tls:
1615
- hosts:
1716
- "$(VC_STOREFRONT_SERVICE).$(VC_NAMESPACE).govirto.com"
1817
secretName: $(VC_STOREFRONT_SERVICE)-$(VC_NAMESPACE)-tls
19-
- hosts:
20-
- "$(VC_PLATFORM_SERVICE).$(VC_NAMESPACE).govirto.com"
21-
secretName: $(VC_PLATFORM_SERVICE)-$(VC_NAMESPACE)-tls
2218
rules:
2319
- host: $(VC_STOREFRONT_SERVICE).$(VC_NAMESPACE).govirto.com
2420
http:
2521
paths:
2622
- backend:
2723
serviceName: storefront
2824
servicePort: 80
29-
path: /
30-
- host: $(VC_PLATFORM_SERVICE).$(VC_NAMESPACE).govirto.com
31-
http:
32-
paths:
33-
- backend:
34-
serviceName: platform
35-
servicePort: 80
3625
path: /
Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,14 @@
11
resources:
22
- ingress-https.yaml
3-
- platform-cm.yaml
4-
- platform-deploy.yaml
5-
- platform-service.yaml
6-
- deployment-cm.yaml
7-
- platform-secrets.yaml
8-
- storefront-deploy.yaml
93
- storefront-cm.yaml
10-
11-
configurations:
12-
- varconfig.yaml
4+
- storefront-deploy.yaml
5+
- storefront-service.yaml
136

147
vars:
15-
- name: VC_PLATFORM_SERVICE
16-
objref:
17-
kind: Service
18-
name: platform
19-
apiVersion: v1
20-
fieldref:
21-
fieldpath: metadata.name
228
- name: VC_STOREFRONT_SERVICE
239
objref:
2410
kind: Service
2511
name: storefront
2612
apiVersion: v1
2713
fieldref:
28-
fieldpath: metadata.name
29-
- name: VC_NAMESPACE
30-
objref:
31-
kind: Service
32-
name: storefront
33-
apiVersion: v1
34-
fieldref:
35-
fieldpath: metadata.namespace
36-
- name: VC_INSTANCE
37-
objref:
38-
kind: Service
39-
name: storefront
40-
apiVersion: v1
41-
fieldref:
42-
fieldpath: metadata.labels.instance
14+
fieldpath: metadata.name

common-base/storefront/platform-cm.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

common-base/storefront/platform-deploy.yaml

Lines changed: 0 additions & 89 deletions
This file was deleted.

common-base/storefront/platform-secrets.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

common-base/storefront/platform-service.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

common-base/storefront/varconfig.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)