From 9488f89cb67d25deecf9356245d7574b53871199 Mon Sep 17 00:00:00 2001 From: Adam Ryznar <73100931+aryznar-splunk@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:54:57 +0200 Subject: [PATCH 1/3] integrate kafka connector with fossa --- .fossa.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .fossa.yml diff --git a/.fossa.yml b/.fossa.yml new file mode 100644 index 00000000..e69de29b From 127aeea89fdaba7d9dbf34fbf52a4cb66308b338 Mon Sep 17 00:00:00 2001 From: Adam Ryznar <73100931+aryznar-splunk@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:55:23 +0200 Subject: [PATCH 2/3] integrate kafka connector with fossa --- .github/workflows/ci_build_test.yaml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/ci_build_test.yaml b/.github/workflows/ci_build_test.yaml index 6d457220..be62b063 100644 --- a/.github/workflows/ci_build_test.yaml +++ b/.github/workflows/ci_build_test.yaml @@ -5,12 +5,41 @@ on: branches-ignore: - /^release\/.*/ - master + workflow_call: + secrets: + FOSSA_API_KEY: + description: API token for FOSSA app + required: true jobs: + fossa-scan: + continue-on-error: true + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: run fossa anlyze and create report + run: | + curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash + fossa analyze --debug + fossa report attribution --format text > /tmp/THIRDPARTY + env: + FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} + - name: upload THIRDPARTY file + uses: actions/upload-artifact@v2 + with: + name: THIRDPARTY + path: /tmp/THIRDPARTY + - name: run fossa test + run: | + fossa test --debug + env: + FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} build-unit-test: name: build and run unit test runs-on: ubuntu-20.04 + needs: + - fossa-scan steps: - name: Checkout uses: actions/checkout@v2 From 0910fb63e63c50792b764ad35cd94d13eae454c4 Mon Sep 17 00:00:00 2001 From: Adam Ryznar <73100931+aryznar-splunk@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:56:56 +0200 Subject: [PATCH 3/3] integrate kafka connector with fossa --- .fossa.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.fossa.yml b/.fossa.yml index e69de29b..b7fd9156 100644 --- a/.fossa.yml +++ b/.fossa.yml @@ -0,0 +1,5 @@ +version: 3 +server: https://app.fossa.com +project: + id: "kafka-connect-splunk" + team: "TA-Automation" \ No newline at end of file