aboutsummaryrefslogtreecommitdiffstats
path: root/azure-pipelines.yml (follow)
Commit message (Collapse)AuthorAgeLines
* CI: run pre-commit hooks in CIGravatar MarkKoz2020-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.Gravatar scragly2019-09-30-1/+1
|
* Ensure docker containers are published only for master branch builds.Gravatar scragly2019-09-27-1/+1
|
* Change CI DB setup to use docker.Gravatar scragly2019-09-21-17/+11
|
* CI: omit migrations from coverageGravatar MarkKoz2019-09-20-1/+0
| | | | * Remove --branch option since it's already specified in .coveragerc
* CI: publish XML coverage reportGravatar MarkKoz2019-09-20-2/+9
| | | | * Show missing line numbers in report
* CI: minor refactoringGravatar MarkKoz2019-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 failsGravatar MarkKoz2019-09-20-0/+1
|
* CI: merge lint and test jobsGravatar MarkKoz2019-09-20-25/+4
|
* CI: consistent indentation in yml fileGravatar MarkKoz2019-09-20-90/+90
|
* Try with explicit buildContextGravatar scragly2019-09-21-0/+1
|
* Use DockerV2 task.Gravatar scragly2019-09-20-14/+9
|
* Tag Django images as `latest`.Gravatar Johannes Christ2019-09-15-2/+2
|
* Check for missing migrations in CI.Gravatar Johannes Christ2019-09-12-0/+1
|
* Revert linter to non-verbose.Gravatar scragly2019-04-19-4/+4
|
* Output verbose linter to console.Gravatar scragly2019-04-19-1/+1
|
* Get verbose output for linter.Gravatar scragly2019-04-19-1/+1
|
* Fix Dockerfile path.Gravatar scragly2019-04-19-10/+10
|
* Fix docker reference.Gravatar scragly2019-04-19-18/+15
|
* Remove multi-version, use lock and publish lint.Gravatar scragly2019-04-19-133/+96
|
* Specify hadolint arguments on the command line.Gravatar Johannes Christ2019-04-18-1/+1
|
* Use `set -eux` in pipeline script.Gravatar Johannes Christ2019-04-11-1/+3
|
* Address review by @jchristgitGravatar Gareth Coles2019-04-05-10/+5
|
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-2/+2
|
* [#193] Replace Poetry with PipenvGravatar Gareth Coles2019-04-05-1/+1
|
* Revert to 16.04 build pools.Gravatar azure-pipelines[bot]2019-03-09-4/+4
|
* Update pool build to Ubuntu 18.04Gravatar azure-pipelines[bot]2019-03-09-4/+4
|
* Use poetry for dependency managemnet.Gravatar Johannes Christ2019-02-05-2/+2
|
* Ignore dumb `hadolint` error.Gravatar Johannes Christ2019-01-12-1/+1
|
* Set up image pushing and building on Azure. (#152)Gravatar Johannes Christ2018-11-25-0/+23
| | | | Closes #152.
* Set up markdown & Dockerfile lints.Gravatar Johannes Christ2018-11-18-2/+26
|
* Set up Azure pipelines.Gravatar Johannes Christ2018-11-18-0/+92