center-for-threat-informed-defense / mappings-explorer

Mappings Explorer enables cyber defenders to understand how security controls and capabilities map onto the adversary behaviors catalogued in the MITRE ATT&CK® knowledge base. These mappings form a bridge between the threat-informed approach to cybersecurity and the traditional security controls perspective.
https://ctid.io/mappings-explorer
Apache License 2.0
25 stars 6 forks source link

MAPEX-114 Zip the build artifacts #47

Closed mehaase closed 5 months ago

mehaase commented 5 months ago

This should substantially decrease job execution time, since uploading artifacts with a high file count is very slow on github actions.

github-actions[bot] commented 5 months ago

This PR has been published to https://mappingsexplorer.z13.web.core.windows.net/MAPEX-114-zip-build-artifacts/

mehaase commented 5 months ago

This works pretty well. Here's a build before I added zip support: about 13 minutes just to (up|down)load the artifacts.

Before

Afterwards: about 1.5 minutes.

After

Edit: one weird caveat is that when you download the artifact from the build page, github will make a nested zip: our build zip insider another zip. This seems like a minor problem since we don't use those downloads very often.

github-actions[bot] commented 5 months ago

This PR has been published to https://mappingsexplorer.z13.web.core.windows.net/MAPEX-114-zip-build-artifacts/