telackey
90d92c3e15
Fix Docker build
2024-04-02 22:20:02 -05:00
telackey
202c68d996
unused file
2024-04-02 21:25:06 -05:00
telackey
236dea1b44
typo
2024-04-02 18:43:05 -05:00
telackey
9aa02fc26a
missing env
2024-04-02 18:39:48 -05:00
telackey
80e039d70e
Remove abandoned file.
2024-04-02 18:03:59 -05:00
telackey
d7f06ad51e
Combine stacks.
2024-04-02 18:02:54 -05:00
telackey
343d31c324
Add README
2024-04-01 16:07:47 -05:00
telackey
fd00143b76
Add README
2024-04-01 16:06:52 -05:00
telackey
36e89b5a78
Linea Sepolia Testnet-based Nitro Auth
2024-04-01 15:53:01 -05:00
telackey
80b299c1e5
Swap caddy for nginx
2024-03-22 17:10:23 -05:00
telackey
f20dcb8457
revert
2024-03-21 16:19:42 -05:00
telackey
7929a137b6
revert
2024-03-21 16:19:14 -05:00
telackey
247025de28
Shorten sleep
2024-03-21 12:12:26 -05:00
telackey
76821f00a0
stack updates
2024-03-21 02:10:37 -05:00
telackey
78219c0e04
Ask nitor
2024-03-19 21:11:52 -05:00
telackey
9e87088328
WIP: nitro auth
2024-03-19 16:49:51 -05:00
telackey
523b5779be
Auto-detect which certificate to use (including wildcards). ( #779 )
...
Rather than always requesting a certificate, attempt to re-use an existing certificate if it already exists in the k8s cluster. This includes matching to a wildcard certificate.
Reviewed-on: cerc-io/stack-orchestrator#779
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-03-07 17:38:36 +00:00
telackey
62f7ce649d
Exit non-0 if docker build fails. ( #778 )
...
Make sure to check the exit code of the docker build and bubble it back up to laconic-so.
Reviewed-on: cerc-io/stack-orchestrator#778
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-03-06 18:38:30 +00:00
telackey
cc541ac20f
Use -slim variant for Dockerfile ( #773 )
...
This saves about 1GB of space in the image.
Reviewed-on: cerc-io/stack-orchestrator#773
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-28 04:37:57 +00:00
telackey
10e2311a8b
Add timed logging for the webapp build ( #771 )
...
Add lots of log and timer output to webapp builds.
Reviewed-on: cerc-io/stack-orchestrator#771
2024-02-28 00:38:11 +00:00
dboreham
f32bbf9e48
Merge pull request 'Doc for fetch-containers command' ( #772 ) from dboreham/fetch-containers-doc into main
...
Reviewed-on: cerc-io/stack-orchestrator#772
2024-02-27 18:45:18 +00:00
dboreham
0302153162
Doc for fetch-containers command
2024-02-27 11:44:28 -07:00
dboreham
01e4437b62
Merge pull request 'Sort order was backwards' ( #770 ) from dboreham/fix-container-age-sort into main
...
Reviewed-on: cerc-io/stack-orchestrator#770
2024-02-27 16:01:17 +00:00
dboreham
64cec163b3
Sort order was backwards
2024-02-27 09:00:36 -07:00
dboreham
170ad71397
fetch-containers-fixes ( #769 )
...
Reviewed-on: cerc-io/stack-orchestrator#769
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
2024-02-27 15:53:05 +00:00
dboreham
da1ff609fe
fetch-images command ( #768 )
...
Implementation of a command to fetch pre-built images from a remote registry, complementing the --push-images option already present on build-containers.
The two subcommands used together allow a stack to be deployed without needing to built its images, provided they have been already built and pushed to the specified container image registry.
This implementation simply picks the newest image with the right name and platform (matches against the platform Python is running on, so watch out for scenarios where Python is an x86 binary on M1 macs).
Reviewed-on: cerc-io/stack-orchestrator#768
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
2024-02-27 15:15:08 +00:00
telackey
21eb9f036f
Add support for pnpm as a webapp build tool. ( #767 )
...
This adds support for auto-detecting pnpm as a build tool for webapps.
Reviewed-on: cerc-io/stack-orchestrator#767
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to >
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-26 23:31:52 +00:00
telackey
a0413659f7
Check for existing tag in remote repo before building. ( #764 )
...
webapps are meant to be build-once/deploy-many, but we were rebuilding them for every request. This changes that, so that we rebuild only for every unique ApplicationRecord.
When we push the image, we now tag it according to its ApplicationRecord.
We don't want to use that tag directly in the compose file for the deployment, however, as the deployment needs to be able to adjust to new builds w/o re-writing the file all the time. Instead, we use a per-deployment unique tag (same as before), we just update what image it references as needed.
Reviewed-on: cerc-io/stack-orchestrator#764
2024-02-24 03:22:49 +00:00
zramsay and zramsay
a16fc657bf
clarify uniswap urbit readme ( #766 )
...
Co-authored-by: zramsay <zach@bluecollarcoding.ca >
Reviewed-on: cerc-io/stack-orchestrator#766
2024-02-24 00:15:53 +00:00
telackey
704c42c404
Use a catchall for single page apps. ( #763 )
...
This creates a new environment variable, CERC_SINGLE_PAGE_APP, which controls whether a catchall redirection back to / is applied.
If the value is not explicitly set, we try to detect if the page looks like a single-page app.
Reviewed-on: cerc-io/stack-orchestrator#763
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-23 20:32:24 +00:00
dboreham
202f187172
Fix copy/paste error
2024-02-23 13:15:37 -07:00
dboreham
aaed356d32
Simple container image publication ( #762 )
...
Reviewed-on: cerc-io/stack-orchestrator#762
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
2024-02-23 19:57:47 +00:00
telackey
2af6ffce77
Tweaks for running the container registry in k8s ( #760 )
...
Minor tweaks for running the container-registry in k8s. The big change is not requiring --image-registry.
Reviewed-on: cerc-io/stack-orchestrator#760
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to >
2024-02-22 21:11:06 +00:00
dboreham
7bb86cf35e
Merge pull request 'Add ARM fixturenet-plugeth test job' ( #759 ) from dboreham/arm-fixturenet-test into main
...
Reviewed-on: cerc-io/stack-orchestrator#759
2024-02-22 20:45:26 +00:00
dboreham
9e0892cb6b
No need to start docker now
2024-02-22 13:36:00 -07:00
dboreham
cf9cf6346f
Add an arm-specific version of the plugeth fixturenet test
2024-02-22 13:34:37 -07:00
dboreham
642c0ead0d
Add test for two config parameters ( #758 )
...
Reviewed-on: cerc-io/stack-orchestrator#758
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
2024-02-22 19:35:55 +00:00
telackey
6bd77c893a
Even more logging fixes ( #757 )
...
Hopefully the last one for a bit.
This only output the cmdline if log_file is present (ie, not to stdout). It also fixes a bug where the log_file was not passed in one line.
Reviewed-on: cerc-io/stack-orchestrator#757
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-22 01:24:44 +00:00
telackey
4a4d48ddb9
Fix error when logging exception. ( #756 )
...
Reviewed-on: cerc-io/stack-orchestrator#756
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-22 00:11:06 +00:00
telackey
08438b1cd5
More logging for webapp deployments ( #755 )
...
Reviewed-on: cerc-io/stack-orchestrator#755
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-21 23:48:52 +00:00
telackey
9f1dd284a5
Better error logging for registry deployments. ( #754 )
...
We were missing errors related to registration, this should fix that.
Reviewed-on: cerc-io/stack-orchestrator#754
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-21 20:12:52 +00:00
dboreham
5985242b8c
Merge pull request 'Update doc for fixturenet-laconic-loaded stack' ( #753 ) from dboreham/update-laconic-stack-doc into main
...
Reviewed-on: cerc-io/stack-orchestrator#753
2024-02-21 17:33:04 +00:00
dboreham
d4152b7ce3
Update doc for fixturenet-laconic-loaded stack
2024-02-21 10:29:15 -07:00
telackey
db4986dcc6
snowballtool-base backend stack ( #751 )
...
This adds a stack for the backend from snowball/snowballtools-base.
Reviewed-on: cerc-io/stack-orchestrator#751
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-21 04:45:46 +00:00
telackey
65f05ea80c
Run a manual build script, if present. ( #750 )
...
If the tree has a 'build-webapp.sh' script, use that.
Reviewed-on: cerc-io/stack-orchestrator#750
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-21 00:20:50 +00:00
zramsay and zramsay
01f9fe67ed
add Mars v2 interface ( #744 )
...
Tested on DO with real funds on mainnet
Co-authored-by: zramsay <zach@bluecollarcoding.ca >
Reviewed-on: cerc-io/stack-orchestrator#744
v1.1.0-01f9fe6-202402191912
2024-02-19 19:11:59 +00:00
dboreham
049ffcff71
Fix test failure
v1.1.0-049ffcf-202402181929
2024-02-18 12:28:48 -07:00
dboreham
f5314a979b
Install ed to fix CI job
v1.1.0-f5314a9-202402181920
2024-02-18 12:20:01 -07:00
dboreham and David Boreham
39f4fa4487
Container Registry Stack ( #747 )
...
Co-authored-by: David Boreham <david@bozemanpas.com >
Reviewed-on: cerc-io/stack-orchestrator#747
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
v1.1.0-39f4fa4-202402181856
2024-02-18 18:55:55 +00:00
dboreham
0b0394a940
Use absolute path for the data volume ( #749 )
...
Reviewed-on: cerc-io/stack-orchestrator#749
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
v1.1.0-0b0394a-202402171430
2024-02-17 14:29:53 +00:00