Commit Graph

18 Commits

Author SHA1 Message Date
pilfer-pandex
d90370cfc0 king: restore king to rightful place in default.nix 2021-01-25 17:34:46 -08:00
Edward Amsden
a64e0e141e
build: Build docker image and publish to Docker Hub
d3c5aa74c1 introduced a Docker image intended for deploying Urbit ships

This commit modifies the build.yml GitHub Actions workflow to build the
docker image as part of the push/PR workflow, and adds a
`release-docker.yml` workflow, which runs on any tag push `urbit-v*` and
pushes the image to Docker Hub, also synchronizing the README.

Co-authored-by: Josh Lehman <josh@urbit.org>
2021-01-13 12:36:45 -05:00
Edward Amsden
d3c5aa74c1
build: A 'smart' docker image
This commit adds the `docker-image` attribute to the main Nix
entrypoint, invoking `nix/pkgs/docker-image` which will build
a 'smart' docker image that can load keyfiles or a pier and
boot a ship

It includes a README for the official docker image, suitable
for posting as the README to a Docker Hub or similar docker
image repository.
2021-01-13 07:37:28 -05:00
botter
4db89ba685
default.nix: fix typo in examples section
should be enableStatic not enableSatic
2020-12-14 11:07:42 -06:00
Joe Bryan
f9640f96ab build: removes urbit-king from the release tarball 2020-12-08 02:10:26 -08:00
Joe Bryan
28f000b312 nix: run tests against the latest arvo source 2020-11-20 15:21:50 -08:00
Brendan Hay
2e72724d44
build: github actions workflow configuration 2020-11-15 15:05:13 +01:00
Joe Bryan
6106852b31 nix: fixes shellFor nix-shell helper 2020-11-11 17:26:29 -08:00
Brendan Hay
983261a3d8
build: move darwin install_name_tool fixup from vere to king haskell
As well as some variable naming consistency to appease the nixpkgs
gremlins and keep the git history lords on their toes.
2020-11-06 09:47:11 +01:00
Brendan Hay
8a02593f2d
build: run urbit-tests using the urbit-debug binary by default 2020-11-04 11:21:25 +01:00
Brendan Hay
3e31aae7b9
build: default crossSystem to musl64 on linux if enableStatic 2020-10-30 13:07:08 +01:00
Brendan Hay
6599a85b99
king: ensure tests are enabled on ci and don't depend on lfs pills 2020-10-29 16:20:41 +01:00
Brendan Hay
fada33dfe6
build: remove checkMaterialization flag 2020-10-28 18:19:53 +01:00
Brendan Hay
689c0eb6a0
build: ensuring release tarball contains singular parent directory
This ensures parity with the current release tarballs.
2020-10-28 11:05:58 +01:00
Brendan Hay
ce3cbf0857
build: rework all nix expressions to support hercules-ci builds
This also removes nixcrpkgs and OSX cross compilation in favour of
compiling on the target. x86_64/musl targets are still supported
on Linux.

All sources are now managed via niv (see nix/sources.json) and Haskell
package sets are provided/organised via IOHK's haskell.nix.

Some effort has been made to expose similar top-level attributes for
development, but in some cases there have been changes. Please see
the comments in the top-level default.nix and ci.nix files for usage.
2020-10-27 13:55:49 +01:00
benjamin-tlon
c86879e833
Nix Build + Monorepo Structure (#1196) 2019-03-04 16:43:53 -08:00
Benjamin Summers
c042ccc2ea Use fetchGit instead of fetchTarball to get nixpkgs. 2018-11-14 09:47:28 -08:00
Benjamin Summers
f632fbc5cb Do not use nixpkgs as a submodule. 2018-11-08 13:14:08 -08:00