Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | Bump eval-deps to latest versions | 2023-08-30 | -13/+13 | ||
|/ | |||||
* | Fix link in readme (#189) | 2023-08-30 | -1/+1 | ||
| | |||||
* | Merge pull request #188 from python-discord/test-init-container-in-CI | 2023-08-30 | -0/+29 | ||
|\ | | | | | Test deployment init container in CI | ||||
| * | Test deployment init container in CI | 2023-08-30 | -0/+29 | ||
|/ | |||||
* | Merge pull request #113 from python-discord/jb3/shared-mem | 2023-08-30 | -17/+72 | ||
|\ | | | | | Enable a limited tmpfs for shared memory | ||||
| * | Merge branch 'main' into jb3/shared-mem | 2023-08-30 | -114/+247 | ||
| |\ | |/ |/| | |||||
* | | Merge pull request #185 from python-discord/jb3/refactor-eval-deps | 2023-08-29 | -35/+40 | ||
|\ \ | | | | | | | Refactor how we process eval dependencies | ||||
| * | | Switch from using post start hooks to init containers | 2023-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 file | 2023-08-29 | -0/+24 | ||
|/ / | |||||
* | | Merge pull request #184 from python-discord/jb3/3.12-ignores | 2023-08-29 | -5/+6 | ||
|\ \ | | | | | | | Disable dependencies without wheels on 3.12 | ||||
| * | | Disable dependencies without wheels on 3.12 | 2023-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-version | 2023-08-29 | -77/+135 | ||
|\ \ | | | | | | | Install Multiple Python Versions in the Image | ||||
| * | | Install eval dependencies with --user & ensure user base var is set | 2023-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 test | 2023-08-19 | -1/+1 | ||
| | | | | | | | | | | | | Need to use `export` to set vars when && is used between the commands. | ||||
| * | | Remove leading empty strings from NsJail config args | 2023-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 Dockerfile | 2023-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 image | 2023-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 image | 2023-08-07 | -9/+6 | ||
| | | | | | | | | | | | | | | | Get some of the NsJail build dependencies pre-installed thanks to the base image. | ||||
| * | | Remove explicit package versions from Dockerfile | 2023-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-limits | 2023-08-29 | -7/+76 | ||
|\ \ \ | |/ / |/| | | Enforce filesize limits | ||||
| * | | Limit total file size read from tmpfs to avoid high memory usage | 2023-08-29 | -4/+73 | ||
| | | | |||||
| * | | Use pip-tools version that supports newer pip versions | 2023-08-29 | -3/+3 | ||
|/ / | |||||
| * | Update tests to account for shared memory | 2023-08-28 | -17/+64 | ||
| | | |||||
| * | Enable a limited tmpfs for shared memory | 2021-07-21 | -0/+8 | ||
|/ | |||||
* | Merge #180 - fix integration tests | 2023-06-23 | -0/+18 | ||
|\ | |||||
| * | Kill process after waiting for it to terminate | 2023-06-23 | -2/+3 | ||
| | | |||||
| * | Attempt to fix flaky integration tests | 2023-06-22 | -0/+11 | ||
| | | |||||
| * | Fix issue when running individual integration tests | 2023-06-22 | -0/+6 | ||
|/ | |||||
* | Merge pull request #178 from python-discord/fix-status-badge | 2023-06-22 | -2/+2 | ||
|\ | | | | | Fix actions status badge | ||||
| * | Fix actions status badge | 2023-06-22 | -2/+2 | ||
|/ | |||||
* | Merge pull request #173 from python-discord/file-scan-recursion-fix | 2023-05-09 | -41/+117 | ||
|\ | | | | | Fix recursion error during file attachment parsing of deep nested paths | ||||
| * | Merge branch 'main' into file-scan-recursion-fix | 2023-05-09 | -49/+34 | ||
| |\ | |/ |/| | |||||
* | | Update Sentry SDK to support Falcon 3 | 2023-03-13 | -49/+34 | ||
| | | | | | | Signed-off-by: Bradley Reynolds <[email protected]> | ||||
| * | Update type hint for `files_timeout` to be `int` to be compatible with ↵ | 2023-03-16 | -1/+1 | ||
| | | | | | | | | `timed.time_limit` | ||||
| * | Add unit tests for time_limit | 2023-03-16 | -0/+30 | ||
| | | |||||
| * | Include TimeoutError in raises docstring field | 2023-03-16 | -4/+6 | ||
| | | |||||
| * | Rename `count` variable | 2023-03-16 | -3/+3 | ||
| | | |||||
| * | Use log.exception for catch all | 2023-03-16 | -1/+1 | ||
| | | |||||
| * | Update snekbox/utils/timed.py | 2023-03-15 | -1/+1 | ||
| | | | | | | Co-authored-by: Mark <[email protected]> | ||||
| * | Remove unused timed function | 2023-03-13 | -33/+4 | ||
| | | |||||
| * | Add SIGALRM based time limit | 2023-03-13 | -13/+42 | ||
| | | |||||
| * | Add unit test for deeply nested path file parsing | 2023-03-11 | -0/+23 | ||
| | | | | | | | | Using example for reproducing issue #172 | ||||
| * | Provide files_timeout to `MemFS.files_list` call | 2023-03-11 | -0/+1 | ||
| | | |||||
| * | Add `timeout` to `MemFS.files` and `MemFS.files_list` for more cooperative ↵ | 2023-03-11 | -10/+23 | ||
| | | | | | | | | cancellation | ||||
| * | Handle recursion error cases from glob | 2023-03-11 | -0/+7 | ||
| | | |||||
| * | Reduce file parse timeout from 8 to 5 seconds | 2023-03-11 | -1/+1 | ||
| | | |||||
| * | Ensure mp Pool is not reused to avoid broken pipes from shutdown | 2023-03-11 | -1/+1 | ||
|/ | |||||
* | Merge pull request #170 from python-discord/files-exclude-hidden | 2023-03-10 | -0/+24 | ||
|\ | | | | | Exclude hidden paths in files output | ||||
| * | Add unit test for hidden paths exclusion | 2023-03-09 | -0/+19 | ||
| | | |||||
| * | Add files output exclude for hidden paths | 2023-03-09 | -0/+5 | ||
|/ |