Skip to content

Commit

Permalink
[jMd3ZuqI] Merge branch 'dev' into fix-arrow-threads
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon committed Nov 6, 2023
2 parents 7c930cd + a330dfe commit 9cac699
Show file tree
Hide file tree
Showing 418 changed files with 29,240 additions and 22,117 deletions.
103 changes: 103 additions & 0 deletions .github/actions/gradle-command-on-pr/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: "Run gradle command on pull request"

inputs:
gradle-command:
description: "Gradle command to run"
required: true
TEAMCITY_DEV_URL:
required: true
TEAMCITY_USER:
required: true
TEAMCITY_PASSWORD:
required: true
SERVICE_ACCOUNT_PAT:
required: true

runs:
using: "composite"
steps:
- name: Checkout branch from fork
uses: actions/checkout@v3
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.head.ref }}

- uses: ./.github/actions/setup-jdk
- uses: ./.github/actions/setup-gradle-cache

- name: Calls gradle command
shell: bash
env:
TEAMCITY_DEV_URL: ${{ inputs.TEAMCITY_DEV_URL }}
TEAMCITY_USER: ${{ inputs.TEAMCITY_USER }}
TEAMCITY_PASSWORD: ${{ inputs.TEAMCITY_PASSWORD }}
run: |
./gradlew ${{ inputs.gradle-command }}
- name: Check for modified files
shell: bash
id: git-check
run: echo modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT

- name: Commit to the PR branch
shell: bash
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.name 'neo-technology-build-agent'
git config --global user.email '[email protected]'
git add -A
git commit -m "[NOID] Run ${{ inputs.gradle-command }}"
- name: Push changes
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # v0.8.0
with:
github_token: ${{ inputs.SERVICE_ACCOUNT_PAT }}
branch: ${{ github.event.client_payload.pull_request.head.ref }}

- name: Add reaction on pushed changes
if: ${{ success() && steps.git-check.outputs.modified == 'true' }}
uses: peter-evans/create-or-update-comment@v2
with:
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: hooray

- name: Add reaction when no update is needed
if: ${{ success() && steps.git-check.outputs.modified == 'false' }}
uses: peter-evans/create-or-update-comment@v2
with:
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: '+1'

- name: Create URL to the run output for failure report
shell: bash
if: ${{ !success() }}
id: vars
run: echo run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID >> $GITHUB_OUTPUT

- name: Create comment with URL on failure
if: ${{ !success() }}
uses: peter-evans/create-or-update-comment@v2
with:
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
issue-number: ${{ github.event.client_payload.github.payload.issue.number }}
body: |
:x: [${{ inputs.gradle-command }} failed][1]
[1]: ${{ steps.vars.outputs.run-url }}
- name: Report failure to original comment with a reaction
if: ${{ !success() }}
uses: peter-evans/create-or-update-comment@v2
with:
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: '-1'

- name: Go back to original branch
uses: actions/checkout@v3
with:
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.base.ref }}
18 changes: 18 additions & 0 deletions .github/workflows/ChatOps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Slash Command Dispatch
on:
issue_comment:
types: [created]
permissions: write-all
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
issue-type: pull-request
reaction-token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.SERVICE_ACCOUNT_PAT }}
commands: |
spotlessApply
generateLicenses
19 changes: 19 additions & 0 deletions .github/workflows/generateLicenses-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Updates license files
on:
repository_dispatch:
types: [generateLicenses-command]

jobs:
format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Format and push changes to PR
uses: ./.github/actions/gradle-command-on-pr
with:
gradle-command: generateLicenses
TEAMCITY_DEV_URL: ${{ secrets.TEAMCITY_DEV_URL }}
TEAMCITY_USER: ${{ secrets.TEAMCITY_USER }}
TEAMCITY_PASSWORD: ${{ secrets.TEAMCITY_PASSWORD }}
SERVICE_ACCOUNT_PAT: ${{ secrets.SERVICE_ACCOUNT_PAT }}
19 changes: 19 additions & 0 deletions .github/workflows/spotlessApply-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Formats PR
on:
repository_dispatch:
types: [spotlessApply-command]

jobs:
format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Format and push changes to PR
uses: ./.github/actions/gradle-command-on-pr
with:
gradle-command: spotlessApply
TEAMCITY_DEV_URL: ${{ secrets.TEAMCITY_DEV_URL }}
TEAMCITY_USER: ${{ secrets.TEAMCITY_USER }}
TEAMCITY_PASSWORD: ${{ secrets.TEAMCITY_PASSWORD }}
SERVICE_ACCOUNT_PAT: ${{ secrets.SERVICE_ACCOUNT_PAT }}
85 changes: 43 additions & 42 deletions LICENSES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Apache-2.0
aws-java-sdk-core-1.12.425.jar
aws-java-sdk-kms-1.12.425.jar
aws-java-sdk-s3-1.12.425.jar
byte-buddy-1.14.6.jar
byte-buddy-agent-1.14.6.jar
byte-buddy-1.14.9.jar
byte-buddy-agent-1.14.9.jar
caffeine-3.1.8.jar
cassandra-driver-core-3.10.0.jar
commons-beanutils-1.9.4.jar
Expand All @@ -36,18 +36,19 @@ Apache-2.0
commons-configuration2-2.9.0.jar
commons-csv-1.9.0.jar
commons-daemon-1.0.13.jar
commons-io-2.14.0.jar
commons-io-2.15.0.jar
commons-lang3-3.13.0.jar
commons-logging-1.2.jar
commons-math3-3.6.1.jar
commons-net-3.9.0.jar
commons-text-1.10.0.jar
commons-text-1.11.0.jar
curator-client-5.2.0.jar
curator-framework-5.2.0.jar
curator-recipes-5.2.0.jar
docker-java-api-3.3.0.jar
docker-java-transport-3.3.0.jar
docker-java-transport-zerodep-3.3.0.jar
docker-java-api-3.3.3.jar
docker-java-transport-3.3.3.jar
docker-java-transport-zerodep-3.3.3.jar
ehcache-3.3.1.jar
error_prone_annotations-2.18.0.jar
error_prone_annotations-2.2.0.jar
Expand Down Expand Up @@ -121,15 +122,15 @@ Apache-2.0
jcip-annotations-1.0-1.jar
jctools-core-4.0.1.jar
jettison-1.5.4.jar
jetty-http-10.0.16.jar
jetty-io-10.0.16.jar
jetty-security-10.0.16.jar
jetty-server-10.0.16.jar
jetty-servlet-10.0.16.jar
jetty-http-10.0.17.jar
jetty-io-10.0.17.jar
jetty-security-10.0.17.jar
jetty-server-10.0.17.jar
jetty-servlet-10.0.17.jar
jetty-servlet-api-4.0.6.jar
jetty-util-10.0.16.jar
jetty-webapp-10.0.16.jar
jetty-xml-10.0.16.jar
jetty-util-10.0.17.jar
jetty-webapp-10.0.17.jar
jetty-xml-10.0.17.jar
jffi-1.2.16-native.jar
jffi-1.2.16.jar
jmespath-java-1.12.425.jar
Expand Down Expand Up @@ -171,11 +172,11 @@ Apache-2.0
metrics-core-3.2.4.jar
netty-3.10.6.Final.jar
netty-all-4.1.89.Final.jar
netty-buffer-4.1.99.Final.jar
netty-codec-4.1.99.Final.jar
netty-buffer-4.1.100.Final.jar
netty-codec-4.1.100.Final.jar
netty-codec-dns-4.1.89.Final.jar
netty-codec-haproxy-4.1.89.Final.jar
netty-codec-http-4.1.99.Final.jar
netty-codec-http-4.1.100.Final.jar
netty-codec-http2-4.1.89.Final.jar
netty-codec-memcache-4.1.89.Final.jar
netty-codec-mqtt-4.1.89.Final.jar
Expand All @@ -184,24 +185,24 @@ Apache-2.0
netty-codec-socks-4.1.89.Final.jar
netty-codec-stomp-4.1.89.Final.jar
netty-codec-xml-4.1.89.Final.jar
netty-common-4.1.99.Final.jar
netty-handler-4.1.99.Final.jar
netty-common-4.1.100.Final.jar
netty-handler-4.1.100.Final.jar
netty-handler-proxy-4.1.89.Final.jar
netty-handler-ssl-ocsp-4.1.89.Final.jar
netty-resolver-4.1.99.Final.jar
netty-resolver-4.1.100.Final.jar
netty-resolver-dns-4.1.89.Final.jar
netty-resolver-dns-classes-macos-4.1.89.Final.jar
netty-resolver-dns-native-macos-4.1.89.Final-osx-aarch_64.jar
netty-resolver-dns-native-macos-4.1.89.Final-osx-x86_64.jar
netty-transport-4.1.99.Final.jar
netty-transport-classes-epoll-4.1.99.Final.jar
netty-transport-classes-kqueue-4.1.99.Final.jar
netty-transport-native-epoll-4.1.99.Final-linux-aarch_64.jar
netty-transport-native-epoll-4.1.99.Final-linux-x86_64.jar
netty-transport-native-epoll-4.1.99.Final.jar
netty-transport-native-kqueue-4.1.99.Final-osx-aarch_64.jar
netty-transport-native-kqueue-4.1.99.Final-osx-x86_64.jar
netty-transport-native-unix-common-4.1.99.Final.jar
netty-transport-4.1.100.Final.jar
netty-transport-classes-epoll-4.1.100.Final.jar
netty-transport-classes-kqueue-4.1.100.Final.jar
netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar
netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar
netty-transport-native-epoll-4.1.100.Final.jar
netty-transport-native-kqueue-4.1.100.Final-osx-aarch_64.jar
netty-transport-native-kqueue-4.1.100.Final-osx-x86_64.jar
netty-transport-native-unix-common-4.1.100.Final.jar
netty-transport-rxtx-4.1.89.Final.jar
netty-transport-sctp-4.1.89.Final.jar
netty-transport-udt-4.1.89.Final.jar
Expand All @@ -212,7 +213,7 @@ Apache-2.0
opencsv-5.7.1.jar
opentest4j-1.3.0.jar
picocli-4.7.5.jar
reactor-core-3.5.10.jar
reactor-core-3.5.11.jar
reload4j-1.2.22.jar
scala-collection-contrib_2.13-0.3.0.jar
scala-library-2.13.11.jar
Expand Down Expand Up @@ -446,7 +447,7 @@ BSD-2-Clause
jline-3.9.0.jar
jsch-0.1.55.jar
stax2-api-4.2.1.jar
zstd-jni-1.5.5-6.jar
zstd-jni-1.5.5-10.jar
------------------------------------------------------------------------------

