Commit Graph

138 Commits

Author SHA1 Message Date
Brendan Hay
16379db9b0
build: remove haskell related nix code and haskell.nix dependency
* Upgrades the nixpkgs pin to 21.11.
* Removes nix code, sources, and attributes related to haskell.nix and
  the code under pkg/hs.
* Continuous integration no longer builds (or packages/releases)
  urbit-king (haskell).
* To continue to developing any haskell code under pkg/hs it's left as
  a user exercise uto install and configure GHC/Stack.

As a consequence running nix-shell should be considerably more
performant and requires downloading or building less dependencies.
2021-12-08 10:06:42 +01:00
Philip Monk
771f3519fa
Merge branch 'master' of ssh://github.com/urbit/urbit 2021-11-04 17:06:25 -07:00
Philip Monk
4f6d1b99c3
ci: fix 2021-11-02 17:12:13 -07:00
Philip Monk
3ef4a777cd
ci: fix
upgrade cachix and nix-install-action versions
2021-11-01 21:52:52 -07:00
Liam Fitzgerald
23cc2b72a0 meta: remove CI/CD for beginner island 2021-10-26 10:19:35 -05:00
Joe Bryan
1a8935ffe6
Merge pull request #5171 from urbit/jb/urcrypt-merge
urcrypt: merge
2021-09-09 07:23:48 -07:00
Joe Bryan
54d476ba0f Merge branch 'jb/rc' into release/next-vere
* jb/rc: (86 commits)
  kh: improve code style
  compat: minor refactoring
  compat: add m1brew
  kh: don't error during key validation
  kh: improve naming and code style
  compat: mingw: fix dependency patch path
  king: add crud event to jael
  king: fix noun derivation
  compat: mingw: put downloaded dependencies under $NIX_STORE (default to pkg/build so that git ignores them)
  compat: mingw: add seh_handler_decorator comments, move SEH handler to compat/mingw/seh_handler.c
  tests, aqua: update  for recent changes
  vere: update argon2u dependency to urbit/argon2@a4c1e3f7
  compat: fix missing newlines at end of file
  vere: ignore more intermediate build files
  dawn: better multikey format
  vere: mingw: fix seh_handler_decorator.mk
  kh: support multikeyfiles
  kh: expose to/fromNoun template logic separately
  vere: mingw: get rid of libsigsegv
  vere: mingw: bump curl version and get rid of CURLOPT_SSL_CTX_FUNCTION typecheck warning
  ...
2021-09-02 12:44:05 -04:00
Joe Bryan
22e1813ae2 build: fixes mingw static builds, tweaks urbit configure --enable-static 2021-08-30 14:14:27 -04:00
Joe Bryan
21498a5d93 build: update mingw CI to use "ares" cachix cache 2021-08-19 20:36:00 -04:00
Joe Bryan
80765b9516 build: fixes urbit+urcrypt mingw build 2021-08-19 20:36:00 -04:00
Joe Bryan
042b115b76 Merge remote-tracking branch 'upstream/m/multipass' into jb/rc
* upstream/m/multipass: (652 commits)
  kh: don't error during key validation
  kh: improve naming and code style
  king: add crud event to jael
  king: fix noun derivation
  tests, aqua: update  for recent changes
  glob: update to 0v2.3qak4.al612.8m1ig.kg03r.mfide
  notifications: fix description
  OmniboxResult: update props
  leap: display chording options
  interface: added isAdmin to props as well
  interface: make isAdmin an optional prop
  dm-hook: fix on-init, rerun in on-load
  dawn: better multikey format
  interface: fix prop drilling of isAdmin
  graph-push-hook: speed up by getting rid of nest checks, using %cf, and storing gates instead of tubes
  btc: update styles for bridge invoice page too
  btc: fix order of fee options
  btc: invoice page style fixes and fee display
  graph-store + validators: stop using +grab:noun and switch to using a static conversion to %graph-indexed-post
  graph-push-hook/thread: shave off 20ms from nest checks by getting rid of tmi problem with types
  ...
