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 a5036ab commit f8d9ffc
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 97 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,4 @@ jobs:
echo "AGENT_VERSION=${{ steps.set_version.outputs.version }}.$GIT_HASH" >> $GITHUB_ENV
- name: Publish
run: ./gradlew publishToSonatype

rlscan:
uses: ./.github/workflows/rlscan.yml
run: ./gradlew publishToSonatype
76 changes: 74 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,5 +462,77 @@ jobs:
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

rlscan:
uses: ./.github/workflows/rlscan.yml
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 f8d9ffc

Please sign in to comment.