[DOC-595] apply textract for PROD
This commit is contained in:
+30
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user