about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-30 docs(README): Add logo & build statusVincent Ambo1-3/+9
2019-07-30 feat(static): Add logo & favicon resourcesVincent Ambo3-0/+1
2019-07-30 refactor(main): Introduce more flexible request routingVincent Ambo1-57/+62
Instead of just dispatching on URL regexes, use handlers to split the routes into registry-related handlers and otherwise(tm). For now the otherwise(tm) consists of a file server serving the static directory, rather than just a plain match on the index route.
2019-07-30 feat(build): Add Travis configuration to build everythingVincent Ambo2-1/+2
The default Travis build command for Nix is `nix-build`, which will build all derivations specified in the default.nix.
2019-07-29 docs(CONTRIBUTING): Mention commit message formatVincent Ambo1-0/+7
2019-07-29 docs(README): Update roadmap informationVincent Ambo1-27/+17
Adds information about Kubernetes integration & custom repository support as well as links to the relevant tracking issues.
2019-07-29 docs(README): Remove known issues from READMEVincent Ambo1-20/+0
These issues have been moved to the issue tracker.
2019-07-26 fix(build): Specify default command for Nixery's own imageVincent Ambo1-0/+1
When running on AppEngine, the image is expected to be configured with a default entry point / command. This sets the command to the wrapper script, so that the image can actually run properly when deployed.
2019-07-24 feat(nix): Import nixpkgs from a configured Nix channelVincent Ambo2-6/+17
Instead of using whatever the current system default is, import a Nix channel when building an image. This will use Nix' internal caching behaviour for tarballs fetched without a SHA-hash. For now the downloaded channel is pinned to nixos-19.03.
2019-07-24 feat(build): Configure Nixery image builder to set up env correctlyVincent Ambo1-3/+27
When running Nix inside of a container image, there are several environment-specific details that need to be configured appropriately. Most importantly, since one of the recent Nix 2.x releases, sandboxing during builds is enabled by default. This, however, requires kernel privileges which commonly aren't available to containers. Nixery's demo instance (for instance, hehe) is deployed on AppEngine where this type of container configuration is difficult, hence this change. Specifically the following were changed: * additional tools (such as tar/gzip) were introduced into the image because the builtins-toolset in Nix does not reference these tools via their store paths, which leads to them not being included automatically * Nix sandboxing was disabled in the container image * the users/groups required by Nix were added to the container setup. Note that these are being configured manually instead of via the tools from the 'shadow'-package, because the latter requires some user information (such as root) to be present already, which is not the case inside of the container
2019-07-23 chore: Remove AppEngine configuration fileVincent Ambo1-14/+0
2019-07-23 chore: Add gitignore to ignore Nix build resultsVincent Ambo1-0/+2
2019-07-23 chore: Add license scaffolding & contribution guidelinesVincent Ambo5-0/+271
2019-07-23 feat(build): Add wrapper script & container image setupVincent Ambo1-1/+26
Introduces a wrapper script which automatically sets the paths to the required runtime data dependencies. Additionally configures a container image derivation which will output a derivation with Nixery, Nix and other dependencies.
2019-07-23 style(main): Reflow comments to 80 characters maximumVincent Ambo1-42/+51
2019-07-23 feat(main): Add additional envvars to configure NixeryVincent Ambo1-32/+49
Previously the code had hardcoded paths to runtime data (the Nix builder & web files), which have now been moved into configuration options. Additionally configuration for the application is now centralised in a single config struct, an instance of which is passed around the application. This makes it possible to implement a wrapper in Nix that will configure the runtime data locations automatically.
2019-07-23 feat(build): Introduce build configuration using NixVincent Ambo3-0/+154
Rather than migrating to Bazel, it seems more appropriate to use Nix for this project. The project is split into several different components (for data dependencies and binaries). A derivation for building an image for Nixery itself will be added.
2019-07-23 chore: Import Nixery from experimentalVincent Ambo5-0/+679
Moves the existing Nixery code base to a git repository and switches to public equivalents of libraries used.
2019-07-23 chore: Initial commitVincent Ambo0-0/+0