Badlop
1cadc6b1dc
CI: Revert old feature that published failed CT logs to website
...
Nowadays the CT logs can be downloaded from each action run in:
https://github.com/processone/ejabberd/actions/workflows/ci.yml
This partially reverts commit 8ccad7f
Publish CT logs and Cover on failure to an external GH Pages repo
2024-12-19 11:21:25 +01:00
Badlop
3ae636b454
Redis: Use eredis 1.7.1 from Nordix when using mix/rebar3 and Erlang 21+
2024-12-05 13:01:37 +01:00
Badlop
06e3f9f0a4
Runtime: Disable edoc when using old problematic Elixir versions
2024-12-05 13:01:35 +01:00
Badlop
cc5c9f6008
Fix problems introduced in two recent commits
2024-11-25 17:23:28 +01:00
Badlop
715b5b64c6
Runtime: Test Dialyzer in Rebars jobs ( #4281 )
...
The CI workflow uses ubuntu-24.04 and setup-beam action,
so it can test only Erlang/OTP 24 and higher.
To ensure Dialyzer is also ran with older Erlang versions,
let's add Dialyzer testing to the Runtime workflow,
which uses the erlang container, and that allows
to run Erlang/OTP 20 in ubuntu-24.04.
2024-11-14 13:58:14 +01:00
Badlop
c20ed8c7b3
Runtime: Try using elixir container for Rebar3+Elixir and Mix jobs ( #4281 )
2024-11-14 13:58:11 +01:00
Badlop
d3baacd78e
Workflows: Bump ubuntu from 22.04 to 24.04 when possible ( #4281 )
2024-11-14 13:58:07 +01:00
Badlop
322e25d18e
CI: Get again continue-on-error for XMPP Interop Tests
...
See explanations following the comment
https://github.com/processone/ejabberd/pull/4285#issuecomment-2397047355
This partially reverts commit 94c2a115d5
.
2024-10-28 12:06:53 +01:00
Badlop
94c2a115d5
CI: Disable XMPP Interop specifications that are known to fail
2024-10-11 11:49:28 +02:00
Guus der Kinderen
a8df58f056
CI: Limit execution of XMPP Interop tests
...
Run the XMPP Interop tests on only one build of the CI-matrix. This prevents redundant testing, as well as logs overwriting each-other.
2024-09-27 09:55:18 +02:00
Guus der Kinderen
54a89b39fb
CI: Add XMPP Interop tests
...
Modifies the CI build to integrate the GitHub Action-based test runner from the [XMPP Interop Testing project](https://xmpp-interop-testing.github.io ). This executes additional integration tests that help verify ejabberd's compliance with XMPP specifications.
In this commit, none of the tests are excluded, which likely results in false positives. Therefor, the 'continue-on-error' flag is set. This should ideally be removed in a later commit.
2024-09-26 21:45:51 +02:00
Badlop
795498fa45
Runtime: Cache hex.pm archive from rebar3 and mix
2024-08-26 15:50:25 +02:00
Badlop
aa1717ee77
CI: Add Elvis tests
2024-08-26 15:50:25 +02:00
Badlop
d5e030a638
CI: Tell sqlcmd to trust server self-signed certificate
...
As explained in
https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228
Version 18.0 of the Microsoft ODBC Driver 18 for SQL Server has been released.
BREAKING CHANGE - Default Encrypt to Yes/Mandatory.
2024-08-09 12:31:35 +02:00
Badlop
47f1beca0c
CI: Update path to sqlcmd command in the mssql container
...
As mentioned in
https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker
Starting with SQL Server 2022 (16.x) CU 14 and SQL Server 2019 (15.x)
CU 28, the container images include the new mssql-tools18 package.
The previous directory /opt/mssql-tools/bin is being phased out.
The new directory for Microsoft ODBC 18 tools is /opt/mssql-tools18/bin,
aligning with the latest tools offering.
2024-08-09 12:31:34 +02:00
dependabot[bot]
5645858262
Bump docker/build-push-action from 5 to 6
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 15:11:46 +02:00
Badlop
9b675fe775
Add support to test also EUnit suite
2024-06-25 17:05:28 +02:00
Badlop
fff0b5209c
Apply previous commit to the container ejabberdctl script
2024-06-19 11:48:33 +02:00
Badlop
ab274147d8
Runtime: Add final OTP 27 and preliminary Elixir 1.17 to the matrix
2024-05-28 15:36:39 +02:00
Badlop
a8e36e7b1b
CI: Don't load database schema files for mysql and pgsql
2024-05-24 13:21:21 +02:00
Badlop
750bf07e13
Runtime: Define Elixir major versions, and let it pick the latest minor one
2024-05-24 13:21:08 +02:00
Badlop
2cd53410bc
Runtime: Avoid testing with OTP 27 + rebar2, because Jose has warnings_as_errors
...
and we can't disable that option in rebar2 using overrides
2024-05-24 13:21:07 +02:00
Badlop
ad7008a545
CI and Runtime: Update Erlang/OTP 27.0-rc3 to 27
2024-05-24 13:21:05 +02:00
Badlop
392d7ee30b
CI and Runtime: Now ejabberd and dependencies can compile with OTP 27.0-rc3
2024-05-02 17:30:21 +02:00
Badlop
025e2a5760
CI and Runtime: Don't get explicitly dependencies ( #4213 )
2024-05-02 17:30:04 +02:00
Badlop
ee9d4d56a9
Update Jose to the new 1.11.10 for Erlang/OTP > 23
2024-04-22 18:28:34 +02:00
Badlop
9c8ae96f25
Define base64url dependency only when using rebar2 and Erlang<24
...
base64url is not called directly in ejabberd code since e227940
,
it is only required by p1_acme and erlang-jose 1.11.1
erlang-jose 1.11.1 defines base64url dependency as an hex package,
and rebar2 is not able to download it.
For that reason, when compiling ejabberd with rebar2,
we provide a rebar2-friendly base64url dependency definition.
That way when jose is downloaded, that dependency is already available.
2024-04-19 01:50:42 +02:00
dependabot[bot]
697e5b8b6c
Bump peaceiris/actions-gh-pages from 3 to 4
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 01:50:42 +02:00
Badlop
051bf2968a
Runtime: Test 27.0-rc1 instead of 27, as port_compiler still fails in rc2
2024-04-12 17:56:02 +02:00
Badlop
426e33d3a6
Fix previous commit: shellcheck reported a warning
2024-04-04 15:58:48 +02:00
Badlop
d6d8bce0e4
If INET_DIST_INTERFACE is IPv6, set required option (thanks to Stu Tomlinson)( #4189 )
2024-04-04 13:42:09 +02:00
Badlop
dbf0fb8e86
Runtime: Run Dialyzer in Mix jobs
2024-04-01 14:26:55 +02:00
Badlop
a1b76ac0a9
Container: Update to Elixir 1.16.2
2024-04-01 14:26:55 +02:00
dependabot[bot]
208f798b07
Bump softprops/action-gh-release from 1 to 2
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 14:26:55 +02:00
Badlop
b04b16825f
Revert "CI: Don't run CT with OTP 27 until "Peer certificate rejected" gets solved"
...
This recent fix in fast_tls solves the problem:
528d9759d6
This reverts commit 95e9a63dcb
.
2024-02-27 10:06:34 +01:00
Badlop
95e9a63dcb
CI: Don't run CT with OTP 27 until "Peer certificate rejected" gets solved
2024-02-26 16:16:19 +01:00
Badlop
bb349d6085
Update "make edoc" to use ExDoc
2024-02-26 16:16:14 +01:00
Badlop
723c53e1df
Revert "Container: Update make-binaries to support setup-beam v1.17.2"
...
We can now revert commit c81a47a692
because erlef/setup-beam v1.17.3 has recovered its original behavior in
951dd857ae
2024-02-26 16:16:08 +01:00
Badlop
8c64ce67fc
CI/Runtime: Test also with the new Erlang/OTP 27.0-rc1
2024-02-21 16:46:26 +01:00
Badlop
1ddc4a5c5d
CI/Runtime: For OTP < 24 use rebar binaries from ejabberd 21.12
2024-02-21 16:45:28 +01:00
Badlop
efe5c76469
Runtime: Test compilation with the included rebar/rebar3 binaries
2024-02-19 15:33:09 +01:00
Badlop
16c9b169f2
Runtime: Properly purge nginx in Rebars job, as done in commit 853f35c
2024-02-19 15:33:09 +01:00
Badlop
071dc08405
Container: Support OTP versions with "-rc" string
2024-02-15 01:57:42 +01:00
dependabot[bot]
3f07e232aa
Bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 01:57:28 +01:00
Paweł Chmielowski
67a6776fba
Add ability to ignore failures in execution of container CTL_ON_* commands
...
This will allow to use register in CTL_ON_CREATE and not abort if used with
existing data that have account already registered.
2024-02-13 11:55:23 +01:00
Badlop
e1b94487ef
Container: Apply commit 35b727a
...
ejabberdctl: Detect problem running iex and show explanation
2024-02-09 14:12:21 +01:00
Badlop
2531ebf685
Container: Apply commit abf0796
...
ejabberdctl: Detect problem running etop and show some help
2024-02-09 14:12:20 +01:00
Badlop
01909b07ce
Container: Apply commit e1f14ac
...
Rebar3: Provide proper path to iex
2024-02-09 14:12:18 +01:00
Badlop
39ea08b7cb
Container: Apply commit 841d5c0
and 81ceefe
...
Fix startup problem when having set EJABBERD_OPTS and logger options
Remove spurious line
2024-02-09 14:12:17 +01:00
Badlop
413ffd7470
Container: Apply commit 19e2e16
...
Let "ejabberdctl etop" work in a release (if observer is available)
2024-02-09 14:12:15 +01:00