Commit Graph

183 Commits

Author SHA1 Message Date
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