Update commit for 5th RC for 2.10.0 #4798
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: manifests | |
on: | |
push: | |
pull_request: | |
paths: | |
- 'manifests/**/*.yml' | |
- '!manifests/templates/**/' | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
list-manifests11: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v3 | |
- id: set-matrix | |
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2<2)print$0}' | jq -R -s -c 'split("\n")[:-1]')" | |
list-manifests17: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v3 | |
- id: set-matrix | |
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2>2)print$0}' | jq -R -s -c 'split("\n")[:-1]')" | |
manifest-checks-jdk11: | |
needs: list-manifests11 | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: 3.9 | |
JDK_VERSION: 11 | |
strategy: | |
matrix: | |
manifest: ${{ fromJson(needs.list-manifests11.outputs.matrix) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Up JDK ${{ env.JDK_VERSION }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ env.JDK_VERSION }} | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Pipenv and Dependencies | |
run: | | |
python -m pip install --upgrade pipenv wheel | |
- name: OpenSearch Manifests | |
run: |- | |
./ci.sh ${{ matrix.manifest }} --snapshot | |
manifest-checks-jdk17: | |
needs: list-manifests17 | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: 3.9 | |
JDK_VERSION: 17 | |
strategy: | |
matrix: | |
manifest: ${{ fromJson(needs.list-manifests17.outputs.matrix) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Up JDK ${{ env.JDK_VERSION }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ env.JDK_VERSION }} | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Pipenv and Dependencies | |
run: | | |
python -m pip install --upgrade pipenv wheel | |
- name: OpenSearch Manifests | |
run: |- | |
./ci.sh ${{ matrix.manifest }} --snapshot |