Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Nomad job definitions for
hyperbeam-gatewayon stage and live. The gateway serveshb-stage.anyone.techandhb.anyone.techfrom the services pool and reaches the node through its internal Consul service. Stacked on #14.Changes
operations/hyperbeam-gateway-stage.hclandoperations/hyperbeam-gateway-live.hcl: one allocation instage-services/live-services, dynamic port on thewireguardhost network, Traefik router for the environment's hostname with a per-address rate limit and a 1 MB body cap,/healthzcheck.hyperbeam-<env>-node; process ids fromsmart-contracts/<env>/*-address.hyperbeam-gateway-<env>at/datafor the message record. The task keeps the image'sbunuser, so the volume is owned by uid 1000.ADMIN_ACTIONSandADMIN_SIGNERSare set.commit_shahas no default until an image is published from the default branch.operations/README.md: what the job sets up, volume setup, deploy and post-deploy checks.Verified
nomad fmt -checkandnomad job run -output(Nomad 1.9.7) on both files: namespace, pool, router rule, volume, image and environment render as intended.bunuser is uid 1000 and that the image has nocurlorwget, so the in-allocation check usesbun.