add full uri any git repos
All checks were successful
docker-build / Build image (push) Successful in 43s
All checks were successful
docker-build / Build image (push) Successful in 43s
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user