Commit Graph

1168 Commits

Author SHA1 Message Date
Omar Brikaa 3d61d10373 Merge master 2022-02-05 14:17:46 +02:00
Thomas Hobson d1315b1196
Merge pull request #438 from Brikaa/nix-env-sockets
RUNTIME_SET env choice in start-dev & websockets support in Nix Piston
2022-02-05 13:49:18 +13:00
Omar Brikaa 2bdd4768cd RUNTIME_SET env choice in start-dev, websockets 2022-02-04 19:42:57 +02:00
Thomas Hobson 6d1156188c
Merge pull request #434 from Brikaa/java11
Added Java 11 (nix)
2022-02-01 07:46:49 +13:00
Omar Brikaa 7beb8b40a2 Added Java 11 2022-01-31 17:28:03 +02:00
Thomas Hobson af5036d82c
Convert some packages to nix-based
Affected packages:
- crystal
- dart
- dash
- deno
- elixir
- erlang
- gawk
2022-01-31 18:02:35 +13:00
Thomas Hobson ddab59ccdd
add limit overrides to runtime definitions 2022-01-31 17:47:27 +13:00
Thomas Hobson 8d6ecfaf37
fix scaffold script file naming 2022-01-31 17:46:48 +13:00
Thomas Hobson 388b781aca
Update scaffold tooling to give test command 2022-01-31 17:18:12 +13:00
Thomas Hobson e3cdbc160c
Merge branch 'nix-packages' of github.com:engineer-man/piston into nix-packages 2022-01-31 17:07:36 +13:00
Thomas Hobson 83e4a1a136
Fix issues after merging upstream
Implements a simple container builder for runtime sets
2022-01-31 17:01:28 +13:00
Thomas Hobson e022e34a37
Add nix runtime testing and pre-installing runtimes 2022-01-31 14:43:54 +13:00
Thomas Hobson 564da5a7eb
BREAKING: replace custom build scripts with nix
General:
- Switched to yarn to better work with nix-based tooling
- Switched package system to use nix. This stops double dependencies and slow cloud compile times, while providing more compile/runtime support to the Nix project
- Removed container builder in favor of internal container tooling
- Package versions no-longer need to be SemVer compliant
- Removed "piston package spec" files, replaced with nix-flake based runtimes
- Exported nosocket and piston-api as packages within the nix-flake
- Removed repo container
- Switched docker building to nix-based container outputting
- Removed docker compose as this is a single container
- Removed package commands from CLI

Packages:
- Move bash, clojure, cobol, node, python2, python3 to new format
- Remainder of packages still need to be moved

v2 API:
- Removed "version" specifier. To select specific versions, use the v3 api
- Removed "/package" endpoints as this doesn't work with the new nix-based system

v3 API:
- Duplicate of v2 API, except instead of passing in a language name an ID is used intead.
2022-01-31 14:42:12 +13:00
Thomas Hobson e06b59d82c
dockerfile to manage mounting of /nix 2022-01-30 22:32:12 +13:00
Thomas Hobson e2f37b7493
install API in container 2022-01-30 22:32:12 +13:00
Thomas Hobson 8d6ae04733
create packages flake 2022-01-30 22:31:43 +13:00
Thomas Hobson 0434877d03
Add nix runtime testing and pre-installing runtimes 2022-01-30 22:29:21 +13:00
Thomas Hobson 5bc793cd70
BREAKING: replace custom build scripts with nix
General:
- Switched to yarn to better work with nix-based tooling
- Switched package system to use nix. This stops double dependencies and slow cloud compile times, while providing more compile/runtime support to the Nix project
- Removed container builder in favor of internal container tooling
- Package versions no-longer need to be SemVer compliant
- Removed "piston package spec" files, replaced with nix-flake based runtimes
- Exported nosocket and piston-api as packages within the nix-flake
- Removed repo container
- Switched docker building to nix-based container outputting
- Removed docker compose as this is a single container
- Removed package commands from CLI

Packages:
- Move bash, clojure, cobol, node, python2, python3 to new format
- Remainder of packages still need to be moved

v2 API:
- Removed "version" specifier. To select specific versions, use the v3 api
- Removed "/package" endpoints as this doesn't work with the new nix-based system