Copyright <year> <copyright holder>
Expand Down Expand Up @@ -2560,28 +2561,28 @@ MIT
bcprov-jdk15on-1.68.jar
bcprov-jdk18on-1.76.jar
bcutil-jdk18on-1.76.jar
cassandra-1.18.3.jar
cassandra-1.19.1.jar
checker-qual-2.5.2.jar
checker-qual-3.33.0.jar
couchbase-1.18.3.jar
database-commons-1.18.3.jar
couchbase-1.19.1.jar
database-commons-1.19.1.jar
duct-tape-1.0.8.jar
elasticsearch-1.18.3.jar
jdbc-1.18.3.jar
elasticsearch-1.19.1.jar
jdbc-1.19.1.jar
jersey-client-2.34.jar
jersey-container-servlet-2.34.jar
jersey-container-servlet-core-2.34.jar
jersey-hk2-2.34.jar
jnr-x86asm-1.0.2.jar
localstack-1.18.3.jar
mockito-core-5.5.0.jar
localstack-1.19.1.jar
mockito-core-5.7.0.jar
mssql-jdbc-6.2.1.jre7.jar
mysql-1.18.3.jar
neo4j-1.18.3.jar
postgresql-1.18.3.jar
mysql-1.19.1.jar
neo4j-1.19.1.jar
postgresql-1.19.1.jar
reactive-streams-1.0.4.jar
slf4j-api-2.0.9.jar
testcontainers-1.18.3.jar
testcontainers-1.19.1.jar
------------------------------------------------------------------------------

The MIT License
Expand Down
Loading

0 comments on commit 9cac699

Please sign in to comment.