1919 branches :
2020 - main
2121 - " pull-request/[0-9]+"
22- paths-ignore :
23- - ' **/*.md'
24- - ' docs/**'
25- - ' LICENSE'
26- - ' .github/ISSUE_TEMPLATE/**'
27- - ' .github/*.yaml'
28- - ' .github/*.yml'
29- - ' .github/headers/**'
3022 tags :
3123 - ' v*'
3224 workflow_dispatch :
7567 - component : helm-charts
7668 make_command : ' make helm-lint'
7769 step_name : ' Validate Helm charts'
70+ - component : scripts
71+ make_command : ' make -C scripts lint'
72+ step_name : ' Run shellcheck on scripts'
7873 steps :
7974 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8075
@@ -84,11 +79,18 @@ jobs:
8479 - name : ${{ matrix.step_name }}
8580 run : ${{ matrix.make_command }}
8681
82+ - name : Load Helm version from .versions.yaml
83+ if : matrix.component == 'helm-charts'
84+ id : helm-version
85+ run : |
86+ HELM_VERSION=$(yq eval '.testing_tools.helm' .versions.yaml)
87+ echo "helm_version=${HELM_VERSION}" >> $GITHUB_OUTPUT
88+
8789 - name : Setup Helm
8890 if : matrix.component == 'helm-charts'
8991 uses : azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
9092 with :
91- version : ' v3.14.4 '
93+ version : ${{ steps.helm-version.outputs.helm_version }}
9294
9395 - name : Validate Helm Charts
9496 if : matrix.component == 'helm-charts'
@@ -102,6 +104,7 @@ jobs:
102104 include :
103105 - component : syslog-health-monitor
104106 - component : csp-health-monitor
107+ - component : kubernetes-object-monitor
105108 - component : gpu-health-monitor
106109 install_dcgm : ' true'
107110 python_required : ' true'
@@ -134,12 +137,15 @@ jobs:
134137 - platform-connectors
135138 - store-client
136139 - commons
140+ - data-models
137141 - health-events-analyzer
138142 - fault-quarantine
139143 - labeler
144+ - metadata-collector
140145 - node-drainer
141146 - fault-remediation
142147 - janitor
148+ - tests
143149 steps :
144150 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
145151
@@ -158,11 +164,36 @@ jobs:
158164 ${{ matrix.component }}/coverage.txt
159165 ${{ matrix.component }}/report.xml
160166
167+ tilt-modules-lint-test :
168+ runs-on : linux-amd64-cpu16
169+ timeout-minutes : 30
170+ strategy :
171+ matrix :
172+ component :
173+ - tilt/simple-health-client
174+ steps :
175+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
176+
177+ - name : Setup build environment
178+ uses : ./.github/actions/setup-ci-env
179+
180+ - name : Run lint and test
181+ run : make -C ${{ matrix.component }} lint-test
182+
183+ - name : Upload artifacts
184+ uses : ./.github/actions/upload-test-artifacts
185+ with :
186+ component-name : simple-health-client
187+ file-paths : |
188+ ${{ matrix.component }}/coverage.xml
189+ ${{ matrix.component }}/coverage.txt
190+ ${{ matrix.component }}/report.xml
191+
161192 consolidated-coverage-report :
162193 if : github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/pull-request/')
163194 runs-on : linux-amd64-cpu16
164195 timeout-minutes : 15
165- needs : [health-monitors-lint-test, modules-lint-test]
196+ needs : [health-monitors-lint-test, modules-lint-test, tilt-modules-lint-test ]
166197 steps :
167198 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
168199
@@ -359,7 +390,7 @@ jobs:
359390 if : github.ref == 'refs/heads/main' && github.event_name == 'push'
360391 runs-on : linux-amd64-cpu16
361392 timeout-minutes : 15
362- needs : [health-monitors-lint-test, modules-lint-test]
393+ needs : [health-monitors-lint-test, modules-lint-test, tilt-modules-lint-test ]
363394 steps :
364395 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
365396
0 commit comments