File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -193,40 +193,3 @@ jobs:
193
193
run : |
194
194
echo "module-version=$(cat ${{ github.workspace }}/kernel-modules/MODULE_VERSION)" >> "$GITHUB_OUTPUT"
195
195
196
- downstream-check :
197
- runs-on : ubuntu-latest
198
- needs :
199
- - common-variables
200
- if : github.event_name == 'push' && (github.ref_type == 'tag' || startsWith(github.ref_name, 'release-'))
201
- steps :
202
- - uses : actions/checkout@v4
203
-
204
- - name : Ensure downstream drivers exist for releases
205
- run : |
206
- DRIVER_VERSION="$(cat ${{ github.workspace }}/kernel-modules/MODULE_VERSION)"
207
- DRIVER_COUNT="$(gsutil ls "gs://${{ needs.common-variables.outputs.cpaas-drivers-bucket }}/x86_64/${DRIVER_VERSION}/*.gz" | wc -l)"
208
-
209
- if ((DRIVER_COUNT == 0)); then
210
- echo >&2 "Building release version of collector without downstream drivers!!!"
211
- echo >&2 "Please ensure the downstream drivers are built and uploaded to GCP"
212
- echo >&2 "before proceeding."
213
-
214
- exit 1
215
- fi
216
-
217
- - name : Slack notification
218
- if : failure()
219
- uses : rtCamp/action-slack-notify@v2
220
- env :
221
- SLACK_WEBHOOK : ${{ secrets.SLACK_COLLECTOR_ONCALL_WEBHOOK }}
222
- SLACK_CHANNEL : team-acs-collector-oncall
223
- SLACK_COLOR : failure
224
- SLACK_LINK_NAMES : true
225
- SLACK_TITLE : " Releasing collector with no downstream drivers."
226
- MSG_MINIMAL : actions url,commit
227
- SLACK_MESSAGE : |
228
- Building release version of collector without downstream drivers!!!
229
- Please ensure the downstream drivers are built and uploaded to GCP
230
- before proceeding.
231
-
232
- @acs-collector-team
You can’t perform that action at this time.
0 commit comments