v3 API:
- Duplicate of v2 API, except instead of passing in a language name an ID is used intead.
2022-01-30 18:41:24 +13:00
Thomas Hobson a965df2eb9
Merge pull request #427 from Brikaa/refactor-config
Refactor config.js
2022-01-29 14:40:51 +13:00
Omar Brikaa 416ade1b76 Refactor config.js 2022-01-28 17:58:00 +02:00
Omar Brikaa fe7f66a754 Add .vscode to gitignore 2022-01-28 11:43:56 +02:00
Thomas Hobson 9057e3c8d1
Merge pull request #419 from ShaneLee/bug/builder-directory
Make builder script run relative to directory it was called from
2022-01-13 16:42:33 +13:00
Thomas Hobson f4b366978d
Merge pull request #412 from Hydrazer/master
Added MATL
2022-01-12 14:13:25 +13:00
Shane f6fa9cb968 Make builder script run relative to directory it was called from 2022-01-02 09:39:24 +00:00
Hydrazer 021ec1aa94 pkg(MATL-22.5.0): added MATL 22.5.0 2021-12-30 11:12:20 -07:00
Thomas Hobson 20e71f617b
Remove hacktoberfest notice 2021-12-25 13:39:12 +13:00
Thomas Hobson 104b80df5c
Merge pull request #407 from Hydrazer/brachylog
pkg(brachylog-1.0.0)
2021-12-07 16:27:44 +13:00
Thomas Hobson d2ca0ca18e
Merge branch 'master' into brachylog 2021-12-07 16:20:33 +13:00
Thomas Hobson eb37d0ab72
ci: don 2021-11-29 14:00:10 +13:00
Hydrazer 8d32385b41 pkg(brachylog-1.0.0): added brachylog 2021-11-28 07:03:57 -07:00
Thomas Hobson e95d386697
Merge pull request #406 from Hydrazer/master
pkg(racket-8.3.0): added racket 8.3.0
2021-11-28 17:22:16 +13:00
Hydrazer 132a835b0b pkg(racket-8.3.0): added racket 8.3.0 2021-11-27 20:00:11 -07:00
Thomas Hobson c385c73bc4
Merge pull request #403 from Hydrazer/master
pkg(retina-1.2.0): added retina 1.2.0
2021-11-28 14:09:52 +13:00
Thomas Hobson ef9b22f154
Merge branch 'master' into master 2021-11-28 14:01:18 +13:00
Thomas Hobson 79f1ca50a5
Merge pull request #405 from Jonxslays/task/piston_rs
Add piston_rs to readme
2021-11-28 13:59:49 +13:00
Jonxslays d76aa7527e
Add piston_rs to readme 2021-11-27 12:26:28 -07:00
Hydrazer 6cee1e8c34 pkg(retina-1.2.0): added retina 1.2.0 2021-11-27 03:59:56 -07:00
Thomas Hobson 507233400d
Merge pull request #399 from engineer-man/dependabot/pip/docs/mkdocs-1.2.3
build(deps): bump mkdocs from 1.1.2 to 1.2.3 in /docs
2021-11-26 04:26:04 +13:00
dependabot[bot] 0085bd7217
build(deps): bump mkdocs from 1.1.2 to 1.2.3 in /docs
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.1.2 to 1.2.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.1.2...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 14:56:13 +00:00
Thomas Hobson de4d12caa7
Merge pull request #398 from Hydrazer/master
pkg(befunge93-0.2.0): added befunge93
2021-11-26 03:55:44 +13:00
Hydrazer 0949610b61 pkg(befunge93-0.2.0): added befunge93 2021-11-25 07:42:00 -07:00
Thomas Hobson 142e7912fa
api(config): respect $PORT as used by heroku if no explicit bind address provided 2021-11-26 02:32:28 +13:00
Thomas Hobson 3a2dc74586
Merge pull request #395 from VlaDexa/updated-deno
pkg(deno-1.16.2): Added deno 1.16.2
2021-11-25 19:00:24 +13:00
VlaDexa 81c6694637 pkg(deno-1.16.2): Set the cache directory 2021-11-21 23:27:59 +03:00
VlaDexa ed14e125e3 pkg(deno-1.16.2): Fix the test file 2021-11-21 23:18:39 +03:00
VlaDexa aeddcc7661 pkg(deno-1.16.2): Added deno 1.16.2 2021-11-21 21:39:40 +03:00
Thomas Hobson 1eddc8dcf7
Merge pull request #393 from VlaDexa/updated-rust
pkg(rust-1.56.1): Added rust 1.56.1
2021-11-19 13:44:56 +13:00
VlaDexa c2d9367b99 pkg(rust-1.56.1): Added rust 1.56.1 2021-11-18 17:36:10 +03:00
Thomas Hobson c091c117c7
api(job): Decrease safe_call CPU time
By increasing the niceness value of child processes, the scheduler gives less CPU Time to them.
This allows the node process to get more CPU time, and can work through the event queue faster.
2021-11-11 21:34:30 +13:00
Thomas Hobson c7efa5372a
api(job): Switch process cleanup to sync
The system used to use async.
This would result in execution is handed off to other processes.
In the case of a forkbomb was used, it could circumvent the janitor as it consumed more CPU time which would prevent the process janitor from reading the process information in.
2021-11-11 19:27:54 +13:00