Skip to content

Instantly share code, notes, and snippets.

DevOops 2019

Maksim Syomochkin maksim77

DevOops 2019
Block or report user

Report or block maksim77

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
from airflow.models import DAG, Variable
from airflow.operators import BashOperator
from airflow.configuration import conf
from datetime import datetime, timedelta
import os
A maintenance workflow that you can deploy into Airflow to periodically clean out the task logs to avoid those getting too big.
airflow trigger_dag --conf '{"maxLogAgeInDays":30}' airflow-log-cleanup
--conf options:

Keybase proof

I hereby claim:

  • I am maksim77 on github.
  • I am msemochkin ( on keybase.
  • I have a public key whose fingerprint is 0A55 F7A0 B40B FD2C 89CE 6DAD 6EDD AFE5 8594 17E6

To claim this, I am signing this object:

You can’t perform that action at this time.