Skip to content
watch

GitHub Action

Wait For OpenMRS

v0.4.0 Latest version

Wait For OpenMRS

watch

Wait For OpenMRS

Wait for OpenMRS to be fully up

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Wait For OpenMRS

uses: I-TECH-UW/wait-for-openmrs-action@v0.4.0

Learn more about this action in I-TECH-UW/wait-for-openmrs-action

Choose a version

Wait-for-OpenMRS Github Action

This action waits for both the FHIR and REST endpoints of an OpenMRS instance to be available.

Inputs

target-url

Where OpenMRS is running, (e.g.) http://isanteplus:8080/openmrs

Required

interval

The interval between checking OpenMRS status, in seconds.

Required

timeout

The amount of time to try to connect before timing out, in seconds. Required

Example usage

uses: I-TECH-UW/wait-for-openmrs-action@v0.3.0
with:
  target-url: http://localhost:8080/openmrs
  timeout: 1000
  interval: 10
docker run ghcr.io/i-tech-uw/wait-for-openmrs-action:latest http://openmrs:8080/openmrs 10 10000