Compare commits

..

12 commits

Author SHA1 Message Date
8d71044107 move build
All checks were successful
git.dreamfall.space/prosody-docker/pipeline/head This commit looks good
2024-09-08 16:50:26 -07:00
9292416cc2 disable sasl2 as it doesn't seem to work yet
Some checks failed
thrrgilag/prosody-docker/pipeline/head This commit looks good
git.dreamfall.space/prosody-docker/pipeline/head There was a failure building this commit
2024-04-21 15:37:49 -07:00
1353f75d29 pull down the latest versions of the sasl2 modules
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-21 15:35:04 -07:00
d0b86f7dd4 fix module name
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-21 15:28:38 -07:00
43b6912977 add sasl2 support
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-21 15:22:46 -07:00
14a7fe0d02 fix xmpp bot notification
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-21 08:30:19 -07:00
2e549ee3ff replace csi module for better mobile performance perhaps?
Some checks failed
thrrgilag/prosody-docker/pipeline/head There was a failure building this commit
2024-04-21 08:26:27 -07:00
b6c11afbb7 update plugin install path
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-16 18:34:24 -07:00
c300ebac74 update lua and plugin path
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-16 17:51:22 -07:00
e9fcdb1ad6 additional notification extensions
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-15 13:27:56 -07:00
1f874b0351 add support for push notifications
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2024-04-13 07:44:23 -07:00
f55a924e36 Add jenkins build file
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2023-11-10 11:20:12 -08:00
4 changed files with 32 additions and 10 deletions

View file

@ -1,16 +1,16 @@
pipeline: pipeline:
build: build:
image: woodpeckerci/plugin-docker-buildx:latest image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: git.dreamfall.space/${CI_REPO_OWNER}/prosody repo: git.dreamfall.space/${CI_REPO_OWNER}/prosody
registry: git.dreamfall.space registry: git.dreamfall.space
auto_tag: true tag: latest
username: ${CI_REPO_OWNER} username: ${CI_REPO_OWNER}
password: password:
from_secret: git_token from_secret: git_token
notify: notify:
image: deblan/woodpecker-email:latest image: deblan/woodpecker-email
settings: settings:
from: woodpecker@clacks.network from: woodpecker@clacks.network
host: smtp.migadu.com host: smtp.migadu.com

View file

@ -1,18 +1,28 @@
FROM debian:bullseye-slim FROM debian:bookworm-slim
RUN apt-get update && \ RUN apt-get update && \
apt-get install ca-certificates extrepo -y && \ apt-get install ca-certificates extrepo -y && \
extrepo enable prosody && \ extrepo enable prosody && \
apt-get update && \ apt-get update && \
apt-get install prosody prosody-modules -y apt-get install prosody prosody-modules lua5.4 liblua5.4-dev lua-luaossl -y
RUN mkdir -p /run/prosody/ && \ RUN mkdir -p /run/prosody/ && \
chown -R prosody:prosody /run/prosody/ chown -R prosody:prosody /run/prosody/
RUN mkdir -p /etc/prosody/conf.d/ RUN mkdir -p /etc/prosody/conf.d/
RUN update-alternatives --set lua-interpreter /usr/bin/lua5.4
COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua
RUN mkdir -p /usr/local/prosody/custom_plugins/lib/luarocks/rocks-5.4
RUN chown -R prosody:prosody /usr/local/prosody
RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_cloud_notify_extensions
#RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_sasl2
#RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_sasl2_bind2
#RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_sasl2_sm
#RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_sasl2_fast
EXPOSE 5222 EXPOSE 5222
EXPOSE 5269 EXPOSE 5269
EXPOSE 5280 EXPOSE 5280

10
Jenkinsfile vendored
View file

@ -1,7 +1,8 @@
pipeline { pipeline {
agent none agent none
environment { environment {
CHAT = "devel@conference.mcmillian.dev" CHAT = "spacenerdmo@clacks.network"
MAIL = "morgan@mcmillian.dev"
} }
stages { stages {
stage('Build docker image') { stage('Build docker image') {
@ -12,8 +13,8 @@ pipeline {
steps { steps {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Started', notifySuspects: true, targets: "${CHAT}" jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Started', notifySuspects: true, targets: "${CHAT}"
script { script {
docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'thrrgilag-forgejo-pkg') { docker.withRegistry('https://git.dreamfall.space/spacenerdmo', 'spacenerdmo-pkg-pub') {
def customImage = docker.build("git.dreamfall.space/thrrgilag/prosody:${TAG}") def customImage = docker.build("git.dreamfall.space/spacenerdmo/prosody:${TAG}")
customImage.push() customImage.push()
} }
} }
@ -24,6 +25,9 @@ pipeline {
} }
failure { failure {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Failed', notifySuspects: true, targets: "${CHAT}" jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Failed', notifySuspects: true, targets: "${CHAT}"
mail to: "${MAIL}",
subject: "Deploy Failed: ${currentBuild.fullDisplayName}",
body: "Something is wrong with ${env.BUILD_URL}"
} }
} }
} }

View file

@ -26,6 +26,7 @@ admins = { }
-- will search first for modules. For additional modules you can install, see -- will search first for modules. For additional modules you can install, see
-- the community module repository at https://modules.prosody.im/ -- the community module repository at https://modules.prosody.im/
--plugin_paths = { } --plugin_paths = { }
installer_plugin_path = "/usr/local/prosody/custom_plugins"
-- This is the list of modules Prosody will load on startup. -- This is the list of modules Prosody will load on startup.
-- Documentation for bundled modules can be found at: https://prosody.im/doc/modules -- Documentation for bundled modules can be found at: https://prosody.im/doc/modules
@ -50,7 +51,8 @@ modules_enabled = {
"vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
-- Nice to have -- Nice to have
"csi_simple"; -- Simple but effective traffic optimizations for mobile devices -- "csi_simple"; -- Simple but effective traffic optimizations for mobile devices
"csi_battery_saver";
"invites"; -- Create and manage invites "invites"; -- Create and manage invites
"invites_adhoc"; -- Allow admins/users to create invitations via their client "invites_adhoc"; -- Allow admins/users to create invitations via their client
"invites_register"; -- Allows invited users to create accounts "invites_register"; -- Allows invited users to create accounts
@ -72,6 +74,12 @@ modules_enabled = {
"websocket"; -- XMPP over WebSockets "websocket"; -- XMPP over WebSockets
-- Other specific functionality -- Other specific functionality
"cloud_notify";
"cloud_notify_extensions";
--"sasl2";
--"sasl2_bind2";
--"sasl2_sm";
--"sasl2_fast";
--"announce"; -- Send announcement to all online users --"announce"; -- Send announcement to all online users
--"groups"; -- Shared roster support --"groups"; -- Shared roster support
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.