[DOC-535] cleanup cicd for terraform

This commit is contained in:
Grzegorz Huber
2024-06-25 18:03:25 +02:00
parent 1cf4bdadb0
commit 812d448e45
-34
View File
@@ -126,13 +126,6 @@ pipelines:
script:
- *aws-context-dev
- python terraform.py apply --environment=dev --module=textract-pipeline/terraform
condition:
changesets:
includePaths:
- textract-pipeline/src/*
- textract-pipeline/src/**/*
- textract-pipeline/terraform/*
- textract-pipeline/terraform/**/*
- step:
name: Apply devops-pipeline on DEV
image: hugree/bitbucket-aws-python38-tf154:latest
@@ -140,11 +133,6 @@ pipelines:
script:
- *aws-context-dev
- python terraform.py apply --environment=dev --module=devops-pipeline/other-resources
condition:
changesets:
includePaths:
- devops-pipeline/other-resources/*
- devops-pipeline/other-resources/**/*
- step:
name: Apply streamlit-server on DEV
image: hugree/bitbucket-aws-python38-tf154:latest
@@ -152,11 +140,6 @@ pipelines:
script:
- *aws-context-dev
- python terraform.py apply --environment=dev --module=streamlit-server
condition:
changesets:
includePaths:
- streamlit-server/*
- streamlit-server/**/*
# UAT and PROD pipelines will be updated with Streamlit steps once it is tested and ready
@@ -168,13 +151,6 @@ pipelines:
script:
- *aws-context-uat
- python terraform.py apply --environment=uat --module=textract-pipeline/terraform
condition:
changesets:
includePaths:
- textract-pipeline/src/*
- textract-pipeline/src/**/*
- textract-pipeline/terraform/*
- textract-pipeline/terraform/**/*
- step:
name: Apply devops-pipeline on UAT
image: hugree/bitbucket-aws-python38-tf154:latest
@@ -182,11 +158,6 @@ pipelines:
script:
- *aws-context-uat
- python terraform.py apply --environment=uat --module=devops-pipeline/other-resources
condition:
changesets:
includePaths:
- devops-pipeline/other-resources/*
- devops-pipeline/other-resources/**/*
- step:
name: Apply streamlit-server on UAT
image: hugree/bitbucket-aws-python38-tf154:latest
@@ -194,11 +165,6 @@ pipelines:
script:
- *aws-context-uat
- python terraform.py apply --environment=uat --module=streamlit-server
condition:
changesets:
includePaths:
- streamlit-server/*
- streamlit-server/**/*
- step:
<<: *snowflake_deploy
condition: