Commit Graph

9 Commits

Author SHA1 Message Date
Omar Brikaa 3149cd80fa Add the priorities directly in flake.nix 2022-06-05 11:32:32 +02:00
Omar Brikaa b50af13787 Implement runtime priorities 2022-06-04 23:14:11 +02:00
Omar Brikaa 4578a9d15b Nix Piston: dev and prod containers
- Change appEnv to isDev
- Determine the image name in api/default.nix
- Use production image in ./piston test
2022-02-19 20:24:01 +02:00
Omar Brikaa c2bc1ebf94 Construct the dev and prod containers directly in the set 2022-02-19 14:40:32 +02:00
Omar Brikaa 97fd8a16d4 Add dev/prod conditions in the nix files 2022-02-18 13:20:03 +02:00
Omar Brikaa c238ff6254 Add none in runtime sets 2022-02-18 13:17:10 +02:00
Thomas Hobson ddab59ccdd
add limit overrides to runtime definitions 2022-01-31 17:47:27 +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