Skip to content

Commit

Permalink
NH-98001: move rl scanning to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverchuk committed Dec 12, 2024
1 parent 7fe6363 commit 0ddbc95
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 92 deletions.
78 changes: 77 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ env:
GITHUB_USERNAME: ${{ github.actor }}
PROD_BUCKET: ${{ secrets.PROD_BUCKET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RLPORTAL_ACCESS_TOKEN: ${{ secrets.RL_ACCESS_TOKEN }}

jobs:
maven_release:
Expand Down Expand Up @@ -459,4 +460,79 @@ jobs:
push: true
context: agent
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
tags: ghcr.io/${{ github.repository_owner }}/autoinstrumentation-java:${{ steps.set_version.outputs.version }},ghcr.io/${{ github.repository_owner }}/autoinstrumentation-java:latest
tags: ghcr.io/${{ github.repository_owner }}/autoinstrumentation-java:${{ steps.set_version.outputs.version }},ghcr.io/${{ github.repository_owner }}/autoinstrumentation-java:latest

reversing_lab_scan_agent:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

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

- name: Set agent version
id: set_version
uses: ./.github/actions/version

- name: Scan Jar
uses: reversinglabs/gh-action-rl-scanner-cloud-only@v1
with:
artifact-to-scan: agent/build/libs/solarwinds-apm-agent.jar
rl-verbose: true
rl-portal-server: solarwinds
rl-portal-org: SolarWinds
rl-portal-group: SaaS-Agents-SWO
rl-package-url: apm-java/solarwinds-apm-agent@${{ steps.set_version.outputs.version }}

reversing_lab_scan_sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

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

- name: Set agent version
id: set_version
uses: ./.github/actions/version

- name: Scan SDK Jar
uses: reversinglabs/gh-action-rl-scanner-cloud-only@v1
with:
artifact-to-scan: solarwinds-otel-sdk/build/libs/solarwinds-otel-sdk.jar
rl-verbose: true
rl-portal-server: solarwinds
rl-portal-org: SolarWinds
rl-portal-group: SaaS-Agents-SWO
rl-package-url: apm-java/solarwinds-otel-sdk@${{ steps.set_version.outputs.version }}

reversing_lab_scan_lambda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

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

- name: Set agent version
id: set_version
uses: ./.github/actions/version

- name: Scan Jar
uses: reversinglabs/gh-action-rl-scanner-cloud-only@v1
with:
artifact-to-scan: agent-lambda/build/libs/solarwinds-apm-agent-lambda.jar
rl-verbose: true
rl-portal-server: solarwinds
rl-portal-org: SolarWinds
rl-portal-group: SaaS-Agents-SWO
rl-package-url: apm-java/solarwinds-apm-agent-lambda@${{ steps.set_version.outputs.version }}
91 changes: 0 additions & 91 deletions .github/workflows/rlscan.yml

This file was deleted.

0 comments on commit 0ddbc95

Please sign in to comment.