Skip to content

Commit

Permalink
Remove mastodon DAGs and references (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored Feb 17, 2024
1 parent 1fed2a0 commit bad84fb
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 339 deletions.
2 changes: 0 additions & 2 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=sqlite:////opt/airflow/db/airflow.db
# Remote logging connection ID
# Replace "access_key" and "secret+key" with the real values. Secret key must be URL-encoded
AIRFLOW_CONN_AWS_DEFAULT=aws://test_key:test_secret@?region_name=us-east-1&endpoint_url=http://s3:5000
AIRFLOW_CONN_SPACES_MASTODON=aws://test_key:test_secret@?region_name=us-east-1&endpoint_url=http://s3:5000

# SSH connections
AIRFLOW_CONN_SSH_MASTODON=ssh://user@service
AIRFLOW_CONN_SSH_MONOLITH=ssh://user@service
# HTTP connections
AIRFLOW_CONN_MATRIX_WEBHOOK=https://matrix-webhook
Expand Down
3 changes: 0 additions & 3 deletions techbloc_airflow/dags/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
SSH_MASTODON_CONN_ID = "ssh_mastodon"
SSH_MONOLITH_CONN_ID = "ssh_monolith"

MATRIX_WEBHOOK_CONN_ID = "matrix_webhook"
MATRIX_WEBHOOK_API_KEY = "matrix_webhook_api_key"

SPACES_MASTODON_CONN_ID = "spaces_mastodon"
30 changes: 0 additions & 30 deletions techbloc_airflow/dags/maintenance/mastodon/backups/rotation.py

This file was deleted.

121 changes: 0 additions & 121 deletions techbloc_airflow/dags/maintenance/mastodon/backups/rotation_dag.py

This file was deleted.

55 changes: 0 additions & 55 deletions techbloc_airflow/dags/maintenance/mastodon/mastodon_cache_clear.py

This file was deleted.

This file was deleted.

90 changes: 0 additions & 90 deletions tests/dags/maintenance/mastodon/backups/test_rotation.py

This file was deleted.

1 change: 0 additions & 1 deletion tests/dags/test_dag_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# DAG paths to test
DAG_PATHS = [
"deployments/deployment_dags.py",
"maintenance/mastodon/mastodon_cache_clear.py",
"maintenance/backups/openoversight_backups.py",
]

Expand Down

0 comments on commit bad84fb

Please sign in to comment.