Skip to content

Commit

Permalink
Merge sequence work done so far
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Sep 12, 2023
2 parents c80f66c + 05c0f6e commit bbf2f47
Show file tree
Hide file tree
Showing 74 changed files with 2,723 additions and 896 deletions.
527 changes: 0 additions & 527 deletions .circleci/config.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/issue_template.md

This file was deleted.

8 changes: 0 additions & 8 deletions .github/pull_request_template.md

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/checks.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/codeql.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/dco-merge-group.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/dco.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SPDX-License-Identifier: Apache-2.0
name: "Validate Gradle Wrapper"
on: [push, pull_request]
on: [push]

jobs:
validation:
name: "Gradle Wrapper Validation"
runs-on: [besu-research-ubuntu-8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
20 changes: 0 additions & 20 deletions .github/workflows/pr-checklist-on-open.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/release.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/repolinter.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/sonarcloud.yml

This file was deleted.

76 changes: 76 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: CI

on:
push:
branches:
- zkbesu
pull_request:
branches:
- zkbesu

jobs:
all:
runs-on: ubuntu-22.04-16core
env:
architecture: "amd64"
GRADLE_OPTS: "-Xmx6g -Dorg.gradle.parallel=true"

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'

- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/versions.gradle') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-gradle-${{ hashFiles('**/gradle/versions.gradle') }}
${{ runner.os }}-gradle-
- name: Spotless
run: ./gradlew clean spotlessCheck

- name: Test & Build
run: ./gradlew build

- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: JUnit Tests # Name of the check run which will be created
path: '**/test-results/test/*.xml' # Path to test results
reporter: java-junit # Format of test results
only-summary: true
max-annotations: 50

- name: Store distribution artifacts
uses: actions/upload-artifact@v3
with:
name: distributions
path: build/distributions

- name: Check Dockerfile syntax
run: |
docker run --rm -i hadolint/hadolint < docker/openjdk-17/Dockerfile
- name: Build Docker Image
run: |
./gradlew dockerDist
- name: Login to Docker Hub for self hosted
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER_RW }}
password: ${{ secrets.DOCKER_PAT_RW }}

- name: Publish Docker Image
run: |
./gradlew dockerUpload
Loading

0 comments on commit bbf2f47

Please sign in to comment.