aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | Merge pull request #22 from python-discord/revitalisationGravatar Leon Sandøy2019-09-14-1173/+1293
|\| | | | | Revitalisation
| * Merge pull request #41 from python-discord/fix-flake8-docstringsGravatar Mark2019-09-05-36/+38
| |\ | | | | | | Fix misconfigured flake8 so docstrings are properly linted
| | * Fix misconfigured flake8 so docstrings are properly lintedGravatar S. Co12019-09-05-36/+38
| |/ | | | | Bump flake8-docstrings dependency pin to support the fix
| * Merge pull request #40 from python-discord/nsjail-clone-fixGravatar Mark2019-09-03-1/+1
| |\ | | | | | | Nsjail Clone Fix
| | * CI: fix NsJail clone in base Docker imageGravatar MarkKoz2019-09-03-1/+1
| | | | | | | | | | | | | | | | | | | | | Unspecify the depth to make the clone non-shallow again. A depth of 1 was too shallow as it only allowed the latest commit to be cloned. An arbitrary larger depth would still break eventually. The repository is small enough to not warrant a shallow clone anyway.
| * | Merge pull request #39 from python-discord/update-contribGravatar Mark2019-09-03-0/+3
| |\ \ | | |/ | |/| Update contrib doc for allowing edits from maintainers
| | * Update contrib doc for allowing edits from maintainersGravatar S. Co12019-09-03-0/+3
| |/
| * Merge pull request #33 from python-discord/ciGravatar Johannes Christ2019-08-06-145/+316
| |\ | | | | | | CI Improvements
| | * CI: output coverage report to stdoutGravatar MarkKoz2019-08-05-1/+2
| | |
| | * Add comments to Azure Pipelines YAMLGravatar MarkKoz2019-07-30-9/+29
| | | | | | | | | | | | | | | * Replace some shorthand Docker command options with their full names for clarity
| | * Log into Docker Hub before building images in test jobGravatar MarkKoz2019-07-30-5/+11
| | |
| | * CI: ensure count of builds returned by the API is > 0Gravatar MarkKoz2019-06-30-1/+2
| | |
| | * CI: specify build context for Docker buildsGravatar MarkKoz2019-06-30-0/+5
| | |
| | * CI: don't run the build job if nothing needs to be builtGravatar MarkKoz2019-06-30-0/+9
| | | | | | | | | | | | Resolve #26
| | * CI: build the base image if the venv needs to be buildGravatar MarkKoz2019-06-30-2/+8
| | | | | | | | | | | | Fix #25
| | * CI: refactor script & pull base when possibleGravatar MarkKoz2019-06-30-30/+93
| | | | | | | | | | | | | | | | | | | | | | | | * Move script's execution to the test job * Use output variables * Use jq instead of regex for parsing JSON responses from API * Wrap to 80 columns * Make more robust by checking for command success
| | * CI: move check shell script to a separate fileGravatar MarkKoz2019-06-30-31/+35
| | |
| | * CI: use multi-line folded scalars for long conditionsGravatar MarkKoz2019-06-30-3/+23
| | |
| | * CI: refactor stepsGravatar MarkKoz2019-06-30-22/+58
| | | | | | | | | | | | | | | | | | * Use boolean literals instead of strings * Use Docker tasks for building and pushing * Move displayName and condition to the top of each step
| | * CI: reformat indentation of YAMLGravatar MarkKoz2019-06-30-141/+141
| | |
| * | Merge pull request #35 from python-discord/readmeGravatar Mark2019-08-05-71/+131
| |\ \ | | | | | | | | Rewrite README
| | * | Increase size of some headings in READMEGravatar MarkKoz2019-08-05-2/+2
| | | |
| | * | Make Pipenv scripts compatible with WindowsGravatar MarkKoz2019-08-05-3/+3
| | | | | | | | | | | | | | | | Remove reliance on the shebang in the shell script.
| | * | Add links to API docs in READMEGravatar MarkKoz2019-08-05-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a link to pipenv * Remove the "Details" section; now part of the first "snekbox" section * Clarify that snekbox uses a HTTP REST API * Document the default host and port for the webserver
| | * | Fix grammar in READMEGravatar MarkKoz2019-08-04-2/+2
| | | |
| | * | Add Pipfile script and docs for building dev venv imageGravatar MarkKoz2019-08-04-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The builddev script will build just the dev venv image. The testb script will build the dev venv image, clean up dangling images, and then run tests. * Give the coverage commands their own header in the README
| | * | Use IDs for user and group in nsjpy aliasGravatar MarkKoz2019-08-04-2/+2
| | | | | | | | | | | | | | | | Reflects the changes in 7a7eca52019bf21d21cdffcf03cd9c5eacd8363b
| | * | Rewrite README and clean up Pipfile scriptsGravatar MarkKoz2019-08-04-68/+98
| | | | | | | | | | | | | | | | | | | | | | | | * Make the report script do the normal coverage report instead of HTML * Remove Docker image push scripts * Add image build script for the venv image
| * | | Merge pull request #36 from python-discord/dependenciesGravatar Mark2019-08-05-119/+120
| |\ \ \ | | | | | | | | | | Pin dependencies
| | * | | Fix version specifier for libnl3Gravatar MarkKoz2019-08-05-1/+1
| | | | |
| | * | | Pin dependencies in base imageGravatar MarkKoz2019-08-05-14/+14
| | | | |
| | * | | Pin dependencies for flake8 pre-commit hookGravatar MarkKoz2019-08-05-14/+12
| | | | | | | | | | | | | | | | | | | | * Remove flake8-formatter-junit-xml dependency in the hook
| | * | | Base image: cd into cloned repo before checkoutGravatar MarkKoz2019-08-04-0/+1
| | | | |
| | * | | Update base imageGravatar MarkKoz2019-08-04-2/+2
| | | | |
| | * | | Pin NsJail versionGravatar MarkKoz2019-08-04-1/+2
| | | | |
| | * | | Pin dependenciesGravatar MarkKoz2019-08-04-88/+89
| |/ / / | | | | | | | | | | | | Resolves #27
| * | / Merge pull request #34 from python-discord/linting-fixGravatar Chris Goes2019-07-22-12/+14
| |\| | | | |/ | |/| Pin pydocstyle to unbreak flake8-docstrings
| | * Pin pydocstyle to unbreak flake8-docstringsGravatar sco12019-07-10-12/+14
| |/ | | | | Relock
| * Merge pull request #31 from python-discord/testingGravatar Chris Goes2019-06-29-191/+364
| |\ | | | | | | NsJail Tests
| | * Use write_text() and fix codec namesGravatar MarkKoz2019-06-29-5/+3
| | |
| | * Test that the file system is mounted as read onlyGravatar MarkKoz2019-06-27-0/+10
| | |
| | * Disable swap memoryGravatar MarkKoz2019-06-27-3/+7
| | |
| | * Fix error when setting swap limit on a system that has it disabledGravatar MarkKoz2019-06-27-3/+9
| | | | | | | | | | | | | | | The error happens when either CONFIG_MEMCG_SWAP or CONFIG_MEMCG_SWAP_ENABLED is disabled in the kernel.
| | * Disable memory swapping and add a memory limit testGravatar MarkKoz2019-06-26-8/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | If memory swapping was enabled locally, the memory test would fail. Explicitly disabling swapping also removes reliance on the assumption that it'll be disabled in production. * Add a constant for the maximum memory * Simplify the timeout test; it'd otherwise first run out of memory now
| | * Don't generate an HTML report because Azure already does itGravatar MarkKoz2019-06-22-2/+1
| | | | | | | | | | | | See microsoft/azure-pipelines-tasks#9704
| | * Remove -it options from docker execGravatar MarkKoz2019-06-22-3/+3
| | |
| | * Add missing steps keyGravatar MarkKoz2019-06-22-0/+1
| | |
| | * Run linting & tests in a containerGravatar MarkKoz2019-06-22-14/+28
| | |
| | * Fix syntax errors in azure-pipelines.ymlGravatar MarkKoz2019-06-22-6/+7
| | | | | | | | | | | | | | | * Add succeededOrFailed condition to code coverage publish task * Rename test publish task for unit tests
| | * Add CI steps for running & publishing testsGravatar MarkKoz2019-06-22-17/+49
| | |