stack-orchestrator/stack_orchestrator/deploy
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
..
compose Implement dry run support for k8s deploy (#727) 2024-02-06 07:07:56 -07:00
k8s Support non-tls ingress for kind (#748) 2024-02-17 01:54:30 +00:00
webapp Check for existing tag in remote repo before building. (#764) 2024-02-24 03:22:49 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Add env var support for k8s (#634) 2023-11-08 17:53:46 -07:00
deploy_util.py Add image push command (#656) 2023-11-20 20:23:55 -07:00
deploy.py Implement dry run support for k8s deploy (#727) 2024-02-06 07:07:56 -07:00
deployer_factory.py Add ConfigMap test. (#726) 2024-02-05 14:15:11 -06:00
deployer.py Add deployment update and deploy-webapp-from-registry commands. (#676) 2023-12-13 21:02:34 -06:00
deployment_context.py Generate a unique deployment id for each deployment (#680) 2023-12-05 22:56:58 -07:00
deployment_create.py Tweaks for running the container registry in k8s (#760) 2024-02-22 21:11:06 +00:00
deployment.py Add deployment update and deploy-webapp-from-registry commands. (#676) 2023-12-13 21:02:34 -06:00
images.py Check for existing tag in remote repo before building. (#764) 2024-02-24 03:22:49 +00:00
spec.py For k8s, use provisioner-managed volumes when an absolute host path is not specified. (#741) 2024-02-14 21:45:01 +00:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py kind test stack (#629) 2023-11-08 01:11:00 -07:00