Skip to content

Migrate singlestore collector example to kubernetes #62

Migrate singlestore collector example to kubernetes

Migrate singlestore collector example to kubernetes #62

name: FOSSA CLI Analysis - Gradle
on:
pull_request:
branches: [ $default-branch ]
jobs:
check_env:
uses: newrelic/.github/.github/workflows/fossa-check-env.yml@main
secrets:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
ORG: ${{ github.repository_owner }}
REPO: ${{ github.repository }}
CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }}
HAS_FOSSA_TARGETS: ""
FOSSA_ANALYZE_RESULT: ""
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Setup javas
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: |
21
17
11
8
- name: Set gradle.properties
run: |
export GRADLE_PROPERTIES_PATH="./gradle.properties"
echo "jdk8=${JAVA_HOME_8_X64}" >> $GRADLE_PROPERTIES_PATH
echo "jdk11=${JAVA_HOME_11_X64}" >> $GRADLE_PROPERTIES_PATH
echo "jdk17=${JAVA_HOME_17_X64}" >> $GRADLE_PROPERTIES_PATH
echo "jdk21=${JAVA_HOME_21_X64}" >> $GRADLE_PROPERTIES_PATH
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: true
- name: Setup Gradle options
run: echo "GRADLE_OPTIONS=--console=plain --parallel -Porg.gradle.java.installations.auto-detect=false -Porg.gradle.java.installations.fromEnv=JAVA_HOME_8_X64,JAVA_HOME_11_X64,JAVA_HOME_17_X64,JAVA_HOME_21_X64" >> $GITHUB_ENV
- id: fossa-cli
uses: newrelic/.github/.github/composite/fossa-composite@main