feat: update Jenkinsfile
This commit is contained in:
parent
223f78c3a4
commit
12a54572ae
@ -8,9 +8,30 @@ executeFreeleapsPipeline {
|
|||||||
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-service-hub.git"
|
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-service-hub.git"
|
||||||
serviceGitRepoType = 'monorepo'
|
serviceGitRepoType = 'monorepo'
|
||||||
serviceGitCredentialsId = 'freeleaps-ops-git-credentials'
|
serviceGitCredentialsId = 'freeleaps-ops-git-credentials'
|
||||||
executeMode = 'fully'
|
executeMode = 'on-demand'
|
||||||
commitMessageLintEnabled = false
|
commitMessageLintEnabled = false
|
||||||
components = [
|
components = [
|
||||||
|
[
|
||||||
|
name: 'metrics',
|
||||||
|
root: 'apps/metrcis',
|
||||||
|
language: 'python',
|
||||||
|
dependenciesManager: 'pip',
|
||||||
|
requirementsFile: 'requirements.txt',
|
||||||
|
buildCacheEnabled: true,
|
||||||
|
buildAgentImage: 'python:3.12-slim',
|
||||||
|
buildArtifacts: ['.'],
|
||||||
|
lintEnabled: false,
|
||||||
|
sastEnabled: false,
|
||||||
|
imageRegistry: 'docker.io',
|
||||||
|
imageRepository: 'freeleaps',
|
||||||
|
imageName: 'devops',
|
||||||
|
imageBuilder: 'dind',
|
||||||
|
dockerfilePath: 'Dockerfile',
|
||||||
|
imageBuildRoot: '.',
|
||||||
|
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
|
||||||
|
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
|
||||||
|
semanticReleaseEnabled: true
|
||||||
|
],
|
||||||
[
|
[
|
||||||
name: 'authentication',
|
name: 'authentication',
|
||||||
root: 'apps/authentication',
|
root: 'apps/authentication',
|
||||||
@ -136,27 +157,6 @@ executeFreeleapsPipeline {
|
|||||||
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
|
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
|
||||||
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
|
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
|
||||||
semanticReleaseEnabled: true
|
semanticReleaseEnabled: true
|
||||||
],
|
|
||||||
[
|
|
||||||
name: 'metrics',
|
|
||||||
root: 'apps/metrcis',
|
|
||||||
language: 'python',
|
|
||||||
dependenciesManager: 'pip',
|
|
||||||
requirementsFile: 'requirements.txt',
|
|
||||||
buildCacheEnabled: true,
|
|
||||||
buildAgentImage: 'python:3.12-slim',
|
|
||||||
buildArtifacts: ['.'],
|
|
||||||
lintEnabled: false,
|
|
||||||
sastEnabled: false,
|
|
||||||
imageRegistry: 'docker.io',
|
|
||||||
imageRepository: 'freeleaps',
|
|
||||||
imageName: 'devops',
|
|
||||||
imageBuilder: 'dind',
|
|
||||||
dockerfilePath: 'Dockerfile',
|
|
||||||
imageBuildRoot: '.',
|
|
||||||
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
|
|
||||||
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
|
|
||||||
semanticReleaseEnabled: true
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user