Merge pull request 'icecheng/feature' (#97) from icecheng/feature into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/97
This commit is contained in:
icecheng 2025-09-18 09:24:21 +00:00
commit dcdbadc6b8
2 changed files with 24 additions and 24 deletions

View File

@ -4,13 +4,34 @@ executeFreeleapsPipeline {
serviceName = 'freeleaps' serviceName = 'freeleaps'
environmentSlug = 'alpha' environmentSlug = 'alpha'
// Ensure this branch exists in the freeleaps-service-hub repository // Ensure this branch exists in the freeleaps-service-hub repository
serviceGitBranch = 'freeleaps/icecheng/metrics' serviceGitBranch = 'dev'
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 = 'on-demand' executeMode = 'fully'
commitMessageLintEnabled = false commitMessageLintEnabled = false
components = [ components = [
[
name: 'metrics',
root: 'apps/metrics',
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: 'metrics',
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
] ]
] ]
} }

View File

@ -10,7 +10,7 @@ devops:
registry: docker.io registry: docker.io
repository: null repository: null
name: devops name: devops
tag: snapshot-046f9ff tag: snapshot-38ff0ae
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http