aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * Bump eval-deps to latest versionsGravatar Chris Lovering2023-08-30-13/+13
|/
* Fix link in readme (#189)Gravatar wookie1842023-08-30-1/+1
|
* Merge pull request #188 from python-discord/test-init-container-in-CIGravatar Joe Banks2023-08-30-0/+29
|\ | | | | Test deployment init container in CI
| * Test deployment init container in CIGravatar Chris Lovering2023-08-30-0/+29
|/
* Merge pull request #113 from python-discord/jb3/shared-memGravatar wookie1842023-08-30-17/+72
|\ | | | | Enable a limited tmpfs for shared memory
| * Merge branch 'main' into jb3/shared-memGravatar wookie1842023-08-30-114/+247
| |\ | |/ |/|
* | Merge pull request #185 from python-discord/jb3/refactor-eval-depsGravatar Joe Banks2023-08-29-35/+40
|\ \ | | | | | | Refactor how we process eval dependencies
| * | Switch from using post start hooks to init containersGravatar Joe Banks2023-08-29-35/+16
| | | | | | | | | | | | Switch from using a post-start hook to using an init container to install dependencies on all configured versions
| * | Move eval deps into their own requirements fileGravatar Joe Banks2023-08-29-0/+24
|/ /
* | Merge pull request #184 from python-discord/jb3/3.12-ignoresGravatar Joe Banks2023-08-29-5/+6
|\ \ | | | | | | Disable dependencies without wheels on 3.12
| * | Disable dependencies without wheels on 3.12Gravatar Joe Banks2023-08-29-5/+6
|/ / | | | | | | Also use a numpy release candidate to maintain numpy and scipy
* | Merge pull request #181 from python-discord/feat/158/multi-versionGravatar ChrisJL2023-08-29-77/+135
|\ \ | | | | | | Install Multiple Python Versions in the Image
| * | Install eval dependencies with --user & ensure user base var is setGravatar Joe Banks2023-08-29-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the way that `find` executes -exec arguments we need to run the pip install's inside another `sh` instance so that the PYTHONUSERBASE environment variable is correctly picked up. Additionally, we need to specify `--user` so that pip respects the PYTHONUSERBASE variable at all.
| * | Fix numpy install for testGravatar Mark2023-08-19-1/+1
| | | | | | | | | | | | Need to use `export` to set vars when && is used between the commands.
| * | Remove leading empty strings from NsJail config argsGravatar Mark2023-08-19-2/+2
| | | | | | | | | | | | | | | Prevent an empty exec_bin.args from manifesting as an empty string in the fully built arguments.
| * | Use --link with COPY in DockerfileGravatar Mark2023-08-19-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Re-use already built COPY layers in subsequent builds even if the previous layers have changed, which is especially helpful when copying from another build stage. See https://docs.docker.com/engine/reference/builder/#copy---link
| * | Install multiple Python versions in imageGravatar Mark2023-08-19-56/+117
| | | | | | | | | | | | | | | | | | | | | | | | Separate snekbox's Python interpreter from the interpreter used by NsJail. This allows for the interpreters to be updated on different cadences and provides better isolation of packages. Each Python interpreter adds about 70 MB to the built image.
| * | Use buildpack-deps as the builder base imageGravatar Mark2023-08-07-9/+6
| | | | | | | | | | | | | | | Get some of the NsJail build dependencies pre-installed thanks to the base image.
| * | Remove explicit package versions from DockerfileGravatar Mark2023-08-07-14/+14
| | | | | | | | | | | | | | | It's using a stable version of Debian, so it's redundant to lock packages to specific versions.
* | | Merge pull request #183 from python-discord/enforce-filesize-limitsGravatar Joe Banks2023-08-29-7/+76
|\ \ \ | |/ / |/| | Enforce filesize limits
| * | Limit total file size read from tmpfs to avoid high memory usageGravatar wookie1842023-08-29-4/+73
| | |
| * | Use pip-tools version that supports newer pip versionsGravatar wookie1842023-08-29-3/+3
|/ /
| * Update tests to account for shared memoryGravatar Joe Banks2023-08-28-17/+64
| |
| * Enable a limited tmpfs for shared memoryGravatar Joe Banks2021-07-21-0/+8
|/
* Merge #180 - fix integration testsGravatar Mark2023-06-23-0/+18
|\
| * Kill process after waiting for it to terminateGravatar wookie1842023-06-23-2/+3
| |
| * Attempt to fix flaky integration testsGravatar wookie1842023-06-22-0/+11
| |
| * Fix issue when running individual integration testsGravatar wookie1842023-06-22-0/+6
|/
* Merge pull request #178 from python-discord/fix-status-badgeGravatar ChrisJL2023-06-22-2/+2
|\ | | | | Fix actions status badge
| * Fix actions status badgeGravatar wookie1842023-06-22-2/+2
|/
* Merge pull request #173 from python-discord/file-scan-recursion-fixGravatar ChrisJL2023-05-09-41/+117
|\ | | | | Fix recursion error during file attachment parsing of deep nested paths
| * Merge branch 'main' into file-scan-recursion-fixGravatar ChrisJL2023-05-09-49/+34
| |\ | |/ |/|
* | Update Sentry SDK to support Falcon 3Gravatar Bradley Reynolds2023-03-13-49/+34
| | | | | | Signed-off-by: Bradley Reynolds <[email protected]>
| * Update type hint for `files_timeout` to be `int` to be compatible with ↵Gravatar Ionite2023-03-16-1/+1
| | | | | | | | `timed.time_limit`
| * Add unit tests for time_limitGravatar Ionite2023-03-16-0/+30
| |
| * Include TimeoutError in raises docstring fieldGravatar Ionite2023-03-16-4/+6
| |
| * Rename `count` variableGravatar Ionite2023-03-16-3/+3
| |
| * Use log.exception for catch allGravatar Ionite2023-03-16-1/+1
| |
| * Update snekbox/utils/timed.pyGravatar Ionite2023-03-15-1/+1
| | | | | | Co-authored-by: Mark <[email protected]>
| * Remove unused timed functionGravatar Ionite2023-03-13-33/+4
| |
| * Add SIGALRM based time limitGravatar Ionite2023-03-13-13/+42
| |
| * Add unit test for deeply nested path file parsingGravatar Ionite2023-03-11-0/+23
| | | | | | | | Using example for reproducing issue #172
| * Provide files_timeout to `MemFS.files_list` callGravatar Ionite2023-03-11-0/+1
| |
| * Add `timeout` to `MemFS.files` and `MemFS.files_list` for more cooperative ↵Gravatar Ionite2023-03-11-10/+23
| | | | | | | | cancellation
| * Handle recursion error cases from globGravatar Ionite2023-03-11-0/+7
| |
| * Reduce file parse timeout from 8 to 5 secondsGravatar Ionite2023-03-11-1/+1
| |
| * Ensure mp Pool is not reused to avoid broken pipes from shutdownGravatar Ionite2023-03-11-1/+1
|/
* Merge pull request #170 from python-discord/files-exclude-hiddenGravatar Boris Muratov2023-03-10-0/+24
|\ | | | | Exclude hidden paths in files output
| * Add unit test for hidden paths exclusionGravatar Ionite2023-03-09-0/+19
| |
| * Add files output exclude for hidden pathsGravatar Ionite2023-03-09-0/+5
|/