Skip to content

Added healthcheck and conditions per container (#15) #33

Added healthcheck and conditions per container (#15)

Added healthcheck and conditions per container (#15) #33

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- '[0-9].[0-9]'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_cluster:
name: Redis EE (${{ matrix.type }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
type:
- proxy
- oss_cluster
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Load dotnenv for CI
uses: xom9ikk/dotenv@v2
with:
path: .github/workflows/modes
mode: ${{ matrix.type }}
- name: Build cluster
run: |
./build.sh
sleep 5
- name: Run PING command
run: |
docker exec master bash -c "/opt/redislabs/bin/redis-cli -p ${{ env.RE_DB_PORT }} ping"
docker exec master bash -c "/opt/redislabs/bin/rladmin status modules"