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
3 changed files with 56 additions and 3 deletions

View file

@ -4,15 +4,25 @@ RUN apt-get update && \
apt-get install ca-certificates extrepo -y && \
extrepo enable prosody && \
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/ && \
chown -R prosody:prosody /run/prosody/
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
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 5269
EXPOSE 5280

35
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,35 @@
pipeline {
agent none
environment {
CHAT = "spacenerdmo@clacks.network"
MAIL = "morgan@mcmillian.dev"
}
stages {
stage('Build docker image') {
agent { label 'docker-build' }
environment {
TAG = "${env.BRANCH_NAME == "main" ? "latest" : env.BRANCH_NAME}"
}
steps {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Started', notifySuspects: true, targets: "${CHAT}"
script {
docker.withRegistry('https://git.dreamfall.space/spacenerdmo', 'spacenerdmo-pkg-pub') {
def customImage = docker.build("git.dreamfall.space/spacenerdmo/prosody:${TAG}")
customImage.push()
}
}
}
post {
success {
jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Succeeded', notifySuspects: true, targets: "${CHAT}"
}
failure {
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

@ -25,7 +25,8 @@ admins = { }
-- This option allows you to specify additional locations where Prosody
-- will search first for modules. For additional modules you can install, see
-- 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.
-- 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
-- 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_adhoc"; -- Allow admins/users to create invitations via their client
"invites_register"; -- Allows invited users to create accounts
@ -72,6 +74,12 @@ modules_enabled = {
"websocket"; -- XMPP over WebSockets
-- Other specific functionality
"cloud_notify";
"cloud_notify_extensions";
--"sasl2";
--"sasl2_bind2";
--"sasl2_sm";
--"sasl2_fast";
--"announce"; -- Send announcement to all online users
--"groups"; -- Shared roster support
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.