Skip to content

Commit

Permalink
remove scm_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
oxeye-schmil committed Dec 7, 2023
1 parent 0f5d5f1 commit 09f17f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion images/Dockerfile.oxeye-scan
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ RUN rm -rf /var/cache/apk/*
COPY --from=oxctl_builder /app/oxctl /app/

COPY entrypoint-oxeye-scan.sh /entrypoint.sh
COPY scm_scan.py /app/scm_scan.py

ENTRYPOINT ["/entrypoint.sh"]
8 changes: 4 additions & 4 deletions images/entrypoint-oxeye-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ else
fi

# Download Script
# curl -s -o /app/scm_scan.py --location "https://${host}/api/scm/script?provider=${cicd_tool}" \
# --header "Content-Type: application/json" \
# --header "Accept: application/octet-stream" \
# --header "Authorization: Bearer ${bearerToken}"
curl -s -o /app/scm_scan.py --location "https://${host}/api/scm/script?provider=${cicd_tool}" \
--header "Content-Type: application/json" \
--header "Accept: application/octet-stream" \
--header "Authorization: Bearer ${bearerToken}"

# RUN SCM Scan Script
python /app/scm_scan.py --host $host --repo-token $token --client-id $client_id --secret $secret --workspace-id $workspace_id --release $release --excludes "$excludes"

0 comments on commit 09f17f1

Please sign in to comment.