Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | CI: run pre-commit hooks in CI | 2020-03-04 | -2/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This also means flake8 will output to stdout in CI now. It didn't before because it output to an XML format for publishing. Pre-commit creates its own environment in which it installs hooks. To speed up runs, the pipeline will cache this for use with future jobs. The cache will update if .pre-commit-config.yaml changes. The flake8 pre-commit hook invokes flake8 via `pipenv run flake8`. It's normally useful to use pipenv here cause it ensures flake8 is invoked within the context of the venv. However, in CI, there is no venv - dependencies are installed directly to the system site-packages. `pipenv run` does not work in such case because it tries to create a new venv if one doesn't exist (it doesn't consider the system interpreter to be a venv). This workaround (okay, it's a hack) creates an executable shell script which replaces the original pipenv binary. The shell script simply ignores the first argument (i.e. ignores `run` in `pipenv run`) and executes the rest of the arguments as a command. It essentially makes `pipenv run flake8` equivalent to just having ran `flake8`. When pre-commit executes pipenv, the aforementioned script is what will run. | |||
* | Correct the Dockerfile path for azure. | 2019-09-30 | -1/+1 | |
| | ||||
* | Ensure docker containers are published only for master branch builds. | 2019-09-27 | -1/+1 | |
| | ||||
* | Change CI DB setup to use docker. | 2019-09-21 | -17/+11 | |
| | ||||
* | CI: omit migrations from coverage | 2019-09-20 | -1/+0 | |
| | | | | * Remove --branch option since it's already specified in .coveragerc | |||
* | CI: publish XML coverage report | 2019-09-20 | -2/+9 | |
| | | | | * Show missing line numbers in report | |||
* | CI: minor refactoring | 2019-09-20 | -9/+16 | |
| | | | | | | * Rename some tasks * Simplify python commands by removing python3 -m * Break up some long lines | |||
* | CI: publish test results even if a task fails | 2019-09-20 | -0/+1 | |
| | ||||
* | CI: merge lint and test jobs | 2019-09-20 | -25/+4 | |
| | ||||
* | CI: consistent indentation in yml file | 2019-09-20 | -90/+90 | |
| | ||||
* | Try with explicit buildContext | 2019-09-21 | -0/+1 | |
| | ||||
* | Use DockerV2 task. | 2019-09-20 | -14/+9 | |
| | ||||
* | Tag Django images as `latest`. | 2019-09-15 | -2/+2 | |
| | ||||
* | Check for missing migrations in CI. | 2019-09-12 | -0/+1 | |
| | ||||
* | Revert linter to non-verbose. | 2019-04-19 | -4/+4 | |
| | ||||
* | Output verbose linter to console. | 2019-04-19 | -1/+1 | |
| | ||||
* | Get verbose output for linter. | 2019-04-19 | -1/+1 | |
| | ||||
* | Fix Dockerfile path. | 2019-04-19 | -10/+10 | |
| | ||||
* | Fix docker reference. | 2019-04-19 | -18/+15 | |
| | ||||
* | Remove multi-version, use lock and publish lint. | 2019-04-19 | -133/+96 | |
| | ||||
* | Specify hadolint arguments on the command line. | 2019-04-18 | -1/+1 | |
| | ||||
* | Use `set -eux` in pipeline script. | 2019-04-11 | -1/+3 | |
| | ||||
* | Address review by @jchristgit | 2019-04-05 | -10/+5 | |
| | ||||
* | pysite -> pydis_site | 2019-04-05 | -2/+2 | |
| | ||||
* | [#193] Replace Poetry with Pipenv | 2019-04-05 | -1/+1 | |
| | ||||
* | Revert to 16.04 build pools. | 2019-03-09 | -4/+4 | |
| | ||||
* | Update pool build to Ubuntu 18.04 | 2019-03-09 | -4/+4 | |
| | ||||
* | Use poetry for dependency managemnet. | 2019-02-05 | -2/+2 | |
| | ||||
* | Ignore dumb `hadolint` error. | 2019-01-12 | -1/+1 | |
| | ||||
* | Set up image pushing and building on Azure. (#152) | 2018-11-25 | -0/+23 | |
| | | | | Closes #152. | |||
* | Set up markdown & Dockerfile lints. | 2018-11-18 | -2/+26 | |
| | ||||
* | Set up Azure pipelines. | 2018-11-18 | -0/+92 | |