Badlop
874b961680
Container: Remove unused Mix stuff: ejabberd script and static COOKIE
...
Instead of including this file in the container with static content:
/opt/ejabberd-master/releases/COOKIE
the cookie file will be generated by erlang in
/opt/ejabberd/.erlang.cookie
or by ejabberdctl if ERLANG_COOKIE environment variable was provided.
2023-03-28 11:41:49 +02:00
Badlop
2c1ee698cc
Container: Copy captcha scripts to /opt/ejabberd-*/lib like the installers
...
Instead of a path like
/opt/ejabberd-master/lib/ejabberd-23.1.0/priv/bin
they are now in
/opt/ejabberd-master/lib
2023-03-28 11:41:47 +02:00
Badlop
b0f0dd3227
Container: Expose only HOME volume, it contains all the required subdirs
2023-03-28 11:41:46 +02:00
Badlop
de477f7b6c
Container: Update Alpine to 3.17 to get Erlang/OTP 25 and Elixir 1.14
2023-03-28 11:41:44 +02:00
Badlop
cc5c3f7b2c
ejabberdctl: Don't use .../releases/COOKIE, it's no longer included
...
And slightly clean the .erlang.cookie line
This partially reverts 9c23a7dc3f
2023-03-28 11:41:33 +02:00
Badlop
37676757e3
CI: Add OTP 26.0-rc1 to the test matrix
...
But disable dialyzer in 26, as it complains verbosely without reason
2023-03-07 13:11:22 +01:00
Badlop
1c82daacb2
CI: Upload Common Test logs as artifact in case of failure
2023-03-07 13:11:21 +01:00
Badlop
9f0a5c5ef0
CI: Produce less verbose logs for tests
...
This gets a line first introduced in 5b5548b8c
that was lost later
2023-03-07 13:11:19 +01:00
Badlop
9bb86132c6
CI: Use default verbosity to let log files contain XMPP stanzas
...
This partially reverts 2a7780507
2023-03-07 13:11:17 +01:00
Badlop
0def333550
Fix Remark-lint warnings
2023-02-21 18:14:02 +01:00
dependabot[bot]
d504ed8a9b
Container: Bump docker/build-push-action from 3 to 4
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
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>
2023-02-21 18:13:15 +01:00
Stu Tomlinson
cbbf85c555
Add support for running tests on MS SQL
2023-01-21 15:42:43 +00:00
Stu Tomlinson
56e974ab80
Add ability to run tests on upgraded DB
...
To test update_sql operation and functionality of resulting DB:
1. Load original schema to DB
2. Set {update_sql, true} in suite.erl
3. Run tests
2023-01-21 15:42:43 +00:00
Badlop
21c0aaf417
Container: Replace set-output command with environment file
...
Announced in:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-01-16 15:10:28 +01:00
Badlop
ce10bed5d8
Container: Update Alpine to 3.16, the latest one cached in Github Actions
2023-01-16 15:10:27 +01:00
Badlop
17160e9379
Container: Update Actions versions as requested by GitHub Actions
2022-12-22 14:00:36 +01:00
Badlop
fe8b98a1f3
When using erlef, Erlang/OTP 21 is only available in ubuntu 20.04
...
See
https://github.com/erlef/setup-beam#compatibility-between-operating-system-and-erlangotp
2022-12-13 23:57:31 +01:00
Badlop
a193128543
Fix path where gem is installed and fpm can be found
2022-12-13 23:24:01 +01:00
Badlop
196eca2dc4
Runtime: Add Elixir 1.14 to the test matrix
2022-11-14 18:45:17 +01:00
Badlop
5ee1dc9e8d
Container: Support ERL_DIST_PORT
2022-09-13 17:55:17 +02:00
Badlop
a564707da4
Container: Get ejabberd-contrib sources to include them
2022-09-13 17:55:12 +02:00
Badlop
d0bc83147a
Container: Copy .ejabberd-modules directory if available
2022-09-13 17:55:11 +02:00
Badlop
c496baaf87
Container: Don't complain if the bin/ directory already exists
2022-09-07 13:59:20 +02:00
Badlop
14cced0bad
Container: No need to search for the ejabberdctl binary
2022-09-07 13:58:56 +02:00
Roman Hargrave
f542a82309
feat: do not clone repo inside container build
2022-09-07 10:57:55 +02:00
Badlop
9a3ba9d76f
Update Github Action workflows: Ubuntu 18 is deprecated and 22 is added
...
CI:
- Update Ubuntu to 20.04, the lowest available starting in April 2023 [1]
- Don't test 19.3, as it isn't available in Ubuntu 20.04
- Use OTP 25 for Shellcheck, Coveralls, ECIL page
- Use erlef instead of ErlGang, supports better old erlangs in new ubuntus
- Remove support for rebar2 testing, as that's done in Runtime
CI-19.3:
- Add a temporary workflow for testing ejabberd with OTP 19.3
Container and Runtime:
- Update Ubuntu to latest (22.04)
[1] https://github.com/actions/runner-images/issues/6002
https://github.com/ErlGang/setup-erlang
https://github.com/erlef/setup-beam
2022-09-06 13:33:58 +02:00
Badlop
c2cd592eff
Update documentation to reflect the GHCR image usage
2022-08-08 12:31:18 +02:00
Badlop
f080aa5fd9
Apply the minimal changes required to use the GHCR image
2022-08-08 12:31:16 +02:00
Badlop
682c258760
Copy ejabberd-docker-install.bat from docker-ejabberd git and rename it
2022-08-08 12:31:14 +02:00
Badlop
a798a21386
CI: Remove syntax_tools from applications, as fast_xml fails Dialyzer
2022-08-04 12:05:46 +02:00
Mark Zealey
555ff2db4c
Add log_burst_limit_* options ( #3865 )
...
* Add log_burst_limit_* options
On our ejabberd deployment we were sometimes seeing more than 500
msgs/sec of legitimate traffic, however this was getting silently
dropped. Provide config options to enable this limit to be configured
from the config file.
* Pass new logging vars in via ejabberdctl
2022-08-01 12:07:54 +02:00
Badlop
853f35c706
Remove nginx and libgd3, so the proper versions can be installed
2022-07-26 15:42:13 +02:00
Badlop
382c3836af
Runtime: Add Xref options to be as strict as CI
2022-06-12 13:08:29 +02:00
Badlop
6d39af7dd6
Runtime: No need for a specific mix erlang 25 job
2022-06-12 13:08:27 +02:00
Badlop
a30d8c718f
Update workflows to Erlang 25
2022-06-12 13:08:24 +02:00
Badlop
a6101cc26d
Container: Set a less frequent healthcheck to reduce CPU usage ( #3826 )
2022-06-09 12:34:44 +02:00
Badlop
06a2b1c671
Container: Support to pass a fork repository as argument
2022-06-09 11:57:49 +02:00
Badlop
26e6bb4a17
Use "make deps", which performs additional steps ( #3823 )
2022-05-23 13:58:41 +02:00
Holger Weiss
8addf96f9e
make-binaries: Bump dependency versions
2022-05-12 01:02:33 +02:00
Badlop
024ad02169
Revert "Temporary workaround to provide a 22.05 tagged container"
...
This reverts commit 3449621ccc
.
2022-05-06 17:58:58 +02:00
Badlop
3449621ccc
Temporary workaround to provide a 22.05 tagged container
2022-05-06 17:30:26 +02:00
Badlop
e5782a519a
Use alternate method to get priv/ path when copying captcha scripts
2022-05-06 17:30:24 +02:00
Badlop
fbeaa2e03a
Remove dependabot because it gets fired in forks too
2022-05-06 17:30:21 +02:00
Badlop
49ecddc646
Dependabot: Detect updates in docker, actions and mix
2022-05-04 18:01:26 +02:00
Badlop
fad5406348
Container: Build containers also for linux/arm64
2022-05-04 18:00:58 +02:00
Badlop
6e4079586a
Installers: Add job to create draft release
2022-05-04 02:39:23 +02:00
Badlop
d0bca94638
Installers: update workflow name
2022-05-04 02:39:19 +02:00
Badlop
0302d1615b
Packages: Rename workflow file to Installers
2022-05-04 02:39:17 +02:00
Holger Weiss
65437d08ef
make-binaries: Update to Crosstool-NG 1.25.0-RC2
...
Update Crosstool-NG to the current release candidate, and use much
shorter "defconfig" files for specifying the configuration.
2022-05-04 00:30:36 +02:00
Holger Weiss
87995a57de
Add GitHub Action to build binary packages
...
Publish DEB and RPM packages as well as binary installers for each
commit that modifies source code. This allows for testing development
code, and makes sure that problems with building binary packages are
noticed early on.
2022-05-04 00:30:36 +02:00
Badlop
f1c422db8e
Runtime: Fix path of own workflow file
2022-05-02 20:20:21 +02:00
Badlop
011630f8b9
CI: The Binaries job will soon be unnecessary
2022-05-02 20:20:13 +02:00
Badlop
ea4a365bf5
Container: New GitHub workflow to build and publish containers
2022-05-02 13:25:18 +02:00
Badlop
9c23a7dc3f
Container: When ERLANG_COOKIE is set, create cookie file; otherwise use -setcookie
2022-05-02 13:25:18 +02:00
Badlop
b0db87c683
Container: Experimental support CTL_ON_CREATE and CTL_ON_START environment variables
2022-05-02 13:25:18 +02:00
Badlop
200cea25c8
Container: Start BEAM with exec to maintain the PID and catch SIGTERM in Docker Stop
...
Until now, when stopping the ejabberd container, Erlang is not gracefully
closed, Mnesia is not properly closed... exit code is 137.
With this change, when the container is stopped, Erlang receives the
SIGTERM signal, shutsdown, Mnesia database is properly closed, ...
and exit code is 0.
2022-05-02 13:25:18 +02:00
Badlop
8d15e973e2
Container: Copy ejabberdctl.template, it requires some customizations
2022-05-02 13:25:01 +02:00
Badlop
493ee7f534
Container: New Dockerfile, more simple than the one in ejabberd/ecs
2022-05-02 13:23:57 +02:00
Badlop
d6de831381
Runtime: New workflow to test compilation, rel, starting and ejabberdctl
2022-05-02 13:20:52 +02:00
Badlop
5ece51f8da
CI: Update actions versions
2022-05-02 13:20:52 +02:00
Badlop
ca786e8102
CI: Update to the new "make rel" paths
2022-05-02 13:20:52 +02:00
Badlop
bde513d088
CI: For older erlang versions, get old rebars
2022-05-02 13:20:52 +02:00
Badlop
c5f9652019
CI: Update to test latest OTP 25.0-rc3
2022-05-02 13:20:52 +02:00
Badlop
4c51f6e1fe
Check results when test with any OTP is not skipped
2022-04-01 12:03:51 +02:00
Badlop
305792f409
Test also with recent Erlang/OTP 25.0-rc1
2022-02-24 01:03:01 +01:00
Badlop
be0175fb70
Only care about CT results when CT are ran, and check fails
2022-02-24 01:02:44 +01:00
Badlop
f20e9e9b66
Check producing and starting releases
2022-02-11 09:39:29 +01:00
Badlop
bdd1a129c0
Disable mssql in Actions: it's known mssql doesn't pass the tests
2022-02-03 20:10:01 +01:00
Badlop
8ccad7fada
Publish CT logs and Cover on failure to an external GH Pages repo
2021-12-23 16:39:36 +01:00
Badlop
8a5d90797a
Check dialyzer results in its step when using rebar 2
2021-12-23 16:39:34 +01:00
Badlop
aa580b3f6e
Only care about new-schema results when new-schema tests were ran
2021-12-23 16:39:31 +01:00
Badlop
3841097428
Clean actions steps, remove redundant ones
2021-12-23 16:39:28 +01:00
Badlop
e2b7717dd9
Workaround to support ShellCheck older than 0.8.0
2021-12-23 13:57:16 +01:00
Badlop
694d80b7fa
Test shell scripts in CI ( #3738 )
2021-12-23 13:57:14 +01:00
Badlop
24742031e9
Revert "Github Actions: use MD5 pass encryption to support PostgreSQL 14 ( #3691 )"
...
This workaround is not needed anymore, thanks to p1_pgsql 3bf645b,
included in p1_pgsql 1.1.13, and used in ejabberd 21.12.
This reverts commit 964cb3aaca
.
2021-12-15 00:50:52 +01:00
Badlop
e10f2a9e47
OTP 24 means whatever version provided by Actions... nowadays it's 24.1
2021-12-09 10:55:16 +01:00
Badlop
a590e81922
Add DIAGNOSTIC to rebar3 coveralls, this fails since some days ago
2021-11-17 13:20:33 +01:00
Badlop
4d384b6bf5
If tests succeed, test also new SQL schema
2021-10-15 16:59:32 +02:00
Badlop
c2db003431
When tests fail, show also error.log as it may have meaningful content
2021-10-15 16:59:28 +02:00
Badlop
964cb3aaca
Github Actions: use MD5 pass encryption to support PostgreSQL 14 ( #3691 )
2021-10-07 16:54:27 +02:00
Badlop
d5adcaea61
Add support for rebar3 to "make rel"
2021-06-25 12:53:22 +02:00
Badlop
ea97be9124
Don't cache rebar3 binaries... compiling is less than 2 minutes anyway
2021-06-21 11:46:10 +02:00
Badlop
3ed41e39f6
CI: don't cache dialyzer output file: when there are several, ln fails
2021-06-14 17:20:57 +02:00
Badlop
ccadbf45a2
Get explicitely rebar3 3.15 binary that works with Erlang 21.3
2021-06-07 12:13:22 +02:00
Badlop
2b0d724aef
Workaround so coveralls website shows git commit information
...
References:
https://github.com/markusn/coveralls-erl/pull/36
https://github.com/deadtrickster/prometheus.erl/pull/123
2021-06-06 16:56:29 +02:00
Badlop
9010c35193
CI: Get rebar3 compatible with previous OTP, the one in Ubuntu 20.04 is not
2021-05-28 16:56:05 +02:00
Badlop
77ef03e104
New ci.yml with all static and dynamic testing suites ( #3613 )
...
It supports all that was already in .travis.yml and tests.yml, plus:
- exclude paths that don't affect source code
- two very distinct scenarios, ancient a recent (OTP, Rebar, Ubuntu)
- cache binaries and dialyzer for small speedup and network usage
- separated results, to view comfortably where and what failed
- use coveralls example rebar3 code, instead of custom rebar2
- upload binaries.zip that can be used with Binary Installers
2021-05-25 18:45:31 +02:00
Badlop
70640e71f1
Remove tests.yml github workflow, a new reworked one is coming ( #3613 )
2021-05-25 18:40:28 +02:00
Badlop
b18f622984
Use the deps versions defined in rebar.config, not the latest available
2021-05-11 18:36:11 +02:00
Mickaël Rémond
f77a163341
Update bug_report.md
2021-04-15 15:30:23 +02:00
Mickaël Rémond
c280d172b1
Update feature_request.md
2021-04-15 15:30:06 +02:00
Badlop
bb8bdf57b3
New Github Actions workflow to test Dialyzer, Xref, Options and Hooks
2021-02-23 19:45:53 +01:00
Mickaël Rémond
584a4b0a2b
Try removing label as bug
...
Many tickets submitted by users are not bugs.
2019-10-04 09:02:45 +02:00
Holger Weiss
017f60d33c
Fix typos in issue template
2019-09-09 10:46:54 +02:00
Mickaël Rémond
bf6fc75ada
Update issue templates
2019-09-09 09:49:54 +02:00
Mickaël Rémond
34794b3c68
lock.yml defines locking policy for old issues
2019-06-09 11:47:18 +02:00
Mickaël Rémond
3c3dd80ea9
Update issue templates
2018-11-19 10:37:04 +01:00
Mickael Remond
68f8194886
Use new naming for Github issue templates
2018-11-19 10:35:07 +01:00
Evgeny Khramtsov
ed2b07fc10
Bump ejabberd version in the issue template
2018-10-04 14:42:11 +03:00
Evgeny Khramtsov
f28200b6de
Update ISSUE_TEMPLATE
2018-09-21 19:20:23 +03:00