This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Time Machine service on CentOS 7 | |
# Updated for netatalk 3.1.12 | |
# install required packages for compiling from source | |
yum install -y rpm-build gcc make wget | |
# install Perl-IO-socket dependency for netatalk 3.1.12 | |
yum install -y perl-IO-Socket-INET6 perl-interpreter perl-generators libxslt | |
# install netatalk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime, timedelta | |
from airflow.models import Variable | |
from airflow import DAG | |
from airflow.operators.bash_operator import BashOperator | |
private_key = Variable.get("git_deploy_private_key_secret") | |
repo_url = Variable.get("git_remote_url") | |
default_args = { |