Skip to content

Commit

Permalink
Add the feature of showing useful error message during tests with ver…
Browse files Browse the repository at this point in the history
…sion variable

Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Aug 24, 2022
1 parent 7299822 commit b62d5cd
Showing 1 changed file with 14 additions and 0 deletions.
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)

0 comments on commit b62d5cd

Please sign in to comment.