Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove htc #238

Open
wants to merge 184 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
4f854aa
first commit
aaron-steinfeld Jul 8, 2020
5a192b8
fix: upgrade new jetty vulnerability
aaron-steinfeld Jul 11, 2020
9d1b296
fix: clean stray char in version string
aaron-steinfeld Jul 11, 2020
cfc65de
Merge pull request #1 from hypertrace/upgrade-vuln-jetty
aaron-steinfeld Jul 11, 2020
e4eba84
chore: update to Apache 2.0 License
tim-mwangi Jul 13, 2020
409abe9
Merge pull request #2 from hypertrace/update-license
tim-mwangi Jul 13, 2020
4be3ff0
Upgrade grpcutils for 0.1.3 to support binary headers
samarth-gupta-traceable Jul 28, 2020
5cdfa1c
Upgrade grpcutils for 0.1.3 to support binary headers
samarth-gupta-traceable Jul 28, 2020
b51ad0b
Merge pull request #3 from hypertrace/Upgrade_grpc_utils
aaron-steinfeld Jul 28, 2020
2a7ba8a
chore: upgrade docker plugin
laxmanchekka Jul 30, 2020
eb5a40c
Merge pull request #4 from hypertrace/docker-plugin-upgrade
aaron-steinfeld Jul 30, 2020
d35cae0
ci: update codeowners
aaron-steinfeld Jul 30, 2020
8dae216
Merge pull request #5 from hypertrace/update-codeowners
aaron-steinfeld Jul 31, 2020
e6c6f39
ci: update docker plugin version
aaron-steinfeld Jul 31, 2020
2819e7b
Merge pull request #6 from hypertrace/update-docker-plugin-version
aaron-steinfeld Jul 31, 2020
734760a
feat: expose groupability metadata on attributes
aaron-steinfeld Jul 31, 2020
40302e5
Merge pull request #7 from hypertrace/add-groupability
aaron-steinfeld Jul 31, 2020
b62ab1d
chore: upgrade docker plugin
aaron-steinfeld Aug 11, 2020
d5a56c8
Merge pull request #8 from hypertrace/upgrade-docker-plugin
aaron-steinfeld Aug 11, 2020
06fddc4
Locks Java to 11
Aug 17, 2020
40a4cad
fix: upgrade to non-vulernable grpc
aaron-steinfeld Aug 17, 2020
acd2bde
Merge pull request #10 from hypertrace/version-bumps
aaron-steinfeld Aug 17, 2020
393e947
Merge pull request #9 from hypertrace/lock-source
adriancole Aug 18, 2020
d083f32
added id argument as a primitive string argument (#11)
skjindal93 Aug 19, 2020
c06ef82
chore: switch from master to main
aaron-steinfeld Aug 23, 2020
afb7233
feat: add bounded io scheduler (#13)
aaron-steinfeld Sep 4, 2020
4ec17f7
update serviceframework version (#14)
samarth-gupta-traceable Sep 9, 2020
2ad528d
fix: add support for string array attribute type (#15)
tim-mwangi Sep 28, 2020
c4d4d6b
chore: update platform service framework (#17)
tim-mwangi Oct 13, 2020
1f5700b
fix: NPE due to service name getter override (#18)
tim-mwangi Oct 13, 2020
fb69118
chore: use gradle platforms to share versions (#16)
aaron-steinfeld Oct 14, 2020
c0da4f5
fix: propagate tracing context to downstream calls (#19)
aaron-steinfeld Oct 14, 2020
1c00c3f
chore: update gradle (#21)
aaron-steinfeld Oct 21, 2020
3bf42af
chore: update vulnerable grpc/netty dependency (#22)
aaron-steinfeld Oct 21, 2020
cdaf471
feat: add support for unknown scopes (#20)
aaron-steinfeld Oct 22, 2020
5d5cf1b
refactor: support string for id based filters (#23)
aaron-steinfeld Oct 22, 2020
1bb94a4
refactor: remove enum on responses in favor of string (#24)
aaron-steinfeld Oct 22, 2020
3b56839
fix: add backwards compatibility for existing scope names (#25)
aaron-steinfeld Oct 22, 2020
6dda805
chore: update guava (#27)
aaron-steinfeld Oct 27, 2020
9bf8020
Adds Time Scalar (#26)
inespo Oct 28, 2020
1ce4b26
ci: add dockerhub auth (#29)
ravisingal Oct 29, 2020
50398b9
Revert "Adds Time Scalar (#26)" (#31)
inespo Oct 30, 2020
9cffdc5
feat: support dynamic id mappings (#30)
aaron-steinfeld Oct 30, 2020
2b84ef4
chore: adds PR template (#32)
JBAhire Nov 5, 2020
76ddd69
feat: expoe if an attribute can be aggregated in metadata (#33)
aaron-steinfeld Nov 6, 2020
f62bc0b
fix: snyk ionetty vulberability warning (#34)
tim-mwangi Nov 22, 2020
3fc6578
chore: update dependencies (#35)
aaron-steinfeld Nov 30, 2020
f436073
chore: upgrade gateway service api (#36)
skjindal93 Dec 17, 2020
b10a84f
fix(attribute-map): default attribute value treated as null (#37)
skjindal93 Dec 18, 2020
2b1c58f
feat: add support for spaces (#38)
aaron-steinfeld Dec 27, 2020
ce6a575
fix: support a different arg name for plural args (#39)
aaron-steinfeld Dec 30, 2020
d251177
ci: migrating to GitHub actions (#40)
JBAhire Jan 7, 2021
095b466
ci: fix snyk args to match all configs (#41)
aaron-steinfeld Jan 7, 2021
2e6c0b8
fix: publish for docker images (#42)
JBAhire Jan 7, 2021
3c9f414
Updated gateway version (#43)
pavan-traceable Jan 8, 2021
8ddc5ef
feat: add duration scalar support (#44)
aaron-steinfeld Jan 12, 2021
7ac4df3
chore: remove unused deprecated code, deprecate more (#45)
aaron-steinfeld Jan 17, 2021
a02351b
chore: upgraded gateway service api (#46)
skjindal93 Jan 22, 2021
bfdbfe2
chore: update versions (#47)
aaron-steinfeld Feb 2, 2021
78a76fa
fix: uses checksum action from github-actions repository (#48)
JBAhire Feb 9, 2021
39ab486
added support for not in operator (#49)
skjindal93 Feb 12, 2021
8a03e41
Enforce style update vulns (#51)
aaron-steinfeld Mar 15, 2021
3cc26e6
chore: update gateway service api (#52)
aaron-steinfeld Mar 16, 2021
7df21a9
fix: attempting to fix race for channels on startup (#53)
aaron-steinfeld Mar 18, 2021
5ce7ad3
publish artifacts to hypertrace artifactory (#54)
ravisingal Apr 9, 2021
f627973
feat: Mock Api for log event (#55)
Apr 19, 2021
03df4ec
ci: fix codeowners, forked tests (#58)
aaron-steinfeld Apr 22, 2021
1e1c09e
feat: Integrate with Gateway log api (#56)
Apr 23, 2021
287f57e
feat: Capability to fetch logs along with span (#59)
Apr 28, 2021
e6a3738
feat: Add spanId attribute for span-log join query (#60)
Apr 29, 2021
ad3beb6
feat: add support for enum in UnknownScalar (#61)
GurtejSohi May 4, 2021
79c9a04
feat: adds support for exporting spans in otlp format (#62)
kotharironak May 13, 2021
ed010c8
refactor: add a simple context request to simplify queries (#63)
aaron-steinfeld May 17, 2021
87e678e
feat: add support for optional tyoe usage in schema (#65)
aaron-steinfeld May 25, 2021
fdd2e96
feat: enhance export api with log event data (#64)
kotharironak May 26, 2021
ae05224
fix: apply limit on span log fetch (#66)
aaron-steinfeld Jun 15, 2021
5d48c7b
refactor: deprecate graphql request context (#68)
aaron-steinfeld Jun 17, 2021
2b889a0
Gateway-Service Client Timeout Config (#70)
suddendust Jul 9, 2021
189b44f
Attribute Service Client Configurable Timeout (#71)
suddendust Jul 12, 2021
3673d47
feat: add support for request transformers (#72)
aaron-steinfeld Jul 23, 2021
7171477
Add labels config service as a dependency (#73)
saxenakshitiz Aug 27, 2021
0a1d5ff
Revert "Add labels config service as a dependency (#73)" (#75)
saxenakshitiz Aug 27, 2021
2edb271
Upgrade gradle version (#74)
Aug 27, 2021
d941520
refactor: use caching attribute client (#76)
aaron-steinfeld Sep 1, 2021
461fe95
refactor: use common channel registry (#77)
aaron-steinfeld Sep 3, 2021
f060ccc
Filter out internal attributes using the internal flag (#78)
ankitchoudhary111 Sep 24, 2021
c1bb407
Revert "Filter out internal attributes using the internal flag (#78)"…
skjindal93 Sep 27, 2021
2360aef
Revert "Revert "Filter out internal attributes using the internal fla…
skjindal93 Sep 28, 2021
29f5405
Update gateway service api version (#82)
saxenakshitiz Oct 28, 2021
f50dca8
feat: support internal attributes inside graphql (#81)
aaron-steinfeld Oct 28, 2021
e7d83ae
Upgrade grpc and grpc-utils version (#83)
saxenakshitiz Nov 11, 2021
e91dff6
Add offsetTime Scalar to Typefunction (#84)
pavan-traceable Dec 1, 2021
1a2bca4
fix: upgrade vulnerable log4j (#85)
aaron-steinfeld Dec 10, 2021
fe6868b
chore: upgrade log4j, netty, gradle (#87)
aaron-steinfeld Dec 18, 2021
dded099
upgrade log4j version to 2.17.0 (#88)
ravisingal Dec 18, 2021
89becda
Upgrade jackson version from 2.12.3 to 2.12.6 (#89)
saxenakshitiz Dec 27, 2021
a89535a
chore: upgrade log4j (#90)
skjindal93 Dec 29, 2021
7be2e98
Attribute expressions (#91)
aaron-steinfeld Jan 7, 2022
43f084b
refactor: attribute association expression rename (#92)
aaron-steinfeld Jan 9, 2022
23cb223
feat: expose config to change gql query timeout (#93)
aaron-steinfeld Jan 27, 2022
aafd996
Added binding for OperatorConverter class (#94)
singhalprerana Feb 10, 2022
a0d0a33
Updated grpc version deps (#96)
avinashkolluru Apr 5, 2022
35ca73c
Upgraded grpc and guava versions (#98)
singhalprerana Apr 25, 2022
49982fd
ENG-17101: Support array types beyond string array in Literal convert…
suresh-prakash May 6, 2022
74f3d81
Support for GrpcChannelConfig in GrpcChannelRegistry (#100)
suresh-prakash May 23, 2022
3466f5a
refactor: update dependencies (#103)
aaron-steinfeld Jun 10, 2022
5b612df
feat: parallelize requests by default (#102)
aaron-steinfeld Jun 10, 2022
47b1e94
feat: add CONTAINS_KEY_LIKE operator (#104)
GurtejSohi Jun 29, 2022
25000d1
refactor: use http service framework (#105)
aaron-steinfeld Jul 27, 2022
b3f39e7
refactor: use container-provided channel registry (#106)
aaron-steinfeld Aug 2, 2022
fd5b13d
refactor: add request id, change how registry is provided (#107)
aaron-steinfeld Sep 9, 2022
914fb0d
refactor: update jackson (#108)
aaron-steinfeld Sep 13, 2022
7b93309
chore: update gateway service version for DISTINCT operator support (…
SrikarMannepalli Sep 16, 2022
3584f91
feat: Add DISTINCT_ARRAY aggregation type (#110)
SrikarMannepalli Sep 19, 2022
5a32706
refactor: add ability to restore context (#111)
aaron-steinfeld Sep 23, 2022
d4c23db
fix: make stateful builder singleton, upgrade context (#112)
aaron-steinfeld Sep 28, 2022
ad5bb7a
chore | updating gateway service api version (#113)
aman-bansal Oct 3, 2022
8fc42ae
refactor: update core gql libs (#114)
aaron-steinfeld Oct 7, 2022
692e470
refactor: update protobuf version (#115)
aaron-steinfeld Oct 7, 2022
41cfb34
refactor: update grpc utils (#116)
aaron-steinfeld Oct 18, 2022
1f00fb9
feat: add key value pair (#117)
GurtejSohi Oct 31, 2022
127c5f5
Enhancements to the metadata schema (#118)
suresh-prakash Nov 10, 2022
e3ea1d2
Reduce the attribute metadata cache invalidation interval to 3 minute…
suresh-prakash Nov 24, 2022
e0b0148
Introduce the isCustom field and map it from the gRPC response (#120)
suresh-prakash Nov 24, 2022
c3b3473
Introduce cached create method in AttributeStore (#121)
suresh-prakash Nov 30, 2022
bc29e73
Introduce update and delete methods to the AttributeStore (#122)
suresh-prakash Dec 9, 2022
683b5a9
refactor: add a way to rebuild a rs request with new filters (#123)
aaron-steinfeld Dec 21, 2022
9da2a3f
fix: update grpc utils to clean up cves (#124)
aaron-steinfeld Dec 21, 2022
45ae555
fix | have distinct values in the id lookup table (#125)
aman-bansal Dec 26, 2022
6da79ef
Upgrade the gateway service version (#126)
suresh-prakash Jan 3, 2023
e46d2db
fix: unknown scalar not handling variable values (#127)
aaron-steinfeld Feb 3, 2023
73a8e8a
chore: Upgraded hypertrace framework version (#128)
singhalprerana Mar 2, 2023
7fd5a3e
refactor: expose not contains key operator (#129)
aaron-steinfeld Mar 3, 2023
99e6cf0
ci: update ci workflows (#130)
aaron-steinfeld Mar 3, 2023
18218f8
chore: update service-framework version (#131)
singhalprerana Mar 7, 2023
f0c59ef
chore: update graphql-java version (#132)
SrikarMannepalli Mar 28, 2023
a384ec2
chore: update graphql-java version (#133)
SrikarMannepalli Mar 28, 2023
9712c62
chore: add double array attribute type (#134)
SrikarMannepalli Apr 12, 2023
3e90c7a
refactor: replace deprecated context fetch (#135)
aaron-steinfeld Apr 17, 2023
eb6dc3e
refactor: update vulnerabilities (#136)
aaron-steinfeld Jun 19, 2023
7dec236
fix: update graphql java version (#137)
SrikarMannepalli Jun 19, 2023
1549134
fix: update gql java lib (#138)
aaron-steinfeld Jun 19, 2023
984a7e2
Updating grpcutils version to fix netty vuln (#139)
sanket-mundra Jun 22, 2023
5a8d6d3
feat: adding consumer support for new traces/spans api (#140)
kotharironak Jul 13, 2023
8ef6b66
chore(gateway-service): configurable max channel inbound message size…
skjindal93 Aug 2, 2023
70ad70a
chore | updating gateway service version (#142)
aman-bansal Aug 3, 2023
a4e7276
chore: upgrade grpc and grpcutils version due to vulns (#143)
GurtejSohi Aug 18, 2023
ee2d2c7
chore: update gradle plugins (#144)
ravisingal Sep 22, 2023
eee2612
chore: upgraded hypertrace grpc-utils version (#146)
singhalprerana Oct 19, 2023
6f68e95
Bom (#147)
aaron-steinfeld Nov 5, 2023
1e97a95
Update gradle locks (#149)
hypertrace-ci-app[bot] Nov 10, 2023
a4d5d5d
Update gradle locks (#150)
hypertrace-ci-app[bot] Nov 25, 2023
fd15f6e
chore | add support for multi filter arguments (#151)
aman-bansal Nov 27, 2023
beeb208
Revert "chore | add support for multi filter arguments (#151)" (#152)
aman-bansal Nov 27, 2023
6b980ed
fix: add support for deserializing zoned expressions (#153)
aaron-steinfeld Nov 30, 2023
ed421c1
Update gradle locks (#154)
hypertrace-ci-app[bot] Dec 1, 2023
50b0ff9
ci: update deps, suppressions (#156)
aaron-steinfeld Dec 5, 2023
11641e5
Update gradle locks (#157)
hypertrace-ci-app[bot] Dec 8, 2023
905727f
Update gradle locks (#158)
hypertrace-ci-app[bot] Dec 15, 2023
39dc256
Update gradle locks (#159)
hypertrace-ci-app[bot] Dec 22, 2023
95d7ea8
Update gradle locks (#160)
hypertrace-ci-app[bot] Jan 5, 2024
73a54c2
Update gradle locks (#161)
hypertrace-ci-app[bot] Jan 12, 2024
5998726
Update gradle locks (#163)
hypertrace-ci-app[bot] Jan 19, 2024
1597f9e
chore: add long and boolean array attribute type (#162)
GurtejSohi Jan 19, 2024
dd582cd
Update gradle to 8.5 (#164)
patelraj0602 Jan 25, 2024
504a2f7
add logical operator in hypertrace gql common schema (#165)
bhubam Feb 7, 2024
6eae17a
Update gradle locks (#166)
hypertrace-ci-app[bot] Feb 9, 2024
c8de1d3
Update gradle locks (#167)
hypertrace-ci-app[bot] Feb 19, 2024
633404e
Update gradle locks (#168)
hypertrace-ci-app[bot] Feb 19, 2024
8a357d6
Update settings.gradle.kts (#169)
sanket-mundra Feb 19, 2024
4420bc3
Update gradle locks (#170)
hypertrace-ci-app[bot] Feb 23, 2024
de98fa8
Added fetch attribute by id in Attribute Store (#171)
anujgoyal1 Mar 27, 2024
650d591
Update gradle locks (#172)
hypertrace-ci-app[bot] Mar 29, 2024
861071c
chore: add support to disable introspection (#173)
aaron-steinfeld Apr 5, 2024
3548c83
Update gradle locks (#175)
hypertrace-ci-app[bot] Apr 12, 2024
4df2934
Add SpanJoiner based on spanId (#176)
AnandShivansh May 23, 2024
d6b4b57
Update gradle locks (#178)
hypertrace-ci-app[bot] May 24, 2024
89ab3a0
chore | Add SpanJoiner based on list of spanId (#177)
AnandShivansh May 30, 2024
4202d01
Update gradle locks (#179)
hypertrace-ci-app[bot] May 31, 2024
36bd206
chore | Add support for providing filters in spanJoiner (#181)
AnandShivansh Jun 7, 2024
4501770
Update gradle locks (#182)
hypertrace-ci-app[bot] Jun 7, 2024
15da6ec
update catalog version (#183)
kishansairam9 Jun 7, 2024
37ecebf
remove hypertrace-core-graphql submodule
skjindal93 Jun 21, 2024
3931395
add hypertrace-core-graphql directory
skjindal93 Jun 21, 2024
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
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
[submodule "hypertrace-core-graphql"]
path = hypertrace-core-graphql
url = https://github.com/hypertrace/hypertrace-core-graphql.git
branch = main
1 change: 0 additions & 1 deletion hypertrace-core-graphql
Submodule hypertrace-core-graphql deleted from 15da6e
7 changes: 7 additions & 0 deletions hypertrace-core-graphql/.github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Each line is a file pattern followed by one or more owners.

# global
* @hypertrace/graphql

# GH action
.github/ @hypertrace/ci-owners
25 changes: 25 additions & 0 deletions hypertrace-core-graphql/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Description
Please include a summary of the change, motivation and context.

<!--
- **on a feature**: describe the feature and how this change fits in it, e.g. this PR makes kafka message.max.bytes configurable to better support batching
- **on a refactor**: describe why this is better than previous situation e.g. this PR changes logic for retry on healthchecks to avoid false positives
- **on a bugfix**: link relevant information about the bug (github issue or slack thread) and how this change solves it e.g. this change fixes #99999 by adding a lock on read/write to avoid data races.
-->


### Testing
Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.

### Checklist:
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] Any dependent changes have been merged and published in downstream modules

### Documentation
Make sure that you have documented corresponding changes in this repository or [hypertrace docs repo](https://github.com/hypertrace/hypertrace-docs-website) if required.

<!--
Include __important__ links regarding the implementation of this PR.
This usually includes and RFC or an aggregation of issues and/or individual conversations that helped put this solution together. This helps ensure there is a good aggregation of resources regarding the implementation.
-->
30 changes: 30 additions & 0 deletions hypertrace-core-graphql/.github/workflows/merge-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: merge-publish
on:
push:
branches:
- main
workflow_dispatch:

jobs:
merge-publish:
runs-on: ubuntu-22.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0

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

- name: push docker image
uses: hypertrace/github-actions/gradle@main
with:
args: dockerPushImages
env:
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_PUBLISH_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PUBLISH_TOKEN }}
45 changes: 45 additions & 0 deletions hypertrace-core-graphql/.github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: build and validate
on:
push:
branches:
- main
pull_request_target:
branches:
- main

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

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

- name: Build with Gradle
uses: hypertrace/github-actions/gradle@main
with:
args: assemble dockerBuildImages

validate-helm-charts:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v3
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0

- name: validate charts
uses: hypertrace/github-actions/validate-charts@main

39 changes: 39 additions & 0 deletions hypertrace-core-graphql/.github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: test
on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-22.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0

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

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: unit test reports
flags: unit

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
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
dependency-check:
runs-on: ubuntu-22.04
steps:
- name: Dependency Check
uses: hypertrace/github-actions/dependency-check@main
48 changes: 48 additions & 0 deletions hypertrace-core-graphql/.github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Publish artifacts
on:
# Will only run when release is published.
release:
types:
- created
workflow_dispatch:

jobs:
publish-artifacts:
runs-on: ubuntu-22.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0

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

- name: publish docker image
uses: hypertrace/github-actions/gradle@main
with:
args: dockerPushImages
env:
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_PUBLISH_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PUBLISH_TOKEN }}

publish-helm-charts:
needs: publish-artifacts
runs-on: ubuntu-22.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: package and release charts
uses: hypertrace/github-actions/helm-gcs-publish@main
with:
helm-gcs-credentials: ${{ secrets.HELM_GCS_CREDENTIALS }}
helm-gcs-repository: ${{ secrets.HELM_GCS_REPOSITORY }}

30 changes: 30 additions & 0 deletions hypertrace-core-graphql/.github/workflows/update-locks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update Locks
on:
workflow_dispatch:
schedule:
- cron: '12 12 * * 5'
jobs:
update-versions:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Calculate simple repository name
id: repo-basename
shell: bash
run: |
echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT
- name: Get Token from Github App
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.GH_CI_APP_ID }}
private_key: ${{ secrets.GH_CI_APP_PRIVATE_KEY }}
repositories: >-
[${{ toJson(steps.repo-basename.outputs.value) }}]
- name: Update locks if needed
uses: hypertrace/github-actions/raise-lock-pr@main
with:
token: ${{ steps.generate-token.outputs.token }}
7 changes: 7 additions & 0 deletions hypertrace-core-graphql/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build

.idea
Loading
Loading