Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
68ac73dd
Commit
68ac73dd
authored
Apr 28, 2020
by
Philippe Lafoucrière
Committed by
Heinrich Lee Yu
Apr 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include improvements suggested by @xlgmokha
parent
271faee6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
lib/gitlab/ci/templates/Security/Secure-Binaries.gitlab-ci.yml
...itlab/ci/templates/Security/Secure-Binaries.gitlab-ci.yml
+2
-8
No files found.
lib/gitlab/ci/templates/Security/Secure-Binaries.gitlab-ci.yml
View file @
68ac73dd
...
@@ -44,9 +44,8 @@ variables:
...
@@ -44,9 +44,8 @@ variables:
-
mkdir -p output/$(dirname ${CI_JOB_NAME})
-
mkdir -p output/$(dirname ${CI_JOB_NAME})
-
|
-
|
if [ "$SECURE_BINARIES_SAVE_ARTIFACTS" = "true" ]; then
if [ "$SECURE_BINARIES_SAVE_ARTIFACTS" = "true" ]; then
docker save ${SECURE_BINARIES_IMAGE} -o output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tar
docker save ${SECURE_BINARIES_IMAGE} | gzip > output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tar.gz
gzip output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tar
sha256sum output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tar.gz > output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tar.gz.sha256sum
sha256sum output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tar.gz > output/${CI_JOB_NAME}_${SECURE_BINARIES_ANALYZER_VERSION}.tag.gz.sha256sum
fi
fi
-
|
-
|
if [ "$SECURE_BINARIES_PUSH_IMAGES" = "true" ]; then
if [ "$SECURE_BINARIES_PUSH_IMAGES" = "true" ]; then
...
@@ -86,9 +85,6 @@ analyzers/gosec:
...
@@ -86,9 +85,6 @@ analyzers/gosec:
analyzers/spotbugs
:
analyzers/spotbugs
:
extends
:
.download_images
extends
:
.download_images
variables
:
# TODO: Spotbugs is > 1GB, disabling for now
SECURE_BINARIES_SAVE_ARTIFACTS
:
"
false"
only
:
only
:
variables
:
variables
:
-
$SECURE_BINARIES_DOWNLOAD_IMAGES == "true" &&
-
$SECURE_BINARIES_DOWNLOAD_IMAGES == "true" &&
...
@@ -231,8 +227,6 @@ license-management:
...
@@ -231,8 +227,6 @@ license-management:
extends
:
.download_images
extends
:
.download_images
variables
:
variables
:
SECURE_BINARIES_ANALYZER_VERSION
:
"
3"
SECURE_BINARIES_ANALYZER_VERSION
:
"
3"
# TODO: license-management is > 1GB, disabling for now
SECURE_BINARIES_SAVE_ARTIFACTS
:
"
false"
only
:
only
:
variables
:
variables
:
-
$SECURE_BINARIES_DOWNLOAD_IMAGES == "true" &&
-
$SECURE_BINARIES_DOWNLOAD_IMAGES == "true" &&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment