Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run isante on platform_2.1.x #6

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ on:
release:
types: [published]
push:
branches:
- "main"
branches: [main,'platform_2.1.x']
pull_request:
branches:
- "main"
branches: [main,'platform_2.1.x']
workflow_dispatch:

env:
Expand Down Expand Up @@ -50,4 +48,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=user/app:latest
cache-to: type=inline
cache-to: type=inline
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM maven:3.6-jdk-8 as download

WORKDIR /

ARG ISANTEPLUS_VERSION=v2.2.1
ARG ISANTEPLUS_VERSION=platform_2.1.x

RUN git clone --depth 1 --branch $ISANTEPLUS_VERSION https://github.com/IsantePlus/openmrs-distro-isanteplus.git

Expand All @@ -14,7 +14,7 @@ RUN mvn generate-resources

WORKDIR /db

RUN mv /openmrs-distro-isanteplus/package/src/main/resources/openmrs-distro.sql /db
RUN mv /openmrs-distro-isanteplus/package/src/main/resources/openmrs-distro.sql /db/

FROM debian:buster-slim as db

Expand Down Expand Up @@ -77,7 +77,7 @@ RUN set -ex; \
apt-key list > /dev/null

ENV MYSQL_MAJOR 5.7
ENV MYSQL_VERSION 5.7.37-1debian10
ENV MYSQL_VERSION 5.7.42-1debian10

RUN echo 'deb http://repo.mysql.com/apt/debian/ buster mysql-5.7' > /etc/apt/sources.list.d/mysql.list

Expand Down Expand Up @@ -116,4 +116,4 @@ RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
ENTRYPOINT ["docker-entrypoint.sh"]

EXPOSE 3306 33060
CMD ["mysqld"]
CMD ["mysqld"]