Compare commits
10 commits
Author | SHA1 | Date | |
---|---|---|---|
d1dd0d7760 | |||
592ed4e8c7 | |||
78a3d57bd6 | |||
2bba2cba00 | |||
8566673a6f | |||
5610addfa6 | |||
5fa67476aa | |||
45c7a894df | |||
8cda134e08 | |||
7fb7b4ea20 |
4 changed files with 10 additions and 32 deletions
|
@ -1,16 +1,16 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: woodpeckerci/plugin-docker-buildx:latest
|
||||
settings:
|
||||
repo: git.dreamfall.space/${CI_REPO_OWNER}/prosody
|
||||
registry: git.dreamfall.space
|
||||
tag: latest
|
||||
auto_tag: true
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: git_token
|
||||
|
||||
notify:
|
||||
image: deblan/woodpecker-email
|
||||
image: deblan/woodpecker-email:latest
|
||||
settings:
|
||||
from: woodpecker@clacks.network
|
||||
host: smtp.migadu.com
|
||||
|
|
14
Dockerfile
14
Dockerfile
|
@ -1,28 +1,18 @@
|
|||
FROM debian:bookworm-slim
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install ca-certificates extrepo -y && \
|
||||
extrepo enable prosody && \
|
||||
apt-get update && \
|
||||
apt-get install prosody prosody-modules lua5.4 liblua5.4-dev lua-luaossl -y
|
||||
apt-get install prosody prosody-modules -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
|
||||
|
|
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -1,8 +1,7 @@
|
|||
pipeline {
|
||||
agent none
|
||||
environment {
|
||||
CHAT = "spacenerdmo@clacks.network"
|
||||
MAIL = "morgan@mcmillian.dev"
|
||||
CHAT = "devel@conference.mcmillian.dev"
|
||||
}
|
||||
stages {
|
||||
stage('Build docker image') {
|
||||
|
@ -13,8 +12,8 @@ pipeline {
|
|||
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}")
|
||||
docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'thrrgilag-forgejo-pkg') {
|
||||
def customImage = docker.build("git.dreamfall.space/thrrgilag/prosody:${TAG}")
|
||||
customImage.push()
|
||||
}
|
||||
}
|
||||
|
@ -25,9 +24,6 @@ pipeline {
|
|||
}
|
||||
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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@ admins = { }
|
|||
-- will search first for modules. For additional modules you can install, see
|
||||
-- the community module repository at https://modules.prosody.im/
|
||||
--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
|
||||
|
@ -51,8 +50,7 @@ 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_battery_saver";
|
||||
"csi_simple"; -- Simple but effective traffic optimizations for mobile devices
|
||||
"invites"; -- Create and manage invites
|
||||
"invites_adhoc"; -- Allow admins/users to create invitations via their client
|
||||
"invites_register"; -- Allows invited users to create accounts
|
||||
|
@ -74,12 +72,6 @@ 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.
|
||||
|
|
Loading…
Reference in a new issue