Skip to content

Commit d11cf72

Browse files
authored
Removes downstream check in init workflow (#1732)
No longer required check, since there are no downstream drivers for 2.10.0 or newer.
1 parent 443f8b2 commit d11cf72

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

.github/workflows/init.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -193,40 +193,3 @@ jobs:
193193
run: |
194194
echo "module-version=$(cat ${{ github.workspace }}/kernel-modules/MODULE_VERSION)" >> "$GITHUB_OUTPUT"
195195
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

0 commit comments

Comments
 (0)