Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Using Argo Workflow to Deploy Instance #744

Merged
merged 32 commits into from
Aug 13, 2020
Merged

Conversation

zhxu73
Copy link
Member

@zhxu73 zhxu73 commented Aug 12, 2020

Description

Using Argo Workflow to run playbooks in atmosphere-ansible to deploy instance

Checklist before merging Pull Requests

  • New test(s) included to reproduce the bug/verify the feature
  • Add an entry in the changelog
  • Documentation created/updated (include links)
  • If creating/modifying DB models which will contain secrets or sensitive information, PR to clank updating sanitation queries in roles/sanitary-sql-access/templates/sanitize-dump.sh.j2
  • Reviewed and approved by at least one other contributor.
  • New variables supported in Clank

zhxu73 added 29 commits June 19, 2020 19:09
provider_name defaults to `default`

fetch provider name from db

fetch timezone from provider
ArgoWorkflow.execute() return workflow name

add exception WorkfloFailed and WorkflowErrored

argo_deploy_instance() raise proper exception when workflow failed

_deploy_instance() will retry when catching Argo exceptions
ArgoWorkflow.execute() return workflow name

add exception WorkfloFailed and WorkflowErrored

argo_deploy_instance() raise proper exception when workflow failed

_deploy_instance() will retry when catching Argo exceptions
log path takes the form of username/instance_uuid/timestamp/pod_name.log
@coveralls
Copy link

coveralls commented Aug 13, 2020

Coverage Status

Coverage decreased (-0.8%) to 38.332% when pulling 7a1cba9 on zhxu73:argo_deploy into a443f77 on cyverse:master.

@zhxu73 zhxu73 merged commit e53287c into cyverse:master Aug 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants