Skip to content

Commit b196087

Browse files
committed
Merge branch 'develop-6.x.x' into pr5680
2 parents 2c64411 + 261d81c commit b196087

File tree

3 files changed

+32
-7
lines changed

3 files changed

+32
-7
lines changed

.github/actions/install-mvnd/action.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
version:
55
description: 'The version of the Maven Daemon to install'
66
required: true
7-
default: '0.9.0'
7+
default: '1.0.2'
88
file-version-suffix:
99
description: 'A suffix to append to the version of the download file of Maven Daemon to install'
1010
required: false
@@ -61,11 +61,14 @@ runs:
6161
run: |
6262
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip
6363
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256 https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip.sha256
64-
- name: Install sha256sum (macOS)
65-
if: ${{ runner.os == 'macOS' }}
66-
shell: bash
67-
run: brew install coreutils
64+
# see #5842
65+
# brew install mvndaemon/homebrew-mvnd/mvnd@1
66+
# - name: Install coreutils (macOS)
67+
# if: ${{ runner.os == 'macOS' }}
68+
# shell: bash
69+
# run: brew install coreutils
6870
- name: Verify mvnd sha256 checksum
71+
if: ${{ runner.os != 'macOS' }}
6972
shell: bash
7073
run: echo "$(cat ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256) ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip" | sha256sum --check
7174
- name: Unzip mvnd

.github/workflows/ci-deploy.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: Deploy
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: "0 6 * * *"
7+
workflow_dispatch:
38
jobs:
49
build:
510
name: Build and Test Images
611
runs-on: ubuntu-latest
712
# NOTE (DP): Publish on develop and master, test on PRs against these
8-
# TODO(DP) Reinstate CRONed release builds to update stock apps regularly
913
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/develop-6.x.x' || github.ref == 'refs/heads/master'|| github.base_ref == 'develop' || github.base_ref == 'develop-6.x.x' || github.base_ref == 'master'
1014
steps:
1115
- uses: actions/checkout@v4
@@ -46,6 +50,23 @@ jobs:
4650
sleep 35s
4751
- name: Run tests
4852
run: bats --tap exist-docker/src/test/bats/*.bats
53+
54+
- name: debug logs
55+
if: failure()
56+
run: docker logs exist-ci | grep 'ERROR'
57+
58+
- name: Copy logs on failure
59+
if: failure()
60+
run: |
61+
echo "Copying logs..."
62+
docker cp exist-ci:/exist/logs/exist.log ./exist.log
63+
64+
- name: Upload logs artifact
65+
if: failure()
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: exist-core-failed-log
69+
path: exist.log
4970
# NOTE (DP): When on master push release, when on develop push latest: Version is included automatically
5071
# TODO (DP): Confirm that releases triggered from maven publish images with the non SNAPSHOT version
5172
- name: Publish latest images

exist-jetty-config/src/main/resources/webapp/WEB-INF/web.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
<servlet>
177177
<servlet-name>JMXServlet</servlet-name>
178178
<servlet-class>org.exist.management.client.JMXServlet</servlet-class>
179+
<load-on-startup>4</load-on-startup>
179180
</servlet>
180181

181182
<!--

0 commit comments

Comments
 (0)