Skip to content

Commit

Permalink
chore: temporary disable blackduck scan (#42)
Browse files Browse the repository at this point in the history
unavailability of the blackduck instance

Signed-off-by: Mario Constanti <[email protected]>
  • Loading branch information
bavarianbidi authored Dec 19, 2023
1 parent c2faa32 commit bfa89d1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ jobs:
with:
go-version: '1.21.5'

- name: Synopsys Detect
run: |
GITHUB_REF="$(echo $GITHUB_REF_NAME | tr ':/' '_')"
BLACKDUCK_SCAN_VERSION_NAME="${GITHUB_REF}_${GITHUB_SHA}"
export BLACKDUCK_SCAN_VERSION_NAME
# create the tmp directory as we also do during the release process
mkdir -p tmp
./hack/foss-scan.sh
mv tmp/Black_Duck_Notices_Report.txt tmp/3RD_PARTY_LICENSES.txt
env:
BLACKDUCK_URL: ${{ secrets.BLACKDUCK_URL }}
BLACKDUCK_PROJECT_NAME: ${{ secrets.BLACKDUCK_PROJECT_NAME }}
BLACKDUCK_TOKEN: ${{ secrets.BLACKDUCK_TOKEN }}
# - name: Synopsys Detect
# run: |
# GITHUB_REF="$(echo $GITHUB_REF_NAME | tr ':/' '_')"
# BLACKDUCK_SCAN_VERSION_NAME="${GITHUB_REF}_${GITHUB_SHA}"
# export BLACKDUCK_SCAN_VERSION_NAME

# # create the tmp directory as we also do during the release process
# mkdir -p tmp

# ./hack/foss-scan.sh

# mv tmp/Black_Duck_Notices_Report.txt tmp/3RD_PARTY_LICENSES.txt
# env:
# BLACKDUCK_URL: ${{ secrets.BLACKDUCK_URL }}
# BLACKDUCK_PROJECT_NAME: ${{ secrets.BLACKDUCK_PROJECT_NAME }}
# BLACKDUCK_TOKEN: ${{ secrets.BLACKDUCK_TOKEN }}

- name: release
run: make release
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ release:
- glob: tmp/garm_operator_all.yaml
- glob: tmp/garm_operator_crds.yaml
- glob: tmp/garm_operator.yaml
- glob: tmp/3RD_PARTY_LICENSES.txt
- glob: tmp/BlackDuck_RiskReport.pdf
# - glob: tmp/3RD_PARTY_LICENSES.txt
# - glob: tmp/BlackDuck_RiskReport.pdf
header: |
Container image is available at `ghcr.io/mercedes-benz/garm-operator/{{ .ProjectName }}:v{{ .Version }}`
Expand Down

0 comments on commit bfa89d1

Please sign in to comment.