freeleaps-ops/freeleaps-devops-reconciler/alpha/ci/Jenkinsfile
Nicolas 233d88467b feat: add devops and reconciler services to CI/CD pipeline
- Create freeleaps-service-hub directory structure with alpha, prod, helm-pkg
- Create freeleaps-devops-reconciler directory structure with alpha, prod, helm-pkg
- Add .gitkeep files in prod directories
- Add Jenkinsfile for devops service in freeleaps-service-hub/alpha/ci/
- Add Jenkinsfile for reconciler service in freeleaps-devops-reconciler/alpha/ci/
- Remove old CI/CD configurations that were reverted to original state
2025-07-21 09:41:27 +08:00

35 lines
1.1 KiB
Groovy

library 'first-class-pipeline'
executeFreeleapsPipeline {
serviceName = 'freeleaps'
environmentSlug = 'alpha'
serviceGitBranch = 'dev'
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-devops-reconciler.git"
serviceGitRepoType = 'monorepo'
serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails'
executeMode = 'fully'
commitMessageLintEnabled = false
components = [
[
name: 'reconciler',
root: '.',
language: 'python',
dependenciesManager: 'pip',
requirementsFile: 'requirements.txt',
buildCacheEnabled: true,
buildAgentImage: 'python:3.12-slim',
buildArtifacts: ['.'],
lintEnabled: true,
sastEnabled: true,
imageRegistry: 'docker.io',
imageRepository: 'freeleaps',
imageName: 'reconciler',
imageBuilder: 'dind',
dockerfilePath: 'Dockerfile',
imageBuildRoot: '.',
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
semanticReleaseEnabled: true
]
]
}