Commit Graph

8 Commits (d09fbc3ac4761b03eeaff024107fe6ee59f352a6)

Author SHA1 Message Date
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
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
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 6629017d6a
Support other webapp types (react, static). (#721)
* Support other webapp types (react, static).
2024-02-02 18:04:06 -06:00
Thomas E Lackey 2dd54892a1
Allow specifying the webapp tag explicitly (#675)
Webapp Test / Run webapp test suite (push) Failing after 3m56s Details
Smoke Test / Run basic test suite (push) Successful in 4m17s Details
Publish / Build and publish (push) Successful in 56s Details
Deploy Test / Run deploy test suite (push) Successful in 3m23s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m19s Details
2023-12-04 21:39:16 -06:00
David Boreham 638fa01649
Support external stack file (#650)
Deploy Test / Run deploy test suite (push) Successful in 3m4s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m59s Details
Webapp Test / Run webapp test suite (push) Failing after 3m39s Details
Smoke Test / Run basic test suite (push) Successful in 4m6s Details
Publish / Build and publish (push) Successful in 53s Details
2023-11-14 20:59:48 -07:00
Thomas E Lackey 042b413598
Support the case where webpack config is already present next.config.js (#631)
Smoke Test / Run basic test suite (push) Successful in 4m16s Details
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m19s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m5s Details
Webapp Test / Run webapp test suite (push) Failing after 3m34s Details
* Support the case where webpack config is already present next.config.js

* Update scripts for experimental-compile/experimental-generate
2023-11-08 23:44:48 -06:00
Thomas E Lackey 660326f713
Add new build-webapp command and related scripts and containers. (#626)
Publish / Build and publish (push) Successful in 59s Details
Deploy Test / Run deploy test suite (push) Successful in 2m57s Details
Webapp Test / Run webapp test suite (push) Failing after 3m31s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
* Add new build-webapp command and related scripts and containers.
2023-11-07 18:15:04 -06:00