Skip to content

Commit cba7f11

Browse files
committed
Merge branch 'feature/deployment-validation-ci' into 'develop'
Update automated pipeline test to use CloudFormationServiceRole and permission boundary arn See merge request genaiic-reusable-assets/engagement-artifacts/genaiic-idp-accelerator!318
2 parents 86d311d + 7980bb7 commit cba7f11

File tree

3 files changed

+464
-7
lines changed

3 files changed

+464
-7
lines changed

.gitlab-ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ image: public.ecr.aws/docker/library/python:3.13-bookworm
1616

1717
stages:
1818
- developer_tests
19+
- deployment_validation
1920
- integration_tests
2021

2122
developer_tests:
@@ -93,4 +94,23 @@ integration_tests:
9394
- poetry install
9495
- make put
9596
- make wait
97+
98+
deployment_validation:
99+
stage: deployment_validation
100+
rules:
101+
- when: always
102+
103+
before_script:
104+
- apt-get update -y
105+
- apt-get install curl unzip python3-pip -y
106+
# Install AWS CLI
107+
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
108+
- unzip awscliv2.zip
109+
- ./aws/install
110+
# Install PyYAML for template analysis
111+
- pip install PyYAML
112+
113+
script:
114+
# Check if service role has sufficient permissions for main stack deployment
115+
- python3 scripts/validate_service_role_permissions.py
96116

0 commit comments

Comments
 (0)