2021-07-15 13:36:25 -04:00
Liam Fitzgerald
33a300e615
Merge remote-tracking branches 'origin/jt/janeway-v0.15.4' and 'origin/lf/lerna' into release/next-userspace 2021-07-07 12:45:07 +10:00
Jared Tobin
2e33ecc7c1 meta: bump janeway version, change repo
Changes it to the image kept at the 'tloncorp' repo instead.
2021-07-03 01:20:37 +09:00
Liam Fitzgerald
198bb6cb62
meta: update chromatic CI for lerna 2021-07-02 12:34:51 +10:00
Liam Fitzgerald
8d5d959cd7
meta: ensure CI has ref 2021-07-02 11:06:06 +10:00
Liam Fitzgerald
1cd54a685c
meta: update CI checking for frontend packages 2021-07-02 10:40:57 +10:00
Jared Tobin
38ce3bc903 meta: update janeway to v0.15.3.1 2021-06-22 02:26:29 +09:00
Jared Tobin
388fc95587 meta: janeway version bump, new glob target
Replaces ~lomlyx with ~hanruc due to the former's impending retirement.
2021-06-17 00:36:19 +09:00
Jared Tobin
d353ae3f0d meta: update to janeway v0.15.2
Despite the benign-looking patch version bump, the latest version of
janeway drops support for the --do-it-live flag.
2021-06-02 16:49:21 +09:00
Matilde Park
d54f9cf129 build: bump janeway on dockerfile 2021-06-01 17:35:58 -04:00
ixv
13807303b4
Merge pull request #4940 from urbit/release/bitcoin-wallet
Bitcoin Wallet
2021-05-27 10:28:18 -07:00
Matilde Park
34e46d8c0e meta: modify devnet build for new glob 2021-05-27 08:51:02 -04:00
Liam Fitzgerald
467ce21341
interface: run chromatic on push to update baselines 2021-05-26 11:08:03 +10:00
Liam Fitzgerald
8df6c5faaa
interface: fix chromatic CI 2021-05-25 15:36:22 +10:00
Liam Fitzgerald
3b5c688017
interface: add chromatic to CI 2021-05-25 14:59:39 +10:00
~locpyl-tidnyd
aea35d54ab Merge master into mingw-port to make typescript-check.yml happy 2021-05-20 12:11:03 +00:00
matildepark
22ffd42a66
build: check subdirs on tsc
Forgot this yet again.
2021-05-14 00:33:40 -04:00
matildepark
6e32d20830
Merge pull request #4853 from urbit/mp/landscape/tsc-test
build: add typescript-check.yml
2021-05-13 22:59:18 -04:00
Matilde Park
89bcff999f meta: auto-deploy release/next-userspace 2021-05-11 16:10:12 -04:00
~locpyl-tidnyd
c708820958 build-action: temporarily use PR-specific cache 2021-05-05 15:04:14 +03:00
Matilde Park
9803d2af90 build: add typescript-check.yml 2021-05-04 20:24:57 -04:00
~locpyl-tidnyd
3865de2414 compat: mingw: make smoke test use the same parameters as urbit-tests 2021-05-03 15:18:40 +03:00
~locpyl-tidnyd
ef228a0490 compat: mingw: optionally cache dependency artifacts in cachix 2021-05-02 23:57:40 +03:00
~locpyl-tidnyd
90f9c68c09 vere: mingw: add smoke test to build action 2021-04-30 22:25:59 +03:00
~locpyl-tidnyd
4882b0040b Merge tag 'urbit-v1.3' into mingw-port 2021-04-02 19:07:23 +00:00
matildepark
4f54c7dec6
build: only run publish-npm-packages on pkg/npm 2021-03-30 15:39:41 -04:00
~locpyl-tidnyd
1c58db28de meta: add mingw build action 2021-03-29 20:49:41 +00:00
matildepark
5e806fef13
build: match on path subdirectories 2021-03-29 14:42:15 -04:00
Matilde Park
941208794f meta: address @brendanhay review #4649 2021-03-24 16:10:04 -04:00
Matilde Park
7e562a522d meta: address @jtobin review #4649 2021-03-24 11:50:04 -04:00
Matilde Park
6ab3ccff77 meta: only build ci if changing arvo, vere, king 2021-03-23 15:31:23 -04:00
matildepark
7d451a37b8
Merge pull request #4525 from urbit/jt/npm-publish
meta: publish interface packages when available
2021-03-02 12:11:14 -05:00
Jared Tobin
c20907f54e
meta: switch publish action to production mode
Targets it at master, drops the job dry-run flags.
2021-03-02 15:39:17 +04:00
Jared Tobin
ba426ef78d
meta: simplify yaml
'working-directory' can just be specified on-site.
2021-03-02 15:37:11 +04:00
Jared Tobin
cc345171f3
meta: tell action where package.jsons are 2021-03-02 15:34:46 +04:00
Jared Tobin
8d938e205b
meta: publish interface packages when available
Adds a workflow that, on every push to master, will publish new versions
of interface subpackages to the NPM registry if any are available.

Staged to trigger on a test branch for now.
2021-03-02 15:31:06 +04:00
Jared Tobin
a51d95d806
meta: adjust merge operations
Adds a 'merge-release' workflow that runs on any push to a release
branch.  At present the only job merges the triggering branch to
'ops-tlon'.

Also renames the 'merge' workflow to 'merge-master' to distinguish it
appropriately.
2021-03-01 18:46:02 +04:00
Liam Fitzgerald
9ecc426820
meta: automatically merge master into ops/group-timer 2021-02-26 11:58:38 +10:00
Liam Fitzgerald
23805b4dde
meta: automatically glob and deploy ops/group-timer on push 2021-02-26 11:58:08 +10:00
Jared Tobin
153a066973 meta: update janeway dep in glob action 2021-02-04 03:21:22 +09:00
Matilde Park
88064e11ee meta: add explainer line 2021-01-22 21:19:39 -05:00
Matilde Park
f2b07df146 meta: add link to urbit/landscape 2021-01-22 17:36:47 -05:00
matildepark
73b1b386a2 meta: remove landscape template 2021-01-22 17:34:58 -05:00
Jared Tobin
3c54879627
meta: remove CACHIX_NAME in release-docker action [ci skip]
To be consistent with how 'name' is handled in 928d1b9ceb.
2021-01-22 16:00:07 +04:00
Jared Tobin
928d1b9ceb
meta: remove use of CACHIX_NAME
It appears 'name' must be a constant, so this repeats what was done in
10855b9ec5.
2021-01-22 15:50:46 +04:00
Edward Amsden
a36961af36
build: docker-image: Use docker instead of Skopeo to push
Hosted container services such as Azure Container Images are broken
by the absence of metadata in images pushed by Skopeo. Using Docker we
can push and ensure all metadata is in place.

Tested on: GitHub Actions for black-river-software/urbit fork.
2021-01-17 20:53:54 -05:00
Edward Amsden
02afb3edfb
build: tag docker image as "latest"
When pushing the docker image, update the "latest" tag as well as
pushing a tag for the current Urbit version. This way users pulling
tloncorp/urbit:latest will always get an image with the latest point
release of Urbit.
2021-01-14 20:52:41 -05:00
matildepark
20da8a6ed3
Merge pull request #4286 from urbit/jt/merge-via-bot
Use bot to execute merge workflow
2021-01-14 11:53:40 -05:00
Jared Tobin
67c57c98c5 meta: activate adjusted merge workflow 2021-01-14 15:56:57 +09:00
Jared Tobin
60f67727fe meta: stage adjusted merge workflow
Uses janeway-bot's token, rather than the default GitHub Actions token,
to allow the merge workflow to trigger others.
2021-01-14 15:56:34 +09: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
Jared Tobin
5fc506c837
meta: bump janeway version in glob action
Uses janeway v0.13.3, which allows us to remove some of the hacky steps
in the glob action entrypoint script introduced in 17f3431b43.
2021-01-12 13:51:19 +04:00
Jared Tobin
169908a1a4
meta: add merge action 2021-01-06 20:25:44 +04:00
Jared Tobin
eae48b76c6
meta: stage a merge workflow
Adds a workflow that, on any push to master, will merge master to
release/next-js.

Presently targeted at another branch for testing.
2021-01-06 20:25:44 +04:00
matildepark
b5258fc916
glob.yml: remove on-PR globbing
Sorry for direct push, just a critical issue.
2021-01-05 21:55:26 -05:00
Jared Tobin
17f3431b43
meta: glob action tweaks
Sets two environment variables, LANDSCAPE_STREAM and
LANDSCAPE_SHORTHASH, to be employed by landscape builds.  Also reverts
the janeway version used to v0.13.1 as the --dev flag is unnecessary.
2021-01-06 03:40:46 +04:00
Jared Tobin
1f7e454a90
meta: use janeway v0.13.2 in glob action 2021-01-05 20:32:56 +04:00
Jared Tobin
d6e21e1519
meta: invoke janeway with --dev
The --dev flag injects a development modal in Landscape when globbing.
2021-01-05 19:15:14 +04:00
Jared Tobin
daad76b5e2
meta: pull in lfs files when using checkout action
Some other commits have been squashed in:

meta: remove user declarations for glob action

This is a tricky problem.  SSH needs UID 0 to exist, and intuitively it
does (root), but we can't enforce that when GitHub is running our
container.  Specifying "USER 0:0" in the actions Dockerfile doesn't cut
it.

Instead it seems best to try and construct a shadow-utils setup on the
underlying Docker image.

meta: target glob workflow at release/next-js
2020-12-19 13:18:15 -03:30
Jared Tobin
0e2cb45121
meta: don't sequence arguments in glob action defn 2020-12-19 10:46:55 -03:30
Jared Tobin
aa2cfe4767
meta: fix glob action location 2020-12-19 10:45:22 -03:30
Jared Tobin
e862dfa971
meta: don't sequence glob action arguments 2020-12-19 10:44:17 -03:30
Jared Tobin
03ed832737
meta: stage a 'glob' GitHub workflow
Adds a workflow that executes the 'glob' action on every push and pull
request to the 'release/next-js' branch.

(For now this is just staged to the 'jt/lacd' branch for testing.)
2020-12-19 10:40:20 -03:30
Jared Tobin
7b1b4d8cc6
meta: add a 'glob' GitHub action
This action, when supplied with the appropriate arguments, will create a
Landscape glob from GITHUB_SHA [1] and deploy it OTA to the appropriate
ship.

It needs to be supplied the following:

* ship name
* base64-encoded GCP Service Account credentials
* a base64-encoded SSH secret key to be used for GCP actions
* the corresponding base64-encoded SSH public key

[1]: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables
2020-12-19 10:30:59 -03:30
Brendan Hay
57a2d09812
build: use ares.cachix.org for continuous integration 2020-12-14 08:54:42 +01:00
Brendan Hay
7542ff1413
build: upload static tarballs when a new tag is pushed 2020-12-04 09:20:48 +01:00
Brendan Hay
08332993b3
build: ensuring correct workflow naming and static binary upload 2020-12-04 08:59:49 +01:00
Brendan Hay
21dd7a9ab6
build: split artefact upload into separate release workflow 2020-11-25 15:33:52 +01:00
Brendan Hay
3d2b24e85e
build: update gcloud to use non-deprecated action 2020-11-20 07:47:04 +01:00
Brendan Hay
506e768507
build: update GoogleCloudPlatform/github-actions/setup-gcloud to 0.2.0 2020-11-17 18:54:17 +01:00
Brendan Hay
2e72724d44
build: github actions workflow configuration 2020-11-15 15:05:13 +01:00
matildepark
52466771b6
meta: update issue template 2020-09-23 13:53:27 -04:00
Matilde Park
9daab55c3a meta: add issue links to landscape, urbit-dev 2020-08-31 21:34:15 -04:00
botter-nidnul
db2c8d3d92 ISSUE_TEMPLATEs: use +trouble instead of .^(@uv %cz /=base=) 2020-08-01 09:39:36 -05:00
matildepark
79bbaec5e8
Update os1-bug-report.md 2020-06-03 17:38:21 -04:00
Jared Tobin
2919b41675 meta: update issue templates
Adds a template for kernel/runtime bug reports.
2020-04-21 13:52:35 +04:00
Fang
368778bcc9
meta: os1 bug template, provide desktop os example 2020-03-13 10:28:54 +01:00
Anthony Arroyo
9ea689714a Create OS1 issue template 2020-03-12 10:24:21 -07:00