https://github.com/getappmap/scanner-demo
https://github.com/getappmap/scanner-demo
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/getappmap/scanner-demo
- Owner: getappmap
- Created: 2021-11-04T14:41:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T22:28:15.000Z (about 4 years ago)
- Last Synced: 2024-04-24T09:55:20.667Z (about 2 years ago)
- Language: Shell
- Size: 155 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scanner-demo
Runs AppMap scanners on sample projects, and uploads the output data to [Google Cloud Storage](https://console.cloud.google.com/storage/browser/appland-ci-artifacts/scanner-demo/main).
Note that artifacts are **only uploaded from builds of the main branch**. This is a Travis limitation for security purposes.
# Artifacts
Each artifact is a tar-gzip (tarball), so that all the data can be downloaded as one unit.
* `[project].findings.tgz` Scanner findings in JSON, plus AppMap file for each finding.
* `[project].appmaps.tgz` All AppMaps generated for the project by the build. This may be a subset of all the project tests, depending on how the build is run.
# Updating scanners
1. Update `@applandinc/scanners` in [package.json](https://github.com/applandinc/scanner-demo/blob/main/package.json).
2. Merge/commit to `main` (because artifacts aren't uploaded unless the build is on `main`).
# Adding a project
Clone the new project as a Git submodule.
Configure .travis.yml to build the project.