Continuous integration for the awesome static analysis project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deploy
fixtures
src
.dockerignore
.gitignore
Cargo.lock
Cargo.toml
Dockerfile_multistage_issue_962
Dockerfile_workaround_build
Makefile
README.md

README.md

awesome-static-analysis-ci

This is the continuous integration framework for mre/awesome-static-analyis.

Deployment

Add your Github token to a .env file:

echo "GITHUB_TOKEN=<INSERT_TOKEN_HERE>" > .env

To deploy, simply run the following command:

make deploy

Finally, set an alias for the newly deployed domain:

now ls
now alias set <hash-id>.now.sh check.now.sh

Notes:

Currently, this tool is deployed on zeit.co.
There are a few limitations, that's why the deploy process could be more straightforward.

As of now, zeit does not support multistage builds (see Issue 962). Once this is possible, Dockerfile_multistage_issue_962 can replace the make process.

For now, we use a deploy subdirectory to avoid copying the full (>200 MB) build context to zeit.
Inside the subdirectory, there's just a Dockerfile, which references our newly production Docker image.
We need to specify the Github token to be able to set status reports for our pull requests.