Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | Update to Debian Bookworm | 2023-09-15 | -5/+5 | ||
|/ | | | | | | | | | | | Mount /dev/shm in the container by setting ipc to "private". This is the same as "none" (the previous value) with the only difference being that shm is mounted. This is needed for integration tests to pass. The integration tests always relied on shared memory due to their use of multiprocessing. They managed to work because glibc used to fall back to /tmp if /dev/shm wasn't available. However, newer versions of glibc, which Debian Bookworm now uses, removed that fallback behaviour. | ||||
* | Merge pull request #192 from python-discord/bump-Python-versions | 2023-09-11 | -5/+5 | ||
|\ | | | | | Bump Python versions | ||||
| * | Bump numpy up to 1.26.0rc1 when running on 3.12 | 2023-09-11 | -1/+1 | ||
| | | |||||
| * | Bump python versions used by snekbox to latest | 2023-09-11 | -4/+4 | ||
|/ | | | | | | 3.11.5 requires at least pyenv 2.3.25, so bumped to latest (2.3.26) for good measure anyway. 3.12.0rc2 requires pyenv 2.3.25 | ||||
* | Merge pull request #186 from python-discord/update-eval-deps | 2023-09-01 | -14/+14 | ||
|\ | | | | | Update eval deps | ||||
| * | Merge branch 'main' into update-eval-deps | 2023-09-01 | -14/+13 | ||
| |\ | |/ |/| | |||||
* | | Include install eval deps in final image (#191) | 2023-08-31 | -0/+1 | ||
| | | |||||
* | | Make CI and deployment.yaml share the same dependency install script (#190) | 2023-08-31 | -14/+12 | ||
| | | | | | | | | | | | | | | | | | | * Make CI and deployment.yaml share the same dependency install script * squashme: add set -euo pipefail as sane defaults This also requires running under bash rather than sh * squashme: add make target for installing eval deps | ||||
| * | Add references to when eval packages will be updated for 3.12 | 2023-08-30 | -3/+3 | ||
| | | |||||
| * | 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 | ||
| | |