Skip to content

Commit

Permalink
Chore: cleanup DAGs (#1658)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifoukarakis authored Nov 6, 2024
1 parent e9056a2 commit f8fda44
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions airflow/dags/mattermost_dags/airflow_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@
"SNOWFLAKE_TRANSFORM_DATABASE": "ANALYTICS",
}

# Warehouse variable declaration
xs_warehouse = "'{{warehouse_name: transforming_xs}}'"


def create_alert_body(context):
"""
Expand Down
15 changes: 0 additions & 15 deletions airflow/dags/mattermost_dags/kube_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
# Namespace where secrets are set
SECRET_NAMESPACE = "airflow2"

# AWS
AWS_ACCOUNT_ID = Secret("env", "AWS_ACCOUNT_ID", SECRET_NAMESPACE, "AWS_ACCOUNT_ID")
AWS_ACCESS_KEY_ID = Secret("env", "AWS_ACCESS_KEY_ID", SECRET_NAMESPACE, "AWS_ACCESS_KEY_ID")
AWS_SECRET_ACCESS_KEY = Secret("env", "AWS_SECRET_ACCESS_KEY", SECRET_NAMESPACE, "AWS_SECRET_ACCESS_KEY")

# dbt Cloud
DBT_CLOUD_API_KEY = Secret("env", "DBT_CLOUD_API_KEY", SECRET_NAMESPACE, "DBT_CLOUD_API_KEY")
DBT_CLOUD_API_ACCOUNT_ID = Secret("env", "DBT_CLOUD_API_ACCOUNT_ID", SECRET_NAMESPACE, "DBT_CLOUD_API_ACCOUNT_ID")
Expand Down Expand Up @@ -55,20 +50,10 @@
DIAGNOSTIC_LOCATION_TWO = Secret("env", "DIAGNOSTIC_LOCATION_TWO", SECRET_NAMESPACE, "DIAGNOSTIC_LOCATION_TWO")
RELEASE_LOCATION = Secret("env", "RELEASE_LOCATION", SECRET_NAMESPACE, "RELEASE_LOCATION")

# Twitter Keys
TWITTER_CONSUMER_KEY = Secret("env", "TWITTER_CONSUMER_KEY", SECRET_NAMESPACE, "TWITTER_CONSUMER_KEY")
TWITTER_CONSUMER_SECRET = Secret("env", "TWITTER_CONSUMER_SECRET", SECRET_NAMESPACE, "TWITTER_CONSUMER_SECRET")
TWITTER_ACCESS_KEY = Secret("env", "TWITTER_ACCESS_KEY", SECRET_NAMESPACE, "TWITTER_ACCESS_KEY")
TWITTER_ACCESS_SECRET = Secret("env", "TWITTER_ACCESS_SECRET", SECRET_NAMESPACE, "TWITTER_ACCESS_SECRET")

# Pipelinewise secrets
PIPELINEWISE_SECRETS = Secret("volume", "/app/wrk", "pipelinewise-secrets")

CLEARBIT_KEY = Secret("env", "CLEARBIT_KEY", SECRET_NAMESPACE, "CLEARBIT_KEY")

GITHUB_FINEGRAIN_TOKEN = Secret("env", "GITHUB_FINEGRAIN_TOKEN", SECRET_NAMESPACE, "GITHUB_FINEGRAIN_TOKEN")


# GeoLite2 secrets
GEO_ACCOUNT_ID = Secret("env", "GEO_ACCOUNT_ID", SECRET_NAMESPACE, "GEO_ACCOUNT_ID")
GEO_LICENSE_ID = Secret("env", "GEO_LICENSE_ID", SECRET_NAMESPACE, "GEO_LICENSE_ID")

0 comments on commit f8fda44

Please sign in to comment.