Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
feat: upgrade to latest common version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie McDonald committed Apr 14, 2021
1 parent d37ec28 commit b3dbc82
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 15 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Expand Up @@ -109,19 +109,21 @@ jobs:
- name: Docker Build
run: ./gradlew bootBuildImage --imageName build:latest

- name: Docker Scan
uses: anchore/scan-action@v2
id: scan
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image: "build:latest"
fail-build: true
severity-cutoff: critical
acs-report-enable: true

- uses: github/codeql-action/upload-sarif@v1
image-ref: 'build:latest'
severity: 'HIGH'
exit-code: '1'
format: 'template'
template: '@/contrib/sarif.tpl'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
if: always()
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
sarif_file: 'trivy-results.sarif'

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
.idea/
.gradle/
**/build/
*.jar
*.zip
**/build
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -31,10 +31,10 @@ dependencies {

implementation group: 'com.github.spotbugs', name: 'spotbugs-annotations'
implementation group: 'net.logstash.logback', name: 'logstash-logback-encoder'
implementation group: 'net.sf.biweekly', name: 'biweekly', version: "${biweeklyVersion}"
implementation group: 'net.sf.biweekly', name: 'biweekly'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-webflux'
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-kubernetes-all'
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-kubernetes-client-config'

testCompileOnly group: 'org.projectlombok', name: 'lombok'
testAnnotationProcessor group: 'org.projectlombok', name: 'lombok'
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Expand Up @@ -3,4 +3,3 @@ org.gradle.caching = true
version = 1.1.0
gradleBaselinePluginVerson = 1.4.0
commonPlatformVersion = latest.release
biweeklyVersion = 0.6.6
3 changes: 2 additions & 1 deletion src/main/resources/bootstrap-local.yml
@@ -1,4 +1,5 @@
spring:
cloud:
kubernetes:
enabled: false
config:
enabled: false
3 changes: 2 additions & 1 deletion src/test/resources/bootstrap-test.yml
@@ -1,4 +1,5 @@
spring:
cloud:
kubernetes:
enabled: false
config:
enabled: false

0 comments on commit b3dbc82

Please sign in to comment.