Skip to content

Commit b61ae1c

Browse files
committed
style: rename jobs and steps
1 parent 844731f commit b61ae1c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/pi_build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ env:
1313
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1414

1515
jobs:
16-
pi-diff:
17-
name: 'Parent Images: Diff Types'
16+
pi-matrix:
17+
name: 'Parent Images: Generate Matrix'
1818
runs-on: ubuntu-latest
1919
environment: dev
2020
env:
2121
PYTHON_VERSION: ${{ vars.PYTHON_VERSION }}
2222
outputs:
23-
include: ${{ steps.get-diff.outputs.include }}
23+
include: ${{ steps.gen-matrix.outputs.include }}
2424
steps:
2525
- name: Checkout Repository
2626
uses: actions/checkout@v4
@@ -34,23 +34,23 @@ jobs:
3434
- name: Clone cicd-deployment-scripts
3535
run: git clone --branch parent-images https://github.com/code-kern-ai/cicd-deployment-scripts.git
3636

37-
- name: Get Diff Types
38-
id: get-diff
37+
- name: Generate Matrix
38+
id: gen-matrix
3939
run: |
40-
bash cicd-deployment-scripts/pi/diff.sh \
40+
bash cicd-deployment-scripts/pi/generate_matrix.sh \
4141
-p "${{ github.event.pull_request.number }}" \
4242
-s cicd-deployment-scripts/pi/settings.sh
4343
44-
pi-matrix-test:
45-
name: 'Parent Images: Matrix Test'
44+
pi-update-app:
45+
name: 'Parent Images: Update'
4646
runs-on: ubuntu-latest
47-
needs: [pi-diff]
47+
needs: [pi-matrix]
4848
environment: dev
4949
env:
5050
PYTHON_VERSION: ${{ vars.PYTHON_VERSION }}
5151
strategy:
5252
matrix:
53-
include: ${{ fromJson(needs.pi-diff.outputs.include) }}
53+
include: ${{ fromJson(needs.pi-matrix.outputs.include) }}
5454
steps:
5555
- name: Checkout Repository
5656
uses: actions/checkout@v4
@@ -100,7 +100,7 @@ jobs:
100100
# pi-build:
101101
# name: 'Parent Images: Docker Build'
102102
# runs-on: ubuntu-latest
103-
# needs: [pi-diff]
103+
# needs: [pi-matrix]
104104
# environment: dev
105105
# env:
106106
# PYTHON_VERSION: ${{ vars.PYTHON_VERSION }}
@@ -110,7 +110,7 @@ jobs:
110110
# IMAGE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event.pull_request.head.ref }}
111111
# strategy:
112112
# 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) }}
114114
# steps:
115115
# - name: Checkout repository
116116
# uses: actions/checkout@v4

0 commit comments

Comments
 (0)