uffizzi
uffizzi copied to clipboard
Adjust Terminated status processing.
When a pod has Terminated status a preview should not considered as failed.
Repo for testing this issue: https://github.com/axisofentropy/uffizzi_chaos
Same task for platform https://github.com/UffizziCloud/uffizzi_platform/issues/16
How to TEST:
- Launch ufffizzi core (uffizzi_app). Does not forget add
MANAGED_DNS_ZONE_DNS_NAME: "example.uffizzi.com"
to compose file - Launch uffizzi controller
- Launch uffizzi cli
docker-compose run --rm gem bash
Use this docker-compose.uffizzi.yaml for create preview bundle exec uffizzi preview create docker-compose.uffizzi.yaml
services:
chaos:
image: dbpterraform2/uffizzi_chaos_exit_until_nginx
web:
image: nginx
x-uffizzi:
ingress:
service: chaos
port: 80
continuous_preview:
share_to_github: true
delete_preview_after: 1h
delete_preview_when_pull_request_is_closed: true
deploy_preview_when_pull_request_is_opened: true
Result should be:
uffizzi_chaos_exit_until_nginx
should not be failed
tested
TESTED on prod - OK
# uffizzi preview create compose.yml
Preview created with name deployment-5
[✔] Creating containers...
Done
[⠇] Deploying preview...
[⠋] uffizzi_chaos_exit_until_nginx
[✔] nginx