ci: add Jenkins CI/CD configuration for freeleaps-data-backup job
This commit is contained in:
parent
7d59e92bc9
commit
d0ebd8d05e
35
jobs/freeleaps-data-backup/ci/Jenkinsfile
vendored
Normal file
35
jobs/freeleaps-data-backup/ci/Jenkinsfile
vendored
Normal 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
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user