add full uri any git repos
All checks were successful
docker-build / Build image (push) Successful in 43s

This commit is contained in:
2025-12-07 20:35:56 +07:00
parent 075bf26346
commit 16639c6cd5
9 changed files with 25 additions and 13 deletions

View File

@@ -55,7 +55,10 @@ spec:
description: image is the container image to use for execution
type: string
repositoryURL:
description: repositoryURL is the GitLab repository to clone
description: |-
repositoryURL is the GitLab repository URL (full URL or relative path like "group/project")
Full URL: https://gitlab.example.com/group/project.git
Relative path: group/project (requires GITLAB_URL in secret)
type: string
schedule:
description: schedule in Cron format for recurring execution. If empty,

View File

@@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newName: git.realmanual.ru/pub/gitlab-job-runner
newTag: latest

View File

@@ -8,7 +8,7 @@ metadata:
name: gitlabjobrunner-sample-job
spec:
gitlabSecretRef: gitlab-credentials
repositoryURL: mygroup/myrepo
repositoryURL: https://gitlab.example.com/mygroup/myrepo.git
branch: main
scriptPath: scripts/cleanup.sh
image: bitnami/git:latest
@@ -25,7 +25,7 @@ metadata:
spec:
schedule: "0 2 * * *"
gitlabSecretRef: gitlab-credentials
repositoryURL: mygroup/myrepo
repositoryURL: https://gitlab.example.com/mygroup/myrepo.git
branch: main
scriptPath: scripts/backup.sh
image: bitnami/git:latest