Skip to content

Commit 6425cbb

Browse files
authored
Merge pull request #4 from dougdaly/mlops-poc-terraform-github
fix paths for CICD demo
2 parents b3400d0 + 0d5b922 commit 6425cbb

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/terraform-apply.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'infra/terraform/**'
9-
- 'pipelines/**'
8+
- 'mlops/infra/terraform/**'
9+
- 'mlops/pipelines/**'
1010
- '.github/workflows/terraform-plan.yml'
1111
- '.github/workflows/terraform-apply.yml'
1212
workflow_dispatch:
@@ -21,7 +21,7 @@ jobs:
2121

2222
env:
2323
AWS_REGION: us-west-2
24-
TF_WORKING_DIR: infra/terraform/envs/dev
24+
TF_WORKING_DIR: mlops/infra/terraform/envs/dev
2525

2626
steps:
2727
- name: Checkout code
@@ -44,11 +44,11 @@ jobs:
4444
- name: Install pipeline dependencies
4545
run: |
4646
python -m pip install --upgrade pip
47-
pip install -r pipelines/digital_twin_resilience/requirements.txt
47+
pip install -r mlops/pipelines/digital_twin_resilience/requirements.txt
4848
4949
- name: Generate SageMaker pipeline definition
5050
run: |
51-
python pipelines/digital_twin_resilience/pipeline.py
51+
python mlops/pipelines/digital_twin_resilience/pipeline.py
5252
env:
5353
AWS_REGION: ${{ env.AWS_REGION }}
5454
SAGEMAKER_ROLE_ARN: ${{ secrets.SAGEMAKER_EXECUTION_ROLE_ARN }}

.github/workflows/terraform-plan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Terraform Plan
33
on:
44
pull_request:
55
paths:
6-
- 'infra/terraform/**'
7-
- 'pipelines/**'
6+
- 'mlops/infra/terraform/**'
7+
- 'mlops/pipelines/**'
88
- '.github/workflows/terraform-plan.yml'
99
- '.github/workflows/terraform-apply.yml'
1010

@@ -19,7 +19,7 @@ jobs:
1919

2020
env:
2121
AWS_REGION: us-west-2
22-
TF_WORKING_DIR: infra/terraform/envs/dev
22+
TF_WORKING_DIR: mlops/infra/terraform/envs/dev
2323

2424
steps:
2525
- name: Checkout code
@@ -42,11 +42,11 @@ jobs:
4242
- name: Install pipeline dependencies
4343
run: |
4444
python -m pip install --upgrade pip
45-
pip install -r pipelines/digital_twin_resilience/requirements.txt
45+
pip install -r mlops/pipelines/digital_twin_resilience/requirements.txt
4646
4747
- name: Generate SageMaker pipeline definition
4848
run: |
49-
python pipelines/digital_twin_resilience/pipeline.py
49+
python mlops/pipelines/digital_twin_resilience/pipeline.py
5050
env:
5151
AWS_REGION: ${{ env.AWS_REGION }}
5252
SAGEMAKER_ROLE_ARN: dummy-role-for-compile

0 commit comments

Comments
 (0)