-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Karim TAAM <[email protected]>
- Loading branch information
Showing
61 changed files
with
3,820 additions
and
2,455 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- | ||
By filing an Issue, you are expected to comply with the Code of Conduct, | ||
including treating everyone with respect. | ||
Not all sections will apply to all issue types. | ||
--> | ||
|
||
### Description | ||
[Detailed description of the problem and the impact it has] | ||
|
||
### Steps to Reproduce (Bug) | ||
[Please be as specific as possible] | ||
|
||
**Expected behavior:** [What you expect to happen] | ||
|
||
**Actual behavior:** [What actually happens] | ||
|
||
**Frequency:** [How regularly does it occur?] | ||
|
||
### Versions (Add all that apply) | ||
* Java version: [`java -version`] | ||
* OS Name & Version: [`cat /etc/*release`] | ||
* Docker Version: [`docker version`] | ||
* Cloud VM, type, size: [Amazon Web Services I3-large] |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> | ||
|
||
## PR description | ||
|
||
## Fixed Issue(s) | ||
<!-- Please link to fixed issue(s) here using format: fixes #<issue number> --> | ||
<!-- Example: "fixes #2" --> |
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 |
---|---|---|
@@ -1,32 +1,33 @@ | ||
name: Build and Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
|
||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Set up Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "17" | ||
distribution: "adopt" | ||
|
||
distribution: adopt | ||
java-version: 17 | ||
cache: gradle | ||
- name: spotless | ||
run: ./gradlew --no-daemon --parallel clean spotlessCheck | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- name: Publish to Artifactory | ||
run: ./gradlew artifactoryPublish | ||
uses: gradle/gradle-build-action@v2 | ||
if: contains('refs/heads/release-', github.ref) || github.ref == 'refs/heads/main' | ||
env: | ||
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }} | ||
ARTIFACTORY_KEY: ${{ secrets.ARTIFACTORY_KEY }} | ||
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER}} | ||
ARTIFACTORY_KEY: ${{ secrets.BESU_ARTIFACTORY }} | ||
with: | ||
arguments: --no-daemon --parallel publish artifactoryPublish --scan |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: dco | ||
on: | ||
merge_group: | ||
|
||
jobs: | ||
dco: | ||
runs-on: [besu-research-ubuntu-8] | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
steps: | ||
- run: echo "This DCO job runs on merge_queue event and doesn't check PR contents" |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: dco | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
dco: | ||
runs-on: [besu-research-ubuntu-8] | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
steps: | ||
- run: echo "This DCO job runs on pull_request event and workflow_dispatch" | ||
- name: Get PR Commits | ||
id: 'get-pr-commits' | ||
uses: tim-actions/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: DCO Check | ||
uses: tim-actions/[email protected] | ||
with: | ||
commits: ${{ steps.get-pr-commits.outputs.commits }} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "comment on pr with checklist" | ||
on: | ||
pull_request_target: | ||
types: [ opened ] | ||
branches: [ main ] | ||
jobs: | ||
checklist: | ||
name: "add checklist as a comment on newly opened PRs" | ||
runs-on: [besu-research-ubuntu-8] | ||
steps: | ||
- uses: actions/github-script@v5 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: '- [ ] I thought about the changelog.' | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Hyperledger Repolinter Action | ||
name: Repolinter | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: [besu-research-ubuntu-16] | ||
container: ghcr.io/todogroup/repolinter:v0.10.1 | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
- name: Lint Repo | ||
run: bundle exec /app/bin/repolinter.js --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/main/repo_structure/repolint.json --format markdown |
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 |
---|---|---|
@@ -1,46 +1,43 @@ | ||
.gradle | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### IntelliJ IDEA ### | ||
.idea/modules.xml | ||
.idea/jarRepositories.xml | ||
.idea/compiler.xml | ||
.idea/libraries/ | ||
*.iws | ||
*.bak | ||
*.swp | ||
*.tmp | ||
*~.nib | ||
*.iml | ||
*.ipr | ||
### IntelliJ IDEA ### | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### Eclipse ### | ||
.apt_generated | ||
*.launch | ||
*.log | ||
.lh/* | ||
db/ | ||
db.version | ||
.classpath | ||
.factorypath | ||
.DS_Store | ||
.gradletasknamecache | ||
.externalToolBuilders/ | ||
.gradle/ | ||
.idea/ | ||
.loadpath | ||
.metadata | ||
.prefs | ||
.project | ||
.recommenders/ | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
.vertx | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store | ||
|
||
### Gradle ### | ||
.gradle/ | ||
local.properties | ||
target/ | ||
tmp/ | ||
**/build/ | ||
out/ | ||
*.vscode/ | ||
gradle/flow/ | ||
*.rlib | ||
*.d | ||
*.a | ||
*.class | ||
scripts/.java-version | ||
**/src/jmh/generated_tests/ | ||
**/src/jmh/generated/* | ||
hs_err_pid* | ||
/shomei.db | ||
node_modules | ||
/**/build/ |
Oops, something went wrong.