uffizzi icon indicating copy to clipboard operation
uffizzi copied to clipboard

Adjust Terminated status processing.

Open 7R41N33 opened this issue 2 years ago • 4 comments

When a pod has Terminated status a preview should not considered as failed.

Repo for testing this issue: https://github.com/axisofentropy/uffizzi_chaos

7R41N33 avatar May 25 '22 06:05 7R41N33

Same task for platform https://github.com/UffizziCloud/uffizzi_platform/issues/16

zipofar avatar Jun 02 '22 15:06 zipofar

How to TEST:

  1. Launch ufffizzi core (uffizzi_app). Does not forget add MANAGED_DNS_ZONE_DNS_NAME: "example.uffizzi.com" to compose file
  2. Launch uffizzi controller
  3. 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: Screenshot 2022-06-08 at 17 04 41

uffizzi_chaos_exit_until_nginx should not be failed

zipofar avatar Jun 08 '22 14:06 zipofar

tested

AnnaPochepina avatar Jun 10 '22 12:06 AnnaPochepina

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

NealArw avatar Jun 16 '22 08:06 NealArw