diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 0bf31a7..7bf4eef 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -9,8 +9,6 @@ definitions: export AWS_SECURITY_TOKEN=$(echo $STS_OUTPUT | jq -r '.Credentials.SessionToken'); export AWS_REGION='us-east-2'; stage: &deployment - name: deployment - deployment: development trigger: manual steps: - step: @@ -24,12 +22,12 @@ definitions: - schemachange -a $SNOWFLAKE_ACCOUNT -u $SNOWFLAKE_USER -r $SNOWFLAKE_ROLE -w $SNOWFLAKE_WAREHOUSE -d $SNOWFLAKE_DATABASE -c $SNOWFLAKE_DATABASE.SCHEMACHANGE.CHANGE_HISTORY --create-change-history-table -v caches: - pip - condition: - changesets: - includePaths: - - snowflake/**/* - - snowflake/**/**/* - - snowflake/**/**/**/* + #condition: + # changesets: + # includePaths: + # - snowflake/**/* + # - snowflake/**/**/* + # - snowflake/**/**/**/* - step: image: python:3.8 name: "Deploy streamlit to EC2" @@ -47,11 +45,11 @@ definitions: "if [ -d /home/ubuntu/doczy.ai ]; then cd /home/ubuntu/doczy.ai && git fetch && git pull; else cd /home/ubuntu && git clone git@bitbucket.org:aarete/doczy.ai.git; fi", "EOF" ]' - condition: - changesets: - includePaths: - - streamlit/* - - streamlit/**/* + #condition: + # changesets: + # includePaths: + # - streamlit/* + # - streamlit/**/* - step: name: "Deploy Airflow DAGs to S3 bucket" image: python:3.8 @@ -63,10 +61,10 @@ definitions: - *aws-context - aws sts get-caller-identity - aws s3 sync ./airflow/dags s3://doczy-dev-infra-mwaa-resources/dags - condition: - changesets: - includePaths: - - airflow/dags/* + #condition: + # changesets: + # includePaths: + # - airflow/dags/* - step: image: hugree/terraform-with-snowsql:latest name: Run Snowsql