Compare commits

...

10 commits

Author SHA1 Message Date
Morgan McMillian d1dd0d7760 cleanup build file for production use
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2023-11-10 11:17:39 -08:00
Morgan McMillian 592ed4e8c7 fix build label
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2023-11-10 10:00:30 -08:00
Morgan McMillian 78a3d57bd6 test notificaiton and tag strategy
Some checks reported errors
thrrgilag/prosody-docker/pipeline/head Something is wrong with the build of this commit
2023-11-10 09:58:31 -08:00
Morgan McMillian 2bba2cba00 try again with diff creds
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
2023-11-09 17:59:41 -08:00
Morgan McMillian 8566673a6f test again
Some checks failed
thrrgilag/prosody-docker/pipeline/head There was a failure building this commit
2023-11-09 17:40:35 -08:00
Morgan McMillian 5610addfa6 test with different creds
Some checks failed
thrrgilag/prosody-docker/pipeline/head There was a failure building this commit
2023-11-09 16:24:29 -08:00
Morgan McMillian 5fa67476aa test build
Some checks failed
thrrgilag/prosody-docker/pipeline/head There was a failure building this commit
2023-11-09 15:55:30 -08:00
Morgan McMillian 45c7a894df pull latest plugin images
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-11-07 15:59:56 -08:00
Morgan McMillian 8cda134e08 update tagging for docker build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-11-07 08:05:18 -08:00
Morgan McMillian 7fb7b4ea20 temporary revert to bullseye
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-11-06 15:55:58 -08:00
3 changed files with 35 additions and 4 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
FROM debian:bookworm-slim
FROM debian:bullseye-slim
RUN apt-get update && \
apt-get install ca-certificates extrepo -y && \

31
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,31 @@
pipeline {
agent none
environment {
CHAT = "devel@conference.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/thrrgilag', 'thrrgilag-forgejo-pkg') {
def customImage = docker.build("git.dreamfall.space/thrrgilag/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}"
}
}
}
}
}