Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
4c21fc4
rzp dockerhub ci flow
Sunn-y-Arora Oct 12, 2021
78c2ac6
rzp dockerhub ci flow
Sunn-y-Arora Oct 12, 2021
8f93360
added registry, tag
Sunn-y-Arora Oct 12, 2021
f9e6675
updated namesapce
Sunn-y-Arora Oct 12, 2021
dbfe1a2
updated name for tagging with sha
Sunn-y-Arora Oct 12, 2021
715c5b2
updated namespace
Sunn-y-Arora Oct 12, 2021
0576671
wrong workflow changes reverted
Sunn-y-Arora Oct 12, 2021
62a838c
temp disable run test
Sunn-y-Arora Oct 12, 2021
58c0a6e
update config for build images
Sunn-y-Arora Oct 12, 2021
ac1aa06
updaing dockerBuild
Sunn-y-Arora Oct 13, 2021
aba672c
updating workflow
Sunn-y-Arora Oct 13, 2021
f10eeb3
spotless apply
Sunn-y-Arora Oct 13, 2021
fae2951
spotless apply
Sunn-y-Arora Oct 13, 2021
af2ad3d
debugging
Sunn-y-Arora Oct 13, 2021
3e34573
commit sha ffrom env
Sunn-y-Arora Oct 13, 2021
88518cf
missing var
Sunn-y-Arora Oct 13, 2021
0dcce42
removing debug log
Sunn-y-Arora Oct 13, 2021
ef41474
Fix image names
suddendust Apr 26, 2022
23a0650
Mock commit hash
suddendust Apr 26, 2022
f603f1e
Revert "Mock commit hash"
suddendust Apr 26, 2022
3e4bb1b
Fix for extra string "razorpay" in image names
suddendust Apr 27, 2022
3676c91
Merge pull request #4 from razorpay/ga_workflow_test
suddendust Apr 27, 2022
d6b4d65
PII redaction
suddendust May 11, 2022
547f985
Add containsPIITags tag
suddendust May 11, 2022
f3e4012
Fix config file
suddendust May 11, 2022
6237c99
Fix config file
suddendust May 11, 2022
9384c4d
Change docker image name
suddendust May 11, 2022
030aee3
Remove docker registry name from build
suddendust May 11, 2022
52f4ca0
Merge branch 'rzp_main' into upstream_merge_helper
suddendust May 11, 2022
c8de08e
Merge pull request #7 from razorpay/upstream_merge_helper
suddendust May 12, 2022
e9462fc
Merge branch 'rzp_main' into redaction
suddendust May 12, 2022
f2e530d
Merge pull request #6 from razorpay/redaction
suddendust May 12, 2022
7cf58db
workflow fix test
Harnoor-se7en May 19, 2022
0a46d4f
workflow fix test
Harnoor-se7en May 19, 2022
cfcf826
workflow fix
Harnoor-se7en May 19, 2022
f9716c7
test
Harnoor-se7en May 19, 2022
1e48344
test
Harnoor-se7en May 19, 2022
b72b62e
finally fixed
Harnoor-se7en May 19, 2022
5a3f85a
fixed
Harnoor-se7en May 19, 2022
a17dc92
image tag name fix
Harnoor-se7en May 19, 2022
3731e4e
test
Harnoor-se7en May 19, 2022
43125a6
Merge pull request #10 from razorpay/fix/workflows
Harnoor-se7en May 20, 2022
09f7baa
regex support + metrics (#9)
Harnoor-se7en May 30, 2022
99f149c
WIP
suddendust Jun 2, 2022
e584869
Enricher
suddendust Jun 2, 2022
ec7f7a6
Add UT
suddendust Jun 9, 2022
0de84b3
Fix tag name
suddendust Jun 9, 2022
6f3bbe1
Add additional UTs
suddendust Jun 10, 2022
ef4e5b1
Rename enricher
suddendust Jun 10, 2022
44403d3
Rename tag
suddendust Jun 10, 2022
7757551
Enhance UTs
suddendust Jun 10, 2022
5791c5d
WIP
suddendust Jun 10, 2022
2822652
Trigger build
suddendust Jun 13, 2022
eddb41c
Merge branch 'rzp_main' into internal_time
suddendust Jun 13, 2022
2d039d2
Spotless
suddendust Jun 13, 2022
29214aa
Fix failing test
suddendust Jun 13, 2022
d5fe002
Github action for release having docker Image with Tag as version num…
TriptiTripathi1234 Jul 25, 2022
158eb5a
mock PR to test release github action (#29)
TriptiTripathi1234 Jul 25, 2022
752dd66
Enable Dependabot (#33)
TriptiTripathi1234 Aug 25, 2022
1e6a206
changes for codecov (#42)
TriptiTripathi1234 Aug 25, 2022
48e506f
Merge branch 'rzp_main' into internal_time
suddendust Sep 1, 2022
f3b5a44
Log apiNodeList
suddendust Sep 1, 2022
acee4ad
spotless
suddendust Sep 1, 2022
7b96d2f
ServiceInternalProcessingTimeEnricher changes to accommodate HTTP bac…
suddendust Sep 5, 2022
f6a256d
Spotless
suddendust Sep 5, 2022
fbf32a9
Added CHANGELOG.md
suddendust Sep 8, 2022
ec4ebb7
Merge pull request #46 from razorpay/fork-rel-0.1.0
suddendust Sep 8, 2022
dc0bc4a
Handle exception
suddendust Sep 8, 2022
c910426
Merge pull request #12 from razorpay/internal_time
suddendust Sep 8, 2022
5c52553
Spotless
suddendust Sep 8, 2022
546cd6d
Mock change
suddendust Sep 8, 2022
7540fea
Merge pull request #48 from razorpay/fix_build-2
suddendust Sep 8, 2022
e68e89d
rel 0.6.40-0.2.0
suddendust Sep 8, 2022
92601e7
Merge pull request #49 from razorpay/rel-0.6.40-0.2.0
suddendust Sep 8, 2022
161035d
Adds resource enrichment (#58)
Harnoor-se7en Sep 28, 2022
2a40380
gives new release 0.6.40-0.3.0 (#59)
Harnoor-se7en Sep 28, 2022
ed3a852
test h1
manikandan-rajappan Sep 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
6 changes: 4 additions & 2 deletions .github/workflows/docker-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: e2e test
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request_target:
Expand Down Expand Up @@ -42,6 +40,8 @@ jobs:
uses: hypertrace/github-actions/gradle@main
with:
args: dockerBuildImages
env:
IMAGE_TAG: ${{ github.sha }}

- name: Verify hypertrace image
working-directory: ./.github/workflows/hypertrace-ingester
Expand Down Expand Up @@ -88,6 +88,8 @@ jobs:
uses: hypertrace/github-actions/gradle@main
with:
args: dockerBuildImages
env:
IMAGE_TAG: ${{ github.sha }}

- name: Verify hypertrace image
working-directory: ./.github/workflows/hypertrace-ingester
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/merge-publish.yml

This file was deleted.

92 changes: 49 additions & 43 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
name: build and validate
on:
push:
branches:
- main
pull_request_target:
branches:
- main

- rzp_main
jobs:
build:
validate-avros:
runs-on: ubuntu-20.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v2.3.4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0

- name: create checksum file
uses: hypertrace/github-actions/checksum@main

Expand All @@ -31,24 +28,17 @@ jobs:
gradle-packages-${{ runner.os }}-${{ github.job }}
gradle-packages-${{ runner.os }}

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_READ_USER }}
password: ${{ secrets.DOCKERHUB_READ_TOKEN }}

- name: Build with Gradle
- name: validate avros
uses: hypertrace/github-actions/gradle@main
with:
args: build -x avroCompatibilityCheck dockerBuildImages

with:
args: avroCompatibilityCheck
validate-helm-charts:
runs-on: ubuntu-20.04
container:
container:
image: hypertrace/helm-gcs-packager:0.3.1
credentials:
username: ${{ secrets.DOCKERHUB_READ_USER }}
password: ${{ secrets.DOCKERHUB_READ_TOKEN }}
username: ${{ secrets.PUBLIC_DOCKER_USERNAME }}
password: ${{ secrets.PUBLIC_DOCKER_PASSWORD }}
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
steps:
- name: Check out code
Expand All @@ -60,29 +50,10 @@ jobs:

- name: validate charts
run: ./.github/workflows/helm.sh validate

snyk-scan:
runs-on: ubuntu-20.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v2.3.4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0
- name: Setup snyk
uses: snyk/actions/setup@0.3.0
- name: Snyk test
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$' --remote-repo-url='${{ github.server_url }}/${{ github.repository }}.git'
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
GRADLE_OPTS: -Dorg.gradle.workers.max=1

validate-avros:
build:
runs-on: ubuntu-20.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v2.3.4
with:
Expand All @@ -102,7 +73,42 @@ jobs:
gradle-packages-${{ runner.os }}-${{ github.job }}
gradle-packages-${{ runner.os }}

- name: validate avros
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.PUBLIC_DOCKER_USERNAME }}
password: ${{ secrets.PUBLIC_DOCKER_PASSWORD }}

- name: Build with Gradle
uses: hypertrace/github-actions/gradle@main
with:
args: avroCompatibilityCheck
args: build dockerBuildImages
env:
IMAGE_TAG: ${{ github.sha }}

- name: push docker image
uses: hypertrace/github-actions/gradle@main
with:
args: dockerPushImages
env:
DOCKER_USERNAME: ${{ secrets.PUBLIC_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.PUBLIC_DOCKER_PASSWORD }}
IMAGE_TAG: ${{ github.sha }}

# snyk-scan:
# runs-on: ubuntu-20.04
# steps:
# # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
# - name: Check out code
# uses: actions/checkout@v2.3.4
# with:
# ref: ${{github.event.pull_request.head.ref}}
# repository: ${{github.event.pull_request.head.repo.full_name}}
# fetch-depth: 0
# - name: Setup snyk
# uses: snyk/actions/setup@0.3.0
# - name: Snyk test
# run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$' --remote-repo-url='${{ github.server_url }}/${{ github.repository }}.git'
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# GRADLE_OPTS: -Dorg.gradle.workers.max=1
19 changes: 10 additions & 9 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: test
on:
push:
pull_request_target:
branches:
- main
pull_request:

- rzp_main
# disabling while testing ci flow
jobs:
test:
runs-on: ubuntu-20.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0

- name: create checksum file
uses: hypertrace/github-actions/checksum@main

Expand All @@ -29,7 +29,7 @@ jobs:

- name: Unit test
uses: hypertrace/github-actions/gradle@main
with:
with:
args: jacocoTestReport

- name: Upload coverage to Codecov
Expand All @@ -38,9 +38,10 @@ jobs:
name: unit test reports
flags: unit


- name: copy test reports
uses: hypertrace/github-actions/gradle@main
with:
with:
args: copyAllReports --output-dir=/tmp/test-reports

- name: Archive test reports
Expand All @@ -49,10 +50,10 @@ jobs:
name: test-reports
path: /tmp/test-reports
if: always()

- name: Publish Unit Test Results
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: ./**/build/test-results/**/*.xml
files: ./**/build/test-results/**/*.xml
79 changes: 0 additions & 79 deletions .github/workflows/publish.yml

This file was deleted.

Loading