Merge pull request 'ci: add Jenkins CI/CD configuration for freeleaps-data-backup job' (#55) from Nicolas_local_ops into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/55
This commit is contained in:
Nicolas 2025-08-05 10:19:11 +00:00
commit 1336dc1d3a

View File

@ -0,0 +1,35 @@
library 'first-class-pipeline'
executeFreeleapsPipeline {
serviceName = 'freeleaps-data-backup'
environmentSlug = 'prod'
serviceGitBranch = 'main'
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops.git"
serviceGitRepoType = 'monorepo'
serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails'
executeMode = 'fully'
commitMessageLintEnabled = false
components = [
[
name: 'freeleaps-data-backup',
root: 'jobs/freeleaps-data-backup',
language: 'python',
dependenciesManager: 'pip',
requirementsFile: 'requirements.txt',
buildCacheEnabled: true,
buildAgentImage: 'python:3.11-slim',
buildArtifacts: ['.'],
lintEnabled: false,
sastEnabled: false,
imageRegistry: 'freeleaps-registry.azurecr.io',
imageRepository: '',
imageName: 'freeleaps-pvc-backup',
imageBuilder: 'dind',
dockerfilePath: 'Dockerfile',
imageBuildRoot: '.',
imageReleaseArchitectures: ['linux/amd64'],
registryCredentialsId: 'freeleaps-azure-registry-credentials',
semanticReleaseEnabled: false
]
]
}