Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the feature of showing useful error message during CI #1083

Merged
merged 1 commit into from
Aug 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/prerequisite-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Prerequisite Checks

on: [push, pull_request]

jobs:
tests:
name: Run prerequisite checks
runs-on: ubuntu-latest
steps:
- name: Check for the existence of the OpenSearch Security Plugin artifact
env:
opensearch_version: 2.3.0
opensearch_security_plugin_version: 2.3.0.0
run: wget -S --spider https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${opensearch_version}/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-${opensearch_security_plugin_version}.zip || (echo "Please make sure security plugin has been bumped to the same version and added to manifest." && exit 1)