Skip to content

Commit

Permalink
Fix CI install modules
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 22, 2024
1 parent c5645bc commit 195cda5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
run: |
echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/prosody.list
sudo wget https://prosody.im/files/prosody-debian-packages.key -O/etc/apt/trusted.gpg.d/prosody.gpg
sudo apt update
sudo apt install lua5.3 prosody-trunk lua-bitop lua-sec luarocks
sudo apt-get update
sudo apt-get -y install lua5.3 liblua5.3-dev prosody-trunk lua-bitop lua-sec luarocks
sudo service prosody stop
prosodyctl --config server/prosody.cfg.lua install mod_sasl2
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_bind2
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_fast
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_sm
cd server
prosodyctl --config prosody.cfg.lua install mod_sasl2
prosodyctl --config prosody.cfg.lua install mod_sasl2_bind2
prosodyctl --config prosody.cfg.lua install mod_sasl2_fast
prosodyctl --config prosody.cfg.lua install mod_sasl2_sm
# - run: npm install -g npm
- run: make
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ server/certs/
server/prosody.err
server/prosody.log
server/prosody.pid
server/modules
server/.cache

!.gitkeep
!.editorconfig
Expand Down
Empty file removed server/modules/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion server/prosody.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local lfs = require "lfs";

plugin_paths = { "modules" }
plugin_server = "https://modules.prosody.im/rocks/"
installer_plugin_path = "modules";
installer_plugin_path = lfs.currentdir() .. "/modules";

modules_enabled = {
"roster";
Expand Down

0 comments on commit 195cda5

Please sign in to comment.