echo "
Node: $DEPLOY_STAGE_ID $YASM_DEPLOY_UNIT

1. Open shell

    dogmashell

2. Import modules:

from intranet.dogma.dogma.core.tasks import *
from intranet.dogma.dogma.core.maintenance import *

3. Maintenance functions:

    add_clones_to_sqs(d=None)
    
    clean_sqs(endpoint='http://sqs.yandex.net:8771', access_key='dogma', secret_key='not used yet', verbose=True)
    
    create_snapshot(d=None)
    
    flush_lost_commits_to_yt()
    
    force_fetch_clones(d=None, curnode=None)
    
    get_clones_distribution(d=None, verbose=True)
    
    merge_chunks()
    
    run_sql(sql)

4. Links:

    https://wiki.yandex-team.ru/users/mrgrien/Dogma-Daily/
    https://dogma.yandex-team.ru/nodes/
    https://deploy.yandex-team.ru/projects/dogma
    https://yt.yandex-team.ru/locke/navigation?sort=asc-false,field-locks&path=//home/dogma/production/internal
    https://solomon.yandex-team.ru/?project=dogma_testing&dashboard=dogma_prod

"
