[DOC-595] apply textract for PROD

This commit is contained in:
Grzegorz Huber
2024-06-27 14:27:28 +02:00
parent 422a15f441
commit a1b55fafd8
+30 -3
View File
@@ -212,12 +212,39 @@ pipelines:
- airflow/dags/*
PROD:
- step:
name: Apply devops-pipeline on PROD
image: hugree/bitbucket-aws-python38-tf154:latest
oidc: true
script:
- *aws-context-prod
- aws sts get-caller-identity --output text
- pip install -r requirements.txt
- BB_PIPELINE_BRANCH="DEV" python terraform.py apply --environment=prod --module=devops-pipeline/other-resources
- step:
name: Apply streamlit-server on PROD
image: hugree/bitbucket-aws-python38-tf154:latest
oidc: true
script:
- *aws-context-prod
- pip install -r requirements.txt
- BB_PIPELINE_BRANCH="DEV" python terraform.py apply --environment=prod --module=streamlit-server
- step:
name: Apply textract-pipeline on PROD
image: hugree/terraform-with-snowsql:latest
oidc: true
script:
- *aws-context-prod
- pip install -r requirements.txt
- BB_PIPELINE_BRANCH="DEV" python terraform.py apply --environment=prod --module=textract-pipeline/terraform
- step:
<<: *snowflake_deploy
condition:
paths:
- snowflake/**/*.sql
changesets:
includePaths:
- snowflake/PROD/*
- snowflake/PROD/**/*
- snowflake/PROD/**/**/*
feature/DOC-595-cicd-for-prod:
- parallel: