File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed
exist-jetty-config/src/main/resources/webapp/WEB-INF Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 4
4
version :
5
5
description : ' The version of the Maven Daemon to install'
6
6
required : true
7
- default : ' 0.9.0 '
7
+ default : ' 1.0.2 '
8
8
file-version-suffix :
9
9
description : ' A suffix to append to the version of the download file of Maven Daemon to install'
10
10
required : false
@@ -61,11 +61,14 @@ runs:
61
61
run : |
62
62
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip
63
63
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
68
70
- name : Verify mvnd sha256 checksum
71
+ if : ${{ runner.os != 'macOS' }}
69
72
shell : bash
70
73
run : echo "$(cat ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256) ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip" | sha256sum --check
71
74
- name : Unzip mvnd
Original file line number Diff line number Diff line change 1
1
name : Deploy
2
- on : [push, pull_request]
2
+ on :
3
+ push :
4
+ pull_request :
5
+ schedule :
6
+ - cron : " 0 6 * * *"
7
+ workflow_dispatch :
3
8
jobs :
4
9
build :
5
10
name : Build and Test Images
6
11
runs-on : ubuntu-latest
7
12
# NOTE (DP): Publish on develop and master, test on PRs against these
8
- # TODO(DP) Reinstate CRONed release builds to update stock apps regularly
9
13
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'
10
14
steps :
11
15
- uses : actions/checkout@v4
46
50
sleep 35s
47
51
- name : Run tests
48
52
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
49
70
# NOTE (DP): When on master push release, when on develop push latest: Version is included automatically
50
71
# TODO (DP): Confirm that releases triggered from maven publish images with the non SNAPSHOT version
51
72
- name : Publish latest images
Original file line number Diff line number Diff line change 176
176
<servlet >
177
177
<servlet-name >JMXServlet</servlet-name >
178
178
<servlet-class >org.exist.management.client.JMXServlet</servlet-class >
179
+ <load-on-startup >4</load-on-startup >
179
180
</servlet >
180
181
181
182
<!--
You can’t perform that action at this time.
0 commit comments