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 (#1083) (#1085)

Signed-off-by: Ryan Liang <jiallian@amazon.com>
(cherry picked from commit 964e804)

Co-authored-by: Ryan Liang <109499885+RyanL1997@users.noreply.github.com>
  • Loading branch information
opensearch-trigger-bot[bot] and RyanL1997 authored Aug 29, 2022
1 parent fb34c21 commit 3d43bdb
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 3d43bdb

Please sign in to comment.