From c49bbcb64bce45427e4b014693775038c4aac4ed Mon Sep 17 00:00:00 2001 From: Umang Mistry Date: Wed, 6 Mar 2024 16:24:13 -0600 Subject: [PATCH] Updated yaml to fix error --- airflow/dags/cicd_test_dag.py | 1 - bitbucket-pipelines.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/airflow/dags/cicd_test_dag.py b/airflow/dags/cicd_test_dag.py index f2a612b..e07d3ca 100644 --- a/airflow/dags/cicd_test_dag.py +++ b/airflow/dags/cicd_test_dag.py @@ -96,7 +96,6 @@ dag = DAG( # 'on_retry_callback': another_function, # 'sla_miss_callback': yet_another_function, - DAG_ID, # Mandatory for every dag start_date=datetime(2022, 1, 1), # Must be in the past # Can pass snowflake conn id here instead of passing it to every task diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 80badc6..d3e0f44 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -27,6 +27,7 @@ definitions: - pip - step: &streamlit_deploy name: "Deploy streamlit to EC2" + oidc: true image: python:3.8 script: - python -m pip install --upgrade pip @@ -45,6 +46,7 @@ definitions: - step: &airflow_dags_deploy name: "Deploy Airflow DAGs to S3 bucket" image: python:3.8 + oidc: true script: - python -m pip install --upgrade pip - apt-get update && apt-get install -y jq git