13
13
GH_TOKEN : ${{ secrets.GH_TOKEN }}
14
14
15
15
jobs :
16
- pi-diff :
17
- name : ' Parent Images: Diff Types '
16
+ pi-matrix :
17
+ name : ' Parent Images: Generate Matrix '
18
18
runs-on : ubuntu-latest
19
19
environment : dev
20
20
env :
21
21
PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
22
22
outputs :
23
- include : ${{ steps.get-diff .outputs.include }}
23
+ include : ${{ steps.gen-matrix .outputs.include }}
24
24
steps :
25
25
- name : Checkout Repository
26
26
uses : actions/checkout@v4
@@ -34,23 +34,23 @@ jobs:
34
34
- name : Clone cicd-deployment-scripts
35
35
run : git clone --branch parent-images https://github.com/code-kern-ai/cicd-deployment-scripts.git
36
36
37
- - name : Get Diff Types
38
- id : get-diff
37
+ - name : Generate Matrix
38
+ id : gen-matrix
39
39
run : |
40
- bash cicd-deployment-scripts/pi/diff .sh \
40
+ bash cicd-deployment-scripts/pi/generate_matrix .sh \
41
41
-p "${{ github.event.pull_request.number }}" \
42
42
-s cicd-deployment-scripts/pi/settings.sh
43
43
44
- pi-matrix-test :
45
- name : ' Parent Images: Matrix Test '
44
+ pi-update-app :
45
+ name : ' Parent Images: Update '
46
46
runs-on : ubuntu-latest
47
- needs : [pi-diff ]
47
+ needs : [pi-matrix ]
48
48
environment : dev
49
49
env :
50
50
PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
51
51
strategy :
52
52
matrix :
53
- include : ${{ fromJson(needs.pi-diff .outputs.include) }}
53
+ include : ${{ fromJson(needs.pi-matrix .outputs.include) }}
54
54
steps :
55
55
- name : Checkout Repository
56
56
uses : actions/checkout@v4
@@ -100,7 +100,7 @@ jobs:
100
100
# pi-build:
101
101
# name: 'Parent Images: Docker Build'
102
102
# runs-on: ubuntu-latest
103
- # needs: [pi-diff ]
103
+ # needs: [pi-matrix ]
104
104
# environment: dev
105
105
# env:
106
106
# PYTHON_VERSION: ${{ vars.PYTHON_VERSION }}
@@ -110,7 +110,7 @@ jobs:
110
110
# IMAGE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event.pull_request.head.ref }}
111
111
# strategy:
112
112
# matrix:
113
- # parent_image_type: ${{ fromJson(needs.pi-diff .outputs.updated_parent_types) }}
113
+ # parent_image_type: ${{ fromJson(needs.pi-matrix .outputs.updated_parent_types) }}
114
114
# steps:
115
115
# - name: Checkout repository
116
116
# uses: actions/checkout@v4
0 commit comments