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

(chore) O3-4426: Update OpenMRS version and Initializer version #888

Merged
merged 2 commits into from
Feb 10, 2025
Merged
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
75 changes: 75 additions & 0 deletions .github/workflows/e2e-tests-on-commit.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkayiwa I've updated this file to capture the server logs when e2e test fails. These changes should get reverted before this PR gets merged

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it because you hate server logs? 😊

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XD haha purely because there'll be a large number of logs

Copy link
Member

@denniskigen denniskigen Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NethmiRodrigo if we do decide to keep the Upload Logs as Artifact steps, can we add a repo-specific prefix to the artifact names for easier disambiguation?

name: ${{ github.repository | replace('/', '-') }}-server-logs # or similar

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denniskigen yeah that makes sense!

Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,21 @@ jobs:
path: e2e_repo/playwright-report/
retention-days: 30

- name: 📝 Capture Server Logs
if: always()
uses: jwalton/gh-docker-logs@v2
with:
dest: "./logs"

- name: 📤 Upload Logs as Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: server-logs-patient-management
path: "./logs"
retention-days: 2
overwrite: true

run-patient-chart-e2e-tests:
runs-on: ubuntu-latest
needs: build
Expand Down Expand Up @@ -151,6 +166,21 @@ jobs:
path: e2e_repo/playwright-report/
retention-days: 30

- name: 📝 Capture Server Logs
if: always()
uses: jwalton/gh-docker-logs@v2
with:
dest: "./logs"

- name: 📤 Upload Logs as Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: server-logs-patient-chart
path: "./logs"
retention-days: 2
overwrite: true

run-form-builder-e2e-tests:
runs-on: ubuntu-latest
needs: build
Expand Down Expand Up @@ -212,6 +242,21 @@ jobs:
path: e2e_repo/playwright-report/
retention-days: 30

- name: 📝 Capture Server Logs
if: always()
uses: jwalton/gh-docker-logs@v2
with:
dest: "./logs"

- name: 📤 Upload Logs as Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: server-logs-form-builder
path: "./logs"
retention-days: 2
overwrite: true

run-esm-core-e2e-tests:
runs-on: ubuntu-latest
needs: build
Expand Down Expand Up @@ -273,6 +318,21 @@ jobs:
path: e2e_repo/playwright-report/
retention-days: 30

- name: 📝 Capture Server Logs
if: always()
uses: jwalton/gh-docker-logs@v2
with:
dest: "./logs"

- name: 📤 Upload Logs as Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: server-logs-esm-core
path: "./logs"
retention-days: 2
overwrite: true

run-cohort-builder-e2e-tests:
runs-on: ubuntu-latest
needs: build
Expand Down Expand Up @@ -333,3 +393,18 @@ jobs:
name: report-cohort-builder
path: e2e_repo/playwright-report/
retention-days: 30

- name: 📝 Capture Server Logs
if: always()
uses: jwalton/gh-docker-logs@v2
with:
dest: "./logs"

- name: 📤 Upload Logs as Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: server-logs-cohort-builder
path: "./logs"
retention-days: 2
overwrite: true
4 changes: 2 additions & 2 deletions distro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
we do so here so that we can utilise Maven to track updates, etc. -->
<fhir2.version>2.3.0-SNAPSHOT</fhir2.version>
<authentication.version>1.0.0</authentication.version>
<openmrs.version>2.6.15</openmrs.version>
<initializer.version>2.8.0</initializer.version>
<openmrs.version>2.7.2-SNAPSHOT</openmrs.version>
<initializer.version>2.9.0-SNAPSHOT</initializer.version>
<webservices.rest.version>2.48.0-SNAPSHOT</webservices.rest.version>
<addresshierarchy.version>2.19.0</addresshierarchy.version>
<idgen.version>4.14.0</idgen.version>
Expand Down
Loading