Commit Graph

1038 Commits (lotus-stack)

Author SHA1 Message Date
jonathan@vulcanize.io af1167234c changing image names for lotus 2024-04-26 15:43:25 +00:00
jonathan@vulcanize.io d13892b879 fixing lotus fixturenet config 2024-04-26 15:40:55 +00:00
jonathan@vulcanize.io 277fbae98f build fixes 2024-04-26 15:09:24 +00:00
jonathan@vulcanize.io 9ffa37c686 refactoring lotus deploy
Lint Checks / Run linter (push) Failing after 4s Details
2024-04-25 20:14:26 +00:00
jonathan@vulcanize.io c787cb59ef renaming lotus image 2024-04-25 20:08:28 +00:00
jonathan@vulcanize.io 8deb26414b lotus mainnet build image 2024-04-25 20:05:29 +00:00
jonathan@vulcanize.io bf18317f98 fixed lotus-mainnet dockerfile
Lint Checks / Run linter (push) Failing after 4s Details
2024-04-25 03:23:04 +00:00
jonathan@vulcanize.io 9219fa133f fixed Dockerfiles 2024-04-25 02:51:52 +00:00
jonathan@vulcanize.io 41cec3467f removing git state check
Lint Checks / Run linter (push) Failing after 5s Details
2024-04-24 18:44:50 +00:00
jonathan@vulcanize.io efb07bd8ce lotus fixturenet
Lint Checks / Run linter (push) Failing after 4s Details
2024-04-19 15:18:27 +00:00
jonathan@vulcanize.io dace83c5b2 added external data volume
Lint Checks / Run linter (push) Failing after 4s Details
2024-04-18 02:04:11 +00:00
jonathan@vulcanize.io 253aaf9ca9 updating cerc image dockerfile
Lint Checks / Run linter (push) Failing after 4s Details
2024-04-16 20:47:45 +00:00
jonathan@vulcanize.io 242019ffa5 updating default snapshot url 2024-04-16 18:23:23 +00:00
jonathan@vulcanize.io 9d973844be extraneous containers 2024-04-16 17:23:30 +00:00
jonathan@vulcanize.io 461c298d0a refinement
Lint Checks / Run linter (push) Failing after 4s Details
2024-04-16 02:36:25 +00:00
jonathan@vulcanize.io 71fb7aee5c missing yml 2024-04-16 02:16:00 +00:00
jonathan@vulcanize.io 6baa2e2314 lotus stack 2024-04-12 17:14:21 +00:00
Thomas E Lackey 523b5779be Auto-detect which certificate to use (including wildcards). (#779)
Publish / Build and publish (push) Successful in 53s Details
Deploy Test / Run deploy test suite (push) Successful in 3m39s Details
Webapp Test / Run webapp test suite (push) Successful in 2m47s Details
Smoke Test / Run basic test suite (push) Successful in 3m54s Details
Lint Checks / Run linter (push) Failing after 3s Details
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: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 62f7ce649d Exit non-0 if docker build fails. (#778)
Publish / Build and publish (push) Successful in 56s Details
Webapp Test / Run webapp test suite (push) Successful in 2m50s Details
Smoke Test / Run basic test suite (push) Successful in 3m51s Details
Lint Checks / Run linter (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m35s Details
Make sure to check the exit code of the docker build and bubble it back up to laconic-so.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey cc541ac20f Use -slim variant for Dockerfile (#773)
Webapp Test / Run webapp test suite (push) Successful in 2m56s Details
Smoke Test / Run basic test suite (push) Successful in 4m39s Details
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 1m39s Details
Deploy Test / Run deploy test suite (push) Successful in 4m11s Details
This saves about 1GB of space in the image.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 10e2311a8b Add timed logging for the webapp build (#771)
Add lots of log and timer output to webapp builds.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/771
2024-02-28 00:38:11 +00:00
David Boreham f32bbf9e48 Merge pull request 'Doc for fetch-containers command' (#772) from dboreham/fetch-containers-doc into main
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 52s Details
Smoke Test / Run basic test suite (push) Successful in 3m51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m37s Details
Webapp Test / Run webapp test suite (push) Successful in 2m48s Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/772
2024-02-27 18:45:18 +00:00
David Boreham 0302153162 Doc for fetch-containers command 2024-02-27 11:44:28 -07:00
David Boreham 01e4437b62 Merge pull request 'Sort order was backwards' (#770) from dboreham/fix-container-age-sort into main
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/770
2024-02-27 16:01:17 +00:00
David Boreham 64cec163b3 Sort order was backwards 2024-02-27 09:00:36 -07:00
David Boreham 170ad71397 fetch-containers-fixes (#769)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
David Boreham da1ff609fe fetch-images command (#768)
Deploy Test / Run deploy test suite (push) Successful in 3m35s Details
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 52s Details
Webapp Test / Run webapp test suite (push) Successful in 3m5s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
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: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 21eb9f036f Add support for pnpm as a webapp build tool. (#767)
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m37s Details
Smoke Test / Run basic test suite (push) Successful in 3m50s Details
Webapp Test / Run webapp test suite (push) Successful in 2m54s Details
This adds support for auto-detecting pnpm as a build tool for webapps.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey a0413659f7 Check for existing tag in remote repo before building. (#764)
Webapp Test / Run webapp test suite (push) Successful in 4m5s Details
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
Deploy Test / Run deploy test suite (push) Successful in 5m13s Details
Publish / Build and publish (push) Successful in 1m5s Details
Lint Checks / Run linter (push) Failing after 3s Details
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: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/764
2024-02-24 03:22:49 +00:00
zramsay a16fc657bf clarify uniswap urbit readme (#766)
Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/766
2024-02-24 00:15:53 +00:00
Thomas E Lackey 704c42c404 Use a catchall for single page apps. (#763)
Deploy Test / Run deploy test suite (push) Successful in 3m32s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
Publish / Build and publish (push) Successful in 52s Details
Lint Checks / Run linter (push) Failing after 4s Details
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: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
David Boreham 202f187172 Fix copy/paste error 2024-02-23 13:15:37 -07:00
David Boreham aaed356d32 Simple container image publication (#762)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 2af6ffce77 Tweaks for running the container registry in k8s (#760)
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 52s Details
Deploy Test / Run deploy test suite (push) Successful in 3m31s Details
Webapp Test / Run webapp test suite (push) Successful in 2m47s Details
Smoke Test / Run basic test suite (push) Successful in 3m52s Details
Fixturenet-Eth-Plugeth-Arm-Test / Run an Ethereum plugeth fixturenet test (push) Has been cancelled Details
Minor tweaks for running the container-registry in k8s.  The big change is not requiring --image-registry.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/760
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-02-22 21:11:06 +00:00
David Boreham 7bb86cf35e Merge pull request 'Add ARM fixturenet-plugeth test job' (#759) from dboreham/arm-fixturenet-test into main
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/759
2024-02-22 20:45:26 +00:00
David Boreham 9e0892cb6b No need to start docker now 2024-02-22 13:36:00 -07:00
David Boreham cf9cf6346f Add an arm-specific version of the plugeth fixturenet test 2024-02-22 13:34:37 -07:00
David Boreham 642c0ead0d Add test for two config parameters (#758)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 6bd77c893a Even more logging fixes (#757)
Smoke Test / Run basic test suite (push) Successful in 4m30s Details
Publish / Build and publish (push) Successful in 1m36s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Lint Checks / Run linter (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m29s Details
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: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 4a4d48ddb9 Fix error when logging exception. (#756)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 08438b1cd5 More logging for webapp deployments (#755)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 9f1dd284a5 Better error logging for registry deployments. (#754)
Publish / Build and publish (push) Successful in 52s Details
Lint Checks / Run linter (push) Failing after 3s Details
Webapp Test / Run webapp test suite (push) Successful in 2m43s Details
Smoke Test / Run basic test suite (push) Successful in 3m51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m35s Details
We were missing errors related to registration, this should fix that.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
David Boreham 5985242b8c Merge pull request 'Update doc for fixturenet-laconic-loaded stack' (#753) from dboreham/update-laconic-stack-doc into main
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/753
2024-02-21 17:33:04 +00:00
David Boreham d4152b7ce3 Update doc for fixturenet-laconic-loaded stack 2024-02-21 10:29:15 -07:00
Thomas E Lackey db4986dcc6 snowballtool-base backend stack (#751)
Publish / Build and publish (push) Successful in 51s Details
Webapp Test / Run webapp test suite (push) Successful in 2m46s Details
Lint Checks / Run linter (push) Failing after 4s Details
Deploy Test / Run deploy test suite (push) Successful in 3m47s Details
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
This adds a stack for the backend from snowball/snowballtools-base.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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
Thomas E Lackey 65f05ea80c Run a manual build script, if present. (#750)
Publish / Build and publish (push) Successful in 1m31s Details
Deploy Test / Run deploy test suite (push) Successful in 3m34s Details
Webapp Test / Run webapp test suite (push) Successful in 6m1s Details
Smoke Test / Run basic test suite (push) Successful in 4m4s Details
Lint Checks / Run linter (push) Failing after 3s Details
If the tree has a 'build-webapp.sh' script, use that.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/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 01f9fe67ed add Mars v2 interface (#744)
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m38s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Smoke Test / Run basic test suite (push) Successful in 3m47s Details
Tested on DO with real funds on mainnet

Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/744
2024-02-19 19:11:59 +00:00
David Boreham 049ffcff71 Fix test failure
Publish / Build and publish (push) Successful in 12m11s Details
Deploy Test / Run deploy test suite (push) Successful in 16m31s Details
Webapp Test / Run webapp test suite (push) Successful in 12m11s Details
Lint Checks / Run linter (push) Failing after 3s Details
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Failing after 1m20s Details
Smoke Test / Run basic test suite (push) Successful in 11m17s Details
2024-02-18 12:28:48 -07:00
David Boreham f5314a979b Install ed to fix CI job 2024-02-18 12:20:01 -07:00
David Boreham 39f4fa4487 Container Registry Stack (#747)
Smoke Test / Run basic test suite (push) Successful in 3m57s Details
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 50s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Failing after 1m5s Details
Deploy Test / Run deploy test suite (push) Successful in 3m36s Details
Co-authored-by: David Boreham <david@bozemanpas.com>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/747
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-18 18:55:55 +00:00