Skip to content

Commit

Permalink
Remove spring; rename lib to library
Browse files Browse the repository at this point in the history
better
  • Loading branch information
snf2ye committed Jul 11, 2023
1 parent faf6fa1 commit b909cd9
Show file tree
Hide file tree
Showing 22 changed files with 61 additions and 474 deletions.
42 changes: 1 addition & 41 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,47 +34,7 @@ jobs:
- name: Upload spotbugs results
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: lib/build/reports/spotbugs/main.sarif

jib:
needs: [ build ]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- name: Construct docker image name and tag
id: image-name
run: |
GITHUB_REPO=$(basename ${{ github.repository }})
GIT_SHORT_HASH=$(git rev-parse --short HEAD)
echo "name=${GITHUB_REPO}:${GIT_SHORT_HASH}" >> $GITHUB_OUTPUT
- name: Build image locally with jib
run: |
./gradlew --build-cache :lib:jibDockerBuild \
--image=${{ steps.image-name.outputs.name }} \
-Djib.console=plain
dispatch-trivy:
needs: [ build ]
runs-on: ubuntu-latest

if: github.event_name == 'pull_request'

steps:
- name: Fire off Trivy action
uses: broadinstitute/workflow-dispatch@v1
with:
workflow: Trivy
token: ${{ secrets.BROADBOT_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
sarif_file: library/build/reports/spotbugs/main.sarif

source-clear:
needs: [ build ]
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/trivy.yml

This file was deleted.

30 changes: 0 additions & 30 deletions buildSrc/build.gradle

This file was deleted.

This file was deleted.

99 changes: 0 additions & 99 deletions buildSrc/src/main/groovy/bio.terra.java-common-conventions.gradle

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 0 additions & 49 deletions client/artifactory.gradle

This file was deleted.

18 changes: 0 additions & 18 deletions client/build.gradle

This file was deleted.

52 changes: 0 additions & 52 deletions lib/build.gradle

This file was deleted.

Loading

0 comments on commit b909cd9

Please sign in to comment.