#36 — Automate deployment to staging
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2024-07-08 · Updated: 2025-09-15
Description
Blocked by #19
AC:
- Facade Docker images are deployed with versions, not as “latest”.
- Have coded in GitHub Actions (ci.yaml file to run on any “push” to “main” branch) way to deploy Facade Docker images into “staging” network and be available via LoadBalancer to specific set of IP addresses.
-
There is an automated way or instruction (like this) how to update environment variables.Implemented in IaC, see https://twillpayments.atlassian.net/wiki/spaces/TD/pages/128876545/Infrastructure+as+Code
Implementation Details
For version current format doesn’t work because result 2024-10-11T07:00:03_fc184843739dbb6cdb3faf3abd09119416ff5472 doesn’t satisfy Docker TAG format
The tag must be valid ASCII and can contain lowercase and uppercase letters, digits, underscores, periods, and hyphens. It can’t start with a period or hyphen and must be no longer than 128 characters. If you don’t specify a tag, the command uses latest by default.
It contains : characters. So changed it to result of following sh command $(TZ=UTC date +'%Y-%m-%dT%H-%M-%S')_$(git rev-parse --short HEAD).
During investigation of “build docker image” errors found https://github.com/Twill-AI/twill-llm-engine/pull/157.
It appears that s
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets