forked from rudderlabs/rudder-transformer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/rudderlabs/rudder-transf…
…ormer into technocrats/ONCEHUB-91196
- Loading branch information
Showing
392 changed files
with
38,921 additions
and
73,831 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
should_execute_tests: ${{ steps.processing.outputs.should_execute_tests }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 1 | ||
- id: files | ||
|
@@ -97,23 +97,22 @@ jobs: | |
needs: [get_sha, get_changed_files] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
ref: ${{ needs.get_sha.outputs.sha }} | ||
fetch-depth: 1 | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
|
||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
registry: dockeronce.azurecr.io | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Build Docker Image | ||
uses: docker/build-push-action@v6.7.0 | ||
uses: docker/build-push-action@v6.9.0 | ||
with: | ||
context: . | ||
file: ${{ inputs.dockerfile }} | ||
|
@@ -130,7 +129,7 @@ jobs: | |
docker run ${{ inputs.build_tag }} npm run test:ts:ci | ||
- name: Build and Push Multi-platform Images | ||
uses: docker/build-push-action@v6.7.0 | ||
uses: docker/build-push-action@v6.9.0 | ||
with: | ||
context: . | ||
file: ${{ inputs.dockerfile }} | ||
|
@@ -151,22 +150,22 @@ jobs: | |
needs: [get_sha, get_changed_files] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
ref: ${{ needs.get_sha.outputs.sha }} | ||
fetch-depth: 1 | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
|
||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ env.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Build Docker Image | ||
uses: docker/build-push-action@v6.7.0 | ||
uses: docker/build-push-action@v6.9.0 | ||
with: | ||
context: . | ||
file: ${{ inputs.dockerfile }} | ||
|
@@ -183,7 +182,7 @@ jobs: | |
docker run ${{ inputs.build_tag }} npm run test:ts:ci | ||
- name: Build and Push Multi-platform Images | ||
uses: docker/build-push-action@v6.7.0 | ||
uses: docker/build-push-action@v6.9.0 | ||
with: | ||
context: . | ||
file: ${{ inputs.dockerfile }} | ||
|
@@ -204,15 +203,15 @@ jobs: | |
needs: [build-transformer-image-amd64, build-transformer-image-arm64] | ||
|
||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ env.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PROD_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Create multi-arch manifest | ||
run: | | ||
docker buildx imagetools create -t ${{ inputs.push_tags }} ${{ inputs.push_tags }}-amd64 ${{ inputs.push_tags }}-arm64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,12 +27,12 @@ jobs: | |
aws-region: us-east-1 | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ jobs: | |
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') | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,12 @@ jobs: | |
tests_run_outcome: ${{steps.run_tests.outcome}} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 1 | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
@@ -58,14 +58,14 @@ jobs: | |
npm run lint:fix | ||
- name: Upload Coverage Reports to Codecov | ||
uses: codecov/codecov-action@v4.0.1 | ||
uses: codecov/codecov-action@v4.6.0 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
directory: ./reports/coverage | ||
|
||
- name: Upload TS Coverage Reports to Codecov | ||
uses: codecov/codecov-action@v4.0.1 | ||
uses: codecov/codecov-action@v4.6.0 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
|
@@ -80,7 +80,7 @@ jobs: | |
- name: SonarCloud Scan | ||
if: always() | ||
uses: SonarSource/sonarcloud-github-action@v3.0.0 | ||
uses: SonarSource/sonarcloud-github-action@v3.1.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PAT }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
|
||
- name: Delete Old Branches | ||
uses: beatlabs/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,12 +25,12 @@ jobs: | |
echo "release_version=$version" >> $GITHUB_OUTPUT | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
if: ${{ inputs.should_notify }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
|
||
- name: notify | ||
uses: slackapi/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,12 +25,12 @@ jobs: | |
run: go install sigs.k8s.io/[email protected] | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
uses: actions/checkout@v4.2.1 | ||
with: | ||
# Make sure the actual branch is checked out when running on pull requests | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: 'npm' | ||
|
@@ -33,9 +33,19 @@ jobs: | |
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Filter JS/TS Files | ||
run: | | ||
changed_files=$(echo "${{ steps.files.outputs.added_modified }}" | tr ' ' '\n' | grep -E '\.(js|ts|jsx|tsx)$' || true) | ||
if [ -z "$changed_files" ]; then | ||
echo "No JS/TS files to format or lint." | ||
exit 0 | ||
fi | ||
- name: Run format Checks | ||
run: | | ||
npx prettier ${{steps.files.outputs.added_modified}} --write | ||
if [ -s changed_files.txt ]; then | ||
npx prettier --write $(cat changed_files.txt) | ||
fi | ||
- run: git diff --exit-code | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.