Skip to content

Commit 2ceb923

Browse files
author
Deepak Prabhakara
committed
Merge branch 'main' into sidecar-direct-delivery
2 parents 697e9dd + 6c21d83 commit 2ceb923

File tree

105 files changed

+541
-889
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+541
-889
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
---
22
name: Bug Report
33
about: Tell us about a problem you are experiencing
4-
54
---
65

76
**What steps did you take and what happened:**
87

98
[A clear and concise description of what the bug is, and what commands you ran.)
109

11-
1210
**What did you expect to happen:**
1311

14-
1512
**Any relevant output that will help us better understand what's going on**:
1613

1714
(Pasting long output into a [GitHub gist](https://gist.github.com) or other pastebin is fine.)
1815

19-
2016
**Anything else you would like to add:**
2117

2218
[Miscellaneous information that will assist in solving the issue.]
2319

24-
2520
**Environment:**
2621

2722
- Retraced version:

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
---
22
name: Feature Request
33
about: Suggest an idea for this project
4-
54
---
65

76
**Describe the problem/challenge you have**
87

98
[A description of the current limitation/problem/challenge that you are experiencing.]
109

11-
1210
**Describe the solution you'd like**
1311

1412
[A clear and concise description of what you want to happen.]
1513

16-
1714
**Anything else you would like to add:**
1815

1916
[Miscellaneous information that will assist in solving the issue.]
2017

21-
2218
**Environment:**
2319

2420
- Retraced version:

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- name: Install Dependencies & check lint
4343
run: |
4444
npm install
45+
npm run check-format
4546
npm run lint
4647
4748
- id: version

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/**/node_modules
2+
*.hbs
3+
src/_processor/services/templates/**
4+
postman/Retraced.postman_collection.json

.prettierrc.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@ module.exports = {
55
semi: true,
66
printWidth: 110,
77
arrowParens: "always",
8-
importOrderSeparation: true,
8+
overrides: [
9+
{
10+
files: ["tsconfig.json", "jsconfig.json"],
11+
options: {
12+
parser: "jsonc",
13+
},
14+
},
15+
],
916
};

.release-it.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"tagAnnotation": "Release ${version}",
2121
"tagArgs": [],
2222
"push": true,
23-
"pushArgs": [
24-
"--follow-tags"
25-
],
23+
"pushArgs": ["--follow-tags"],
2624
"pushRepo": ""
2725
},
2826
"npm": {
@@ -48,4 +46,4 @@
4846
"pr": ":rocket: _This pull request is included in v${version}. See [${releaseName}](${releaseUrl}) for release notes._"
4947
}
5048
}
51-
}
49+
}

deploy/Dockerfile-slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODEJS_IMAGE=node:20.10.0-alpine3.19
1+
ARG NODEJS_IMAGE=node:20.11.0-alpine3.19
22
ARG ALPINE_IMAGE=alpine:3.19
33

44
# # #

elasticsearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ http.cors.enabled: true
66
http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type, Content-Length, Authorization
77
http.cors.allow-credentials: true
88

9-
discovery.type: single-node
9+
discovery.type: single-node

integration/test/pkg/util.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ export function sleep(ms) {
33
}
44

55
export function formattedDate(unixTime: number) {
6-
let d = new Date(unixTime),
7-
yyyy = d.getUTCFullYear(),
8-
mm = ("0" + (d.getUTCMonth() + 1)).slice(-2),
9-
dd = ("0" + d.getUTCDate()).slice(-2),
10-
hh = ("0" + d.getUTCHours()).slice(-2),
11-
min = ("0" + d.getUTCMinutes()).slice(-2),
12-
sec = ("0" + d.getUTCSeconds()).slice(-2),
13-
time;
14-
time = yyyy + "-" + mm + "-" + dd + "T" + hh + ":" + min + ":" + sec + "Z";
6+
let d = new Date(unixTime),
7+
yyyy = d.getUTCFullYear(),
8+
mm = ("0" + (d.getUTCMonth() + 1)).slice(-2),
9+
dd = ("0" + d.getUTCDate()).slice(-2),
10+
hh = ("0" + d.getUTCHours()).slice(-2),
11+
min = ("0" + d.getUTCMinutes()).slice(-2),
12+
sec = ("0" + d.getUTCSeconds()).slice(-2),
13+
time;
14+
time = yyyy + "-" + mm + "-" + dd + "T" + hh + ":" + min + ":" + sec + "Z";
1515

16-
return time;
16+
return time;
1717
}
1818

1919
export function isoDate(date: Date) {

kustomize/overlays/dbs/elasticsearch.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
apiVersion: v1
43
kind: Service
54
metadata:
@@ -9,9 +8,9 @@ metadata:
98
spec:
109
type: NodePort
1110
ports:
12-
- port: 9200
13-
nodePort: 30920
14-
targetPort: estransport
11+
- port: 9200
12+
nodePort: 30920
13+
targetPort: estransport
1514
selector:
1615
app: elasticsearch
1716
---
@@ -61,7 +60,7 @@ spec:
6160
- name: elasticsearch
6261
mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
6362
subPath: elasticsearch.yml
64-
63+
6564
# command: ["sleep", "500d"]
6665
volumes:
6766
- name: esdatadir
@@ -72,8 +71,8 @@ spec:
7271
configMap:
7372
name: elasticsearch
7473
items:
75-
- key: elasticsearch.yml
76-
path: elasticsearch.yml
74+
- key: elasticsearch.yml
75+
path: elasticsearch.yml
7776

7877
volumeClaimTemplates:
7978
- metadata:

kustomize/overlays/dbs/elasticsearch/statefulset.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ spec:
3434
resources:
3535
requests:
3636
storage: 1Gi
37-

0 commit comments

Comments
 (0)