Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
d3d3543
chore: source version map to include v2 but safely
vinayteki95 Dec 6, 2024
b674611
chore: source handler based on version
vinayteki95 Dec 7, 2024
d01f411
chore: adjust and shopify changes with expanded test cases
vinayteki95 Dec 9, 2024
82e322d
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Dec 9, 2024
a8e7a40
chore: test cases cover v2 spec respecting code coverage
vinayteki95 Dec 12, 2024
5f540eb
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Dec 12, 2024
7d4fbaa
chore(release): 1.87.0
web-flow Dec 13, 2024
9d6a002
chore(release): pull release/v1.87.0 into main (#3937)
ItsSudip Dec 16, 2024
43abf9c
fix: user order (#3944)
ItsSudip Dec 26, 2024
01de6ea
chore: clean deprecated files (#3904)
utsabc Dec 26, 2024
419381d
chore: separation prs for ut and dt dedicated deployment updates (#3936)
Dec 26, 2024
4c1d81f
chore(release): pull main into develop post release v1.87.0 (#3938)
ItsSudip Dec 27, 2024
1d8532e
fix(airship): resolved minor bugsnag error (#3942)
sandeepdsvs Dec 27, 2024
7e51661
chore: allure integration and migration utility for component tests (…
utsabc Dec 30, 2024
eaa68be
chore: remove redundant products tag when no products sent (#3951)
yashasvibajpai Dec 30, 2024
ac673fc
fix: added missing eu url in delete flow for amplitude destination (#…
manish339k Jan 2, 2025
0dedaa2
fix: property and event name mappings in shopify v2 (#3941)
yashasvibajpai Jan 2, 2025
9b28f13
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Jan 2, 2025
49eb591
fix: use correct endpoint for custom events (#3954)
ItsSudip Jan 3, 2025
b3280ad
chore: update test cases for branch (#3955)
ItsSudip Jan 3, 2025
0cc278a
chore: clean up unused env (#3958)
utsabc Jan 3, 2025
30377b8
chore: upgrade axios version to 1.7.9 (#3956)
sandeepdsvs Jan 6, 2025
c47488d
fix: adding transformer proxy for iterable (#3878)
shrouti1507 Jan 6, 2025
7219244
chore(release): 1.87.1
web-flow Jan 6, 2025
8ef52a6
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Jan 6, 2025
77d330c
chore: integrate allure ci (#3959)
utsabc Jan 7, 2025
3c6e047
chore(release): pull release/v1.87.1 into main (#3962)
yashasvibajpai Jan 7, 2025
495343b
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Jan 7, 2025
57fc4fe
chore(release): pull main into develop post release v1.87.1 (#3965)
yashasvibajpai Jan 8, 2025
3bff99f
chore: logs to track webhook source implementation version
vinayteki95 Jan 8, 2025
2e31490
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Jan 8, 2025
1a1fd3f
chore: remove template string with no variables
vinayteki95 Jan 14, 2025
1c45db8
fix: add email validation in HS (#3972)
yashasvibajpai Jan 15, 2025
0745ae8
chore: update node package (#3970)
krishna2020 Jan 16, 2025
0e0944d
fix: sonar issues in regex expressions (#3979)
koladilip Jan 16, 2025
eacfdf1
Merge branch 'develop' into chore.adjust-shopify-upgrade-to-v2
vinayteki95 Jan 16, 2025
99b7034
chore: adjust shopify upgrade to v2 (#3924)
vinayteki95 Jan 16, 2025
e4838da
chore: update proxy v0 v1 api doc in swagger (#3974)
manish339k Jan 16, 2025
12e8a52
fix: fixing mismatch of schedule field value in clicksend destination…
manish339k Jan 16, 2025
b0e0b15
fix: removing device token from if condition in mixpanel destination …
manish339k Jan 20, 2025
6ec3d55
feat: added drop traits in track call feature for mixpanel (#3986)
manish339k Jan 20, 2025
fc09080
fix: refactor code and add validation for values (#3971)
ItsSudip Jan 20, 2025
24c0596
refactor: use email validator instead of regex (#3985)
koladilip Jan 20, 2025
165e06d
feat: add redis support in shopify pixel for id stitching (#3957)
yashasvibajpai Jan 20, 2025
06d8f2a
chore(release): 1.88.0
web-flow Jan 20, 2025
aeba9f7
chore(release): pull release/v1.88.0 into main (#3993)
Jan 21, 2025
8eab86f
chore: revert "feat: add redis support in shopify pixel for id stitch…
yashasvibajpai Jan 21, 2025
41e5da0
chore(release): 1.88.1
web-flow Jan 21, 2025
e8bc593
chore(release): pull hotfix-release/v1.88.1 into main (#3996)
utsabc Jan 21, 2025
4160a37
chore(release): pull main into develop post release v1.88.0 (#3995)
Jan 21, 2025
a7d6b8f
fix: sonar issues in user transformations static lookup (#3998)
koladilip Jan 22, 2025
d74c4ab
fix: sonar issues in adobe analytics (#3999)
koladilip Jan 22, 2025
ba2accd
fix: revert feat added drop traits in track call feature for mixpanel…
manish339k Jan 22, 2025
a7ee3cb
chore(release): 1.88.2
web-flow Jan 22, 2025
ba8ad19
chore(release): pull hotfix-release/v1.88.2 into main (#4004)
vinayteki95 Jan 22, 2025
a86f009
feat(http): resolves bug fixes raised during testing (#3991)
sandeepdsvs Jan 22, 2025
8bceccc
chore(release): pull main into develop post release v1.88.2 (#4005)
Jan 22, 2025
454451d
fix: sonar issues in various components (#4006)
koladilip Jan 23, 2025
23ad10a
feat: add redis support in shopify pixel for id stitching (#4001)
yashasvibajpai Jan 23, 2025
3c20393
feat: add DATA WAREHOUSE to integrations object in shopify pixel sour…
yashasvibajpai Jan 23, 2025
d050117
chore: update order cancelled, property datatypes (#4007)
yashasvibajpai Jan 23, 2025
a986138
fix: iterable device token registration api issues (#4013)
koladilip Jan 24, 2025
ad65eeb
chore(release): 1.88.3
web-flow Jan 24, 2025
2f7be73
chore(release): pull hotfix-release/v1.88.3 into main (#4014)
koladilip Jan 24, 2025
1fc15bf
feat: add support for form format (#4000)
sandeepdsvs Jan 24, 2025
9021fe7
chore(release): pull main into develop post release v1.88.3 (#4015)
Jan 24, 2025
eac2a2f
chore: add execution stats header to the ut response (#3882)
abhimanyubabbar Jan 24, 2025
2eab465
fix: add mappings to mp event (#3997)
Jan 27, 2025
76af665
chore(release): 1.89.0
web-flow Jan 27, 2025
98a54ad
chore(release): pull release/v1.89.0 into main (#4024)
Jan 28, 2025
95831f1
chore(release): pull main into develop post release v1.89.0 (#4027)
vinayteki95 Jan 28, 2025
d003676
fix: extend statuscode check to 502 to retry the request (#4029)
abhimanyubabbar Jan 29, 2025
8e4d9bf
chore(release): 1.89.1
web-flow Jan 29, 2025
26ba829
chore(release): pull hotfix-release/v1.89.1 into main (#4032)
ItsSudip Jan 29, 2025
241250d
feat(http): minor bug fixes and enhancements related to XML and FORM …
sandeepdsvs Jan 29, 2025
4cb1eb5
chore: aggregate metrics in worker thread - fix typo
dhawal1248 Jan 30, 2025
6791172
chore: update src/util/worker.js
koladilip Jan 30, 2025
ee33e5c
chore: update src/util/worker.js
koladilip Jan 30, 2025
5b500ce
chore: aggregate metrics in worker thread - fix typo (#4036)
koladilip Jan 30, 2025
6d977fe
chore(release): pull main into develop post release v1.89.1 (#4035)
krishna2020 Jan 30, 2025
ea46afe
fix: add phone e164 format validation for klaviyo (#4025)
yashasvibajpai Jan 31, 2025
d62ba40
feat(http): enclose constants with quotes in mappings (#4037)
sandeepdsvs Jan 31, 2025
16b927a
feat: onboarding customerio segment destination (#4028)
manish339k Feb 3, 2025
74ea15f
chore(release): 1.90.0
web-flow Feb 3, 2025
e405cf0
refactor: improve the code coverage (#4023)
koladilip Feb 3, 2025
f7d38d8
chore(release): pull release/v1.90.0 into main (#4040)
ItsSudip Feb 4, 2025
24a65a1
chore: cleanup native intercom destination (#4045)
manish339k Feb 5, 2025
91ef21d
refactor: fix sonar issues in various components (#4017)
koladilip Feb 5, 2025
66e8b8f
chore(release): pull main into develop post release v1.90.0 (#4041)
ItsSudip Feb 5, 2025
ce86cec
fix: airship array handling (#4011)
Feb 5, 2025
b71d1d4
chore: add transformation tags to input and output event stats (#3984)
Jayachand Feb 5, 2025
62705c0
fix: update google ads api version for gaoc (#4047)
ItsSudip Feb 6, 2025
787aae7
chore(release): 1.90.1
web-flow Feb 6, 2025
68497f9
chore(release): pull hotfix-release/v1.90.1 into main (#4049)
ItsSudip Feb 6, 2025
0c117bb
chore(release): pull main into develop post release v1.90.1 (#4050)
ItsSudip Feb 6, 2025
bdd735d
feat: added drop traits in track call feature for mixpanel (#4034)
manish339k Feb 7, 2025
72978c6
chore: add units tests for iterable utils and config fxns (#4026)
yashasvibajpai Feb 11, 2025
f44d5a5
fix: improve error handling for webhook v2
vinayteki95 Feb 11, 2025
5d1e1bd
fix: improve error handling for webhook v2 (#4061)
vinayteki95 Feb 11, 2025
d795830
fix: improve error handling for webhook v2 (#4062)
vinayteki95 Feb 11, 2025
6d29785
Revert "fix: improve error handling for webhook v2"
vinayteki95 Feb 11, 2025
6fd8651
Revert "fix: improve error handling for webhook v2" (#4063)
Feb 11, 2025
c3f2d4e
chore: adding vinay to hotfix branch creation workflow
Feb 11, 2025
9f224ec
fix: better error handling in webhook v2
vinayteki95 Feb 11, 2025
3d4a5a6
chore(release): 1.90.2
web-flow Feb 11, 2025
69a1d6b
chore(release): pull hotfix-release/v1.90.2 into main (#4064)
Feb 11, 2025
27c9a35
chore(release): pull main into develop post release v1.90.2 (#4065)
vinayteki95 Feb 11, 2025
ccc68cf
chore: security upgrade node from 18.20.3-alpine3.18 to 18.20.6-alpin…
ItsSudip Feb 12, 2025
3fdc92b
fix: fixing wrong identifiers in payload for twitter ads destination …
manish339k Feb 12, 2025
2b350fe
feat: add support for hashed cart token as anonymousid (#4048)
yashasvibajpai Feb 12, 2025
bfad78d
chore: address sonar qube issues (#4059)
ItsSudip Feb 12, 2025
05553eb
feat(http): add support for isDefaultMapping (#4073)
sandeepdsvs Feb 13, 2025
a27e61b
refactor: zoho record processing (#4054)
koladilip Feb 14, 2025
ae399a9
chore: refactor adjust source to webhook v2
vinayteki95 Jan 17, 2025
5570745
chore: refactor adjust source to webhook v2
vinayteki95 Jan 17, 2025
4d803ef
chore: remove unnecessary comments
vinayteki95 Jan 17, 2025
350a242
chore: features v2 flag disabled post testing
vinayteki95 Jan 17, 2025
c6b1452
chore: deprecate v0 implementation and move everything to v2
vinayteki95 Jan 22, 2025
5192d51
chore: add unit tests, fix docs
vinayteki95 Feb 6, 2025
7560be5
chore: remove deprecated adjust code
vinayteki95 Feb 13, 2025
6b8fb99
chore: migrate tests to v2 for adjust
vinayteki95 Feb 14, 2025
5100e92
chore: revert go changes to same as develop
vinayteki95 Feb 14, 2025
c200518
chore: update flatten params function and improve tests structure
vinayteki95 Feb 14, 2025
711e18b
fix: content_price should be a number with decimal point in twitter a…
manish339k Feb 17, 2025
77bcd2f
refactor: adjust webhook v2 (#4079)
vinayteki95 Feb 17, 2025
3aa2290
chore: now fetching docker hub token from DOCKERHUB_TOKEN instead of …
sandeepdsvs Feb 17, 2025
c272267
chore(deps): bump koa from 2.15.3 to 2.15.4 (#4071)
dependabot[bot] Feb 17, 2025
8ddbbe6
chore(release): 1.91.0
web-flow Feb 17, 2025
69d1b45
chore(release): pull release/v1.91.0 into main (#4082)
sandeepdsvs Feb 18, 2025
fae16fb
chore(release): pull main into develop post release v1.91.0 (#4089)
ItsSudip Feb 19, 2025
17ff7f9
fix: snapchat util function for normalizing phone number (#4093)
ItsSudip Feb 19, 2025
412484b
chore(release): 1.91.1
web-flow Feb 19, 2025
aed87ce
chore(release): pull hotfix-release/v1.91.1 into main (#4094)
ItsSudip Feb 19, 2025
58738ba
chore(release): pull main into develop post release v1.91.1 (#4095)
ItsSudip Feb 19, 2025
fb5bedc
chore: update google ads api version from 17 to 18 (#4084)
ItsSudip Feb 20, 2025
558eab6
feat: id stitching improvement in shopify pixel transformations (#4060)
yashasvibajpai Feb 20, 2025
d9eb0c5
fix: mixpanel ios property mapping ios_app_release and ios_app_versio…
manish339k Feb 21, 2025
7d61ef3
chore: update linkedin ads api version to latest 202502
manish339k Feb 21, 2025
c1d3100
chore: modify all test cases to use v2 spec
vinayteki95 Feb 17, 2025
0e83a0a
refactor: few sources migrated to v2 completely
vinayteki95 Feb 17, 2025
3d3230b
chore: fix code smells
vinayteki95 Feb 18, 2025
c535947
chore: unit test cases added to improve codecov
vinayteki95 Feb 19, 2025
e912a98
chore: appsflyer utility test cases
vinayteki95 Feb 20, 2025
5431485
chore: simplify test cases, swagger updates
vinayteki95 Feb 24, 2025
ff316ee
chore: swagger docs example modifications
vinayteki95 Feb 24, 2025
4b6cc23
chore: swagger docs example modifications
vinayteki95 Feb 24, 2025
f29d0be
chore: sources v2 migration batch1 (#4107)
vinayteki95 Feb 24, 2025
b11e180
chore(release): 1.91.2
web-flow Feb 24, 2025
5780fcf
chore: update error function ref (#4105)
utsabc Feb 24, 2025
b35a651
chore(release): pull hotfix-release/v1.91.2 into main (#4108)
manish339k Feb 24, 2025
6999b0a
chore(release): pull main into develop post release v1.91.2 (#4109)
manish339k Feb 24, 2025
cd1dd8e
chore: allow identify calls for either both ids or customer object (#…
yashasvibajpai Feb 24, 2025
f67fb73
chore: update linkedin ads api version to 202409 from 202502
manish339k Feb 24, 2025
fe23621
chore(release): 1.91.3
web-flow Feb 25, 2025
ebd305b
chore(release): pull hotfix-release/v1.91.3 into main (#4112)
yashasvibajpai Feb 25, 2025
2d129a7
feat: zoho vdmv2 (#4096)
am6010 Feb 25, 2025
3ccb9f9
chore: upgrade node version to 20 (#4076)
koladilip Feb 25, 2025
ee675a4
chore(release): pull main into develop post release v1.91.3 (#4113)
manish339k Feb 25, 2025
09e9cb7
chore: add missing library and integration label to checkout identify…
yashasvibajpai Feb 25, 2025
dab07f0
chore: add test case filter support (#4115)
koladilip Feb 27, 2025
070d120
chore: cherry pick files, sources v2 migration completely
vinayteki95 Feb 27, 2025
67f7c95
chore: cherry pick files, sources v2 migration completely (#4120)
vinayteki95 Feb 27, 2025
65a4707
chore(release): 1.91.4
web-flow Feb 27, 2025
a3a613e
chore(release): pull hotfix-release/v1.91.4 into main (#4121)
vinayteki95 Feb 27, 2025
5ada03d
Merge branch 'main' into chore.main-backmerge-conflicts
vinayteki95 Feb 28, 2025
82caffd
chore: main backmerge conflicts (#4125)
vinayteki95 Feb 28, 2025
b991017
fix: added missing email check during primary email id filtering in z…
manish339k Feb 28, 2025
f7ed9a4
fix: add module in the search url path for zoho (#4126)
am6010 Feb 28, 2025
94611c9
fix: mailjet handling of v2 spec
vinayteki95 Feb 28, 2025
b19a6af
chore(release): 1.91.5
web-flow Feb 28, 2025
4cc1223
fix: mailjet test case modifications
vinayteki95 Feb 28, 2025
e36db15
chore(release): pull hotfix-release/v1.91.5 into main (#4128)
vinayteki95 Feb 28, 2025
465f2ea
chore(release): pull main into develop post release v1.91.5 (#4129)
vinayteki95 Feb 28, 2025
2943b3d
feat: remove consent from db-config and add store sales to integratio…
ItsSudip Mar 3, 2025
bbb969b
fix: vs code debugger config (#4130)
koladilip Mar 3, 2025
32bc390
chore: logging payload schema during source transformation error (#4127)
manish339k Mar 3, 2025
bcb98e1
feat: added event validation in braze source (#4104)
manish339k Mar 3, 2025
ed717f5
chore(release): 1.92.0
web-flow Mar 3, 2025
cdee5e0
chore(release): pull release/v1.92.0 into main (#4131)
yashasvibajpai Mar 4, 2025
fb59ae2
chore: add request details in context
vinayteki95 Mar 4, 2025
fc860cf
chore(release): pull main into develop post release v1.92.0 (#4136)
ItsSudip Mar 5, 2025
3392ed0
chore: remove statsd (#4139)
koladilip Mar 5, 2025
8f9463a
chore: update api version in facebook destinations
manish339k Mar 6, 2025
2163357
chore: replace secrets in test cases with constants (#4133)
vinayteki95 Mar 6, 2025
9031543
chore: mask secrets in headers 2 (#4142)
koladilip Mar 6, 2025
d45f089
Merge branch 'develop' into chore.fb_destinations_api_version
koladilip Mar 6, 2025
2c67c9a
fix(destination): use coql api to delete record for zoho (#4134)
maheshkutty Mar 6, 2025
29175ac
fix: marketo get auth token cache issue (#4140)
koladilip Mar 6, 2025
835473f
Merge branch 'develop' into chore.fb_destinations_api_version
manish339k Mar 7, 2025
d229185
chore: fix allure workflow (#4144)
koladilip Mar 7, 2025
cd3c5d2
Merge branch 'develop' into chore.fb_destinations_api_version
koladilip Mar 7, 2025
21c8562
chore: update tagged participants in gh new release workflow (#4138)
yashasvibajpai Mar 7, 2025
3aae1cb
fix: wrong method during update call when dont batch true (#4146)
manish339k Mar 7, 2025
2ec134a
chore(release): 1.92.1
web-flow Mar 7, 2025
6612388
chore(release): pull hotfix-release/v1.92.1 into main (#4147)
manish339k Mar 7, 2025
bc177e8
chore(release): pull main into develop post release v1.92.1 (#4148)
yashasvibajpai Mar 7, 2025
8bd2c6c
chore: fixing hs component test to use masked secret (#4150)
manish339k Mar 10, 2025
5edfbb8
feat(destination): pass object data in event for moengage (#4111)
maheshkutty Mar 10, 2025
7e54fa2
feat: onboarding new source facebook lead ads (#4132)
manish339k Mar 10, 2025
202f244
chore: use the new intgration lib in zoho vdmv2 implementation (#4151)
am6010 Mar 10, 2025
6c458a2
chore(release): 1.93.0
web-flow Mar 10, 2025
ae0032c
Merge branch 'develop' into chore.fb_destinations_api_version
manish339k Mar 11, 2025
d5f005c
chore: update api version in facebook destinations (#4141)
manish339k Mar 11, 2025
39f670d
chore: add skipping support to component test (#4157)
koladilip Mar 12, 2025
f81a9f2
chore(release): pull release/v1.93.0 into main (#4153)
yashasvibajpai Mar 12, 2025
a66cdd8
chore(release): pull main into develop post release v1.93.0 (#4158)
yashasvibajpai Mar 12, 2025
8aad46f
feat: onboarding new destination accoil analytics (#4156)
manish339k Mar 12, 2025
2167959
chore(deps): bump moment-timezone from 0.5.44 to 0.5.47 (#4033)
dependabot[bot] Mar 12, 2025
24f9744
chore: update ajv package to latest (#4160)
maheshkutty Mar 12, 2025
5d3b226
fix: add 2655 error handling to fb error handler at proxy (#4152)
yashasvibajpai Mar 13, 2025
88ecd02
Merge branch 'develop' into chore.generic-webhook-enhancements
vinayteki95 Mar 17, 2025
42b98f0
chore: putRequestDetailsInContext flag based context
vinayteki95 Mar 17, 2025
6f7dde1
chore: simplify setting context key
vinayteki95 Mar 17, 2025
0d316fe
chore: use common flattenParams utility from lib for fb lead ads and …
manish339k Mar 17, 2025
b7423a4
chore: flatten headers and params - product requirement
vinayteki95 Mar 18, 2025
83f5362
Merge branch 'develop' into chore.generic-webhook-enhancements
vinayteki95 Mar 18, 2025
e3a266a
chore: re-order folder structure for types (#4090)
utsabc Mar 18, 2025
b0991ef
Merge branch 'develop' into chore.generic-webhook-enhancements
vinayteki95 Mar 18, 2025
750a108
chore: use github cli to create pull request (#4172)
maheshkutty Mar 18, 2025
25bfc18
chore(release): 1.94.0
web-flow Mar 18, 2025
ae83eb6
fix: customer io audience id type (#4179)
koladilip Mar 19, 2025
8d27b09
chore(release): pull release/v1.94.0 into main (#4176)
maheshkutty Mar 19, 2025
131759c
Merge branch 'develop' into chore.generic-webhook-enhancements
vinayteki95 Mar 19, 2025
0073502
chore: add request details in context (#4137)
vinayteki95 Mar 19, 2025
551b0e2
chore(release): pull main into develop post release v1.94.0 (#4180)
vinayteki95 Mar 20, 2025
4afce03
chore: onboard am to proxy (#4110)
yashasvibajpai Mar 20, 2025
eeb7a50
chore: add au data center
vinayteki95 Mar 20, 2025
d641594
chore: add au data center for braze (#4185)
vinayteki95 Mar 20, 2025
21d4fa7
Merge branch 'develop' of https://github.com/rudderlabs/rudder-transf…
sumitsheokand Mar 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/

Check warning on line 1 in .eslintignore

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.
.husky/
reports/
test/
Expand Down Expand Up @@ -26,3 +26,5 @@
.eslintignore
.prettierignore
*.json
Dockerfile*
*.properties
114 changes: 114 additions & 0 deletions .github/workflows/allure-test-reporter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Allure Test Reporter

Check warning on line 1 in .github/workflows/allure-test-reporter.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on:
pull_request:
types:
- opened
- reopened
- synchronize

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true

permissions:
id-token: write
contents: write # Required for gh-pages deployment

jobs:
test_and_publish:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4.2.1

- name: Setup Node
uses: actions/setup-node@v4.0.4
with:
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Run Tests and Generate Report
run: |
npm run test:ts:silent

- name: Install Allure
run: npm install -g allure-commandline

- name: Generate Allure Report
run: |
REPO_NAME=$(basename ${{ github.repository }})
PR_NUMBER=${{ github.event.pull_request.number }}
REPORT_FOLDER="${REPO_NAME}/${PR_NUMBER}"
allure generate allure-results --clean -o "${REPORT_FOLDER}"
echo "REPORT_FOLDER=${REPORT_FOLDER}" >> $GITHUB_ENV # Persist this variable

- name: Checkout Reports Repository
uses: actions/checkout@v4
with:
repository: rudderlabs/test-reports
token: ${{ secrets.PAT }}
path: test-reports

- name: Copy Allure Report to Reports Repository
run: |
mkdir -p "test-reports/$REPORT_FOLDER"
cp -r $REPORT_FOLDER/* test-reports/$REPORT_FOLDER/

- name: Cleanup Old Reports (Keep Only Last 50)
run: |
REPO_NAME=$(basename ${{ github.repository }})
cd test-reports/${REPO_NAME}
ls -t | tail -n +51 | xargs rm -rf || echo "No old reports to delete"

- name: Commit and Push Report
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
cd test-reports
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"

# Stash any unstaged changes before pulling
git add .
git stash || echo "No changes to stash"

# Pull latest changes safely
git pull --rebase origin main

# Apply the stashed changes back
git stash pop || echo "No stash to apply"

# Commit new report if there are changes
git add .
git commit -m "chore: add allure report for $REPORT_FOLDER" || echo "No changes to commit"

# Push changes with retry logic
for i in {1..5}; do
git push origin main && break || sleep 5
git pull --rebase origin main
done

- name: Add Test Report Link as Comment on PR
uses: actions/github-script@v7
with:
github-token: ${{ secrets.PAT }}
script: |
const { owner, repo } = context.repo;
const prNumber = context.payload.pull_request.number;

const reportFolder = process.env.REPORT_FOLDER; // Read from environment variable
const commentBody = `Allure Test reports for this run are available at:
- Allure Report: [View Report](https://rudderlabs.github.io/test-reports/${reportFolder}/index.html)`;

// Comment on the pull request
await github.rest.issues.createComment({
owner,
repo,
issue_number: prNumber,
body: commentBody
});
10 changes: 5 additions & 5 deletions .github/workflows/build-push-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Transformer Docker Image

Check warning on line 1 in .github/workflows/build-push-docker-image.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on:
workflow_call:
Expand Down Expand Up @@ -33,7 +33,7 @@
workflow_url:
type: string
secrets:
DOCKERHUB_PROD_TOKEN:
DOCKERHUB_TOKEN:
required: true
DOCKERHUB_USERNAME:
required: true
Expand Down Expand Up @@ -101,7 +101,7 @@
with:
ref: ${{ needs.get_sha.outputs.sha }}
fetch-depth: 1

- name: Login to DockerHub
uses: docker/login-action@v3.3.0
with:
Expand Down Expand Up @@ -154,12 +154,12 @@
with:
ref: ${{ needs.get_sha.outputs.sha }}
fetch-depth: 1

- name: Login to DockerHub
uses: docker/login-action@v3.3.0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PROD_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.7.1
Expand Down Expand Up @@ -207,7 +207,7 @@
uses: docker/login-action@v3.3.0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PROD_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.7.1
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/component-test-report.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/create-hotfix-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create New Hotfix Branch

Check warning on line 1 in .github/workflows/create-hotfix-branch.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on:
workflow_dispatch:
Expand All @@ -13,7 +13,7 @@
runs-on: ubuntu-latest

# Only allow these users to create new hotfix branch from 'main'
if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'koladilip' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'utsabc') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'koladilip' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'sanpj2292' || github.triggering_actor == 'utsabc')
if: github.ref == 'refs/heads/main' && (github.actor == 'vinayteki95' || github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'koladilip' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'utsabc') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'koladilip' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'sanpj2292' || github.triggering_actor == 'utsabc' || github.triggering_actor == 'vinayteki95')
steps:
- name: Create Branch
uses: peterjgrainger/action-create-branch@v2.4.0
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Draft New Release

Check warning on line 1 in .github/workflows/draft-new-release.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on: workflow_dispatch

Expand All @@ -8,7 +8,7 @@
runs-on: ubuntu-latest

# Only allow release stakeholders to initiate releases
if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'koladilip' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'yashasvibajpai' || github.actor == 'sanpj2292' || github.actor == 'utsabc') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'koladilip' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'yashasvibajpai' || github.triggering_actor == 'sanpj2292' || github.triggering_actor == 'utsabc')
if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'sandeepdsvs' || github.actor == 'koladilip' || github.actor == 'yashasvibajpai' || github.actor == 'sanpj2292' || github.actor == 'utsabc' || github.actor == 'vinayteki95') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'koladilip' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'yashasvibajpai' || github.triggering_actor == 'sanpj2292' || github.triggering_actor == 'utsabc')
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand Down Expand Up @@ -79,10 +79,11 @@
git push

- name: Create Pull Request
uses: repo-sync/pull-request@v2.12.1
with:
source_branch: ${{ steps.create-release.outputs.branch_name }}
destination_branch: 'main'
github_token: ${{ secrets.PAT }}
pr_title: 'chore(release): pull ${{ steps.create-release.outputs.branch_name }} into main'
pr_body: ':crown: *An automated PR*'
run: |
gh pr create \
--base main \
--head "${{ steps.create-release.outputs.branch_name }}" \
--title "chore(release): pull ${{ steps.create-release.outputs.branch_name }} into main" \
--body ":crown: *An automated PR*"
env:
GH_TOKEN: ${{ secrets.PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-dev-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prepare for Dev Environment Deployment

Check warning on line 1 in .github/workflows/prepare-for-dev-deploy.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on:
pull_request:
Expand Down Expand Up @@ -77,4 +77,4 @@
secrets:
DOCKERHUB_PROD_TOKEN: ${{ secrets.DOCKERHUB_PROD_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/prepare-for-prod-dt-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prepare for DT Production Environment Deployment

Check warning on line 1 in .github/workflows/prepare-for-prod-dt-deploy.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on:
push:
Expand Down Expand Up @@ -161,29 +161,29 @@

cd customer-objects

declare -a enabled_ut_customers=()
declare -a enabled_dt_customers=()
declare -a sub_directories=('enterprise-us' 'enterprise-eu')

# identify the customers enabled in sub-directories
for directory in "${sub_directories[@]}"; do
for f in "./$directory"/*; do
[[ -f $f ]] || continue

enabled="$(yq e '.spec.user_transformer.enabled' $f)"
enabled="$(yq e '.spec.transformer.enabled' $f)"
if [ $enabled == "true" ]; then
enabled_ut_customers+=( $f )
enabled_dt_customers+=( $f )
fi
done
done

# bump up the customers version and repository information
for customer in "${enabled_ut_customers[@]}"; do
yq eval -i ".spec.user_transformer.image.version=\"$TAG_NAME\"" $customer
yq eval -i ".spec.user_transformer.image.repository=\"$TF_IMAGE_REPOSITORY\"" $customer
for customer in "${enabled_dt_customers[@]}"; do
yq eval -i ".spec.transformer.image.version=\"$TAG_NAME\"" $customer
yq eval -i ".spec.transformer.image.repository=\"$TF_IMAGE_REPOSITORY\"" $customer
git add $customer
done

git commit -m "chore: upgrade dedicated transformers to $TAG_NAME"
git commit -m "chore: upgrade dedicated dt transformers to $TAG_NAME"
git push -u origin dedicated-transformer-$TAG_NAME

gh pr create --fill
38 changes: 38 additions & 0 deletions .github/workflows/prepare-for-prod-ut-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prepare for UT Production Environment Deployment

Check warning on line 1 in .github/workflows/prepare-for-prod-ut-deploy.yml

View workflow job for this annotation

GitHub Actions / Check for formatting & lint errors

File ignored by default.

on:
push:
Expand Down Expand Up @@ -29,6 +29,7 @@
if: ((startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix-release/') || startsWith(github.event.pull_request.head.ref, 'master')) && github.event.pull_request.merged == true)
outputs:
tag_name_ut: ${{ steps.gen_tag_names.outputs.tag_name_ut }}
tag_name: ${{ steps.gen_tag_names.outputs.tag_name }}
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand Down Expand Up @@ -73,6 +74,7 @@
needs: [generate-tag-names, build-user-transformer-image]
env:
UT_TAG_NAME: ${{ needs.generate-tag-names.outputs.tag_name_ut }}
TAG_NAME: ${{ needs.generate-tag-names.outputs.tag_name }}
TF_IMAGE_REPOSITORY: rudderstack/rudder-transformer
steps:
- name: Checkout
Expand Down Expand Up @@ -136,3 +138,39 @@
git push -u origin hosted-user-transformer-$UT_TAG_NAME

gh pr create --fill

- name: Update helm charts and raise pull request for enterprise customers on dedicated transformers
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
cd rudder-devops
git checkout -b dedicated-user-transformer-$TAG_NAME

cd customer-objects

declare -a enabled_ut_customers=()
declare -a sub_directories=('enterprise-us' 'enterprise-eu')

# identify the customers enabled in sub-directories
for directory in "${sub_directories[@]}"; do
for f in "./$directory"/*; do
[[ -f $f ]] || continue

enabled="$(yq e '.spec.user_transformer.enabled' $f)"
if [ $enabled == "true" ]; then
enabled_ut_customers+=( $f )
fi
done
done

# bump up the customers version and repository information
for customer in "${enabled_ut_customers[@]}"; do
yq eval -i ".spec.user_transformer.image.version=\"$TAG_NAME\"" $customer
yq eval -i ".spec.user_transformer.image.repository=\"$TF_IMAGE_REPOSITORY\"" $customer
git add $customer
done

git commit -m "chore: upgrade dedicated user transformers to $TAG_NAME"
git push -u origin dedicated-user-transformer-$TAG_NAME

gh pr create --fill
Loading
Loading