UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Tools
ironbank-plugins-pipeline
Compare Revisions
84680ca5c69702e715b2c9c960a08a7f85790b04...db26e94408b0b656af500202e3d234322918bb46
Commits (2)
comment out report tar env var
· 4bd18fe8
David Freeman
authored
Dec 09, 2020
4bd18fe8
echo report tar shasum to env file
· db26e944
David Freeman
authored
Dec 09, 2020
db26e944
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
stages/publish/plugin_repo_map_vars.sh
stages/publish/plugin_repo_map_vars.sh
+1
-1
stages/report-generation/report-generation.sh
stages/report-generation/report-generation.sh
+1
-1
No files found.
stages/publish/plugin_repo_map_vars.sh
View file @
db26e944
...
...
@@ -14,7 +14,7 @@ export plugin_url="${S3_HTML_LINK}/${REMOTE_REPORT_DIRECTORY}/${PLUGIN_NAME}_plu
export
tar_location
=
"
${
S3_HTML_LINK
}
/
${
REMOTE_REPORT_DIRECTORY
}
/
${
REPORT_TAR_NAME
}
"
export
TAR_ARTIFACT
=
"
${
DOCUMENTATION_DIRECTORY
}
/
${
REPORT_TAR_NAME
}
"
export
REPORT_TAR_SHASUM
=
"
${
REPORT_TAR_SHASUM
}
"
#
export REPORT_TAR_SHASUM="${REPORT_TAR_SHASUM}"
export
anchore_security_results
=
"
${
S3_HTML_LINK
}
/
${
REMOTE_REPORT_DIRECTORY
}
/csvs/anchore_security.csv"
...
...
stages/report-generation/report-generation.sh
View file @
db26e944
...
...
@@ -19,4 +19,4 @@ mv "${PLUGIN_NAME}-${UTC_DATE}_plugin_scan_result.tar.gz" "${REPORT_PATH}/"
echo
"REPORT_DATE=
${
UTC_DATE
}
"
>>
"
${
REPORT_PATH
}
/report_generation.env"
echo
"REPORT_TAR_SHASUM=
$(
sha256sum
"
${
PLUGIN_NAME
}
-
${
UTC_DATE
}
_plugin_scan_result.tar.gz"
|
grep
-E
'^[a-zA-Z0-9]+'
-o
)
"
echo
"REPORT_TAR_SHASUM=
$(
sha256sum
"
${
PLUGIN_NAME
}
-
${
UTC_DATE
}
_plugin_scan_result.tar.gz"
|
grep
-E
'^[a-zA-Z0-9]+'
-o
)
"
>>
"
${
REPORT_PATH
}
/report_generation.env"