stack-orchestrator/stack_orchestrator/build
Thomas E Lackey 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
..
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
build_containers.py Fix copy/paste error 2024-02-23 13:15:37 -07:00
build_npms.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
build_types.py Simple container image publication (#762) 2024-02-23 19:57:47 +00:00
build_webapp.py Check for existing tag in remote repo before building. (#764) 2024-02-24 03:22:49 +00:00
publish.py Simple container image publication (#762) 2024-02-23 19:57:47 +00:00