Skip to content

Add block to extract OSD version 2.x from package.json (#1738) #1277

Add block to extract OSD version 2.x from package.json (#1738)

Add block to extract OSD version 2.x from package.json (#1738) #1277

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.8.0
opensearch_security_plugin_version: 2.8.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)