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
Commits
06343c45
Commit
06343c45
authored
Dec 07, 2020
by
David Freeman
Browse files
update report tar location var
parent
8f95dbe5
Pipeline
#95284
passed with stages
in 1 minute and 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
stages/publish/plugin_repo_map_vars.sh
stages/publish/plugin_repo_map_vars.sh
+1
-0
stages/publish/upload-to-s3-run.sh
stages/publish/upload-to-s3-run.sh
+0
-2
stages/publish/upload_to_s3.yaml
stages/publish/upload_to_s3.yaml
+1
-1
No files found.
stages/publish/plugin_repo_map_vars.sh
View file @
06343c45
...
...
@@ -13,6 +13,7 @@ export plugin_path="${REGISTRY_URL}/${PLUGIN_NAME}:${PLUGIN_VERSION}"
export
plugin_url
=
"
${
S3_HTML_LINK
}
/
${
REMOTE_REPORT_DIRECTORY
}
/
${
PLUGIN_NAME
}
_plugin_scan_result.tar.gz"
export
tar_location
=
"
${
S3_HTML_LINK
}
/
${
REMOTE_REPORT_DIRECTORY
}
/
${
REPORT_TAR_NAME
}
"
export
TAR_ARTIFACT
=
"
${
DOCUMENTATION_DIRECTORY
}
/
${
REPORT_TAR_NAME
}
"
export
anchore_security_results
=
"
${
S3_HTML_LINK
}
/
${
REMOTE_REPORT_DIRECTORY
}
/csvs/anchore_security.csv"
...
...
stages/publish/upload-to-s3-run.sh
View file @
06343c45
...
...
@@ -17,8 +17,6 @@ PROJECT_PATH=$(echo "${CI_PROJECT_PATH}" | sed -e 's/.*ironbank-plugins\/\(.*\)/
# Files are guaranteed to exist by the preflight checks
PROJECT_README
=
"README.md"
report_tar_path
=
"
$(
ls
${
DOCUMENTATION_DIRECTORY
}
/
*
.tar.gz
)
"
source
"
${
PIPELINE_REPO_DIR
}
"
/stages/publish/plugin_repo_map_vars.sh
python3
"
${
PIPELINE_REPO_DIR
}
"
/stages/publish/create_repo_map.py
--target
${
BASE_BUCKET_DIRECTORY
}
/
"
${
PROJECT_PATH
}
"
/repo_map.json
...
...
stages/publish/upload_to_s3.yaml
View file @
06343c45
...
...
@@ -4,7 +4,7 @@ upload to s3:
variables
:
#TODO: Put these in globals
SCAN_DIRECTORY
:
"
${ARTIFACT_STORAGE}/scan-results"
DOCUMENTATION_DIRECTORY
:
"
${ARTIFACT_STORAGE}/report-generation"
DOCUMENTATION_DIRECTORY
:
"
${ARTIFACT_STORAGE}/report-generation
/reports
"
BUILD_DIRECTORY
:
"
${ARTIFACT_STORAGE}/build"
BASE_BUCKET_DIRECTORY
:
testing/plugins-scan-reports
REPORT_TAR_NAME
:
"
${PLUGIN_NAME}-${REPORT_DATE}_plugin_scan_result.tar.gz"
...
...
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