fix
This commit is contained in:
@@ -96,7 +96,7 @@ data "kustomization_overlay" "data" {
|
|||||||
patch = <<-EOF
|
patch = <<-EOF
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/params/1/default
|
path: /spec/params/1/default
|
||||||
value: https://okd.${var.domain_name}
|
value: https://gramo.${var.domain_name}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
patches {
|
patches {
|
||||||
@@ -107,7 +107,7 @@ data "kustomization_overlay" "data" {
|
|||||||
patch = <<-EOF
|
patch = <<-EOF
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/params/1/default
|
path: /spec/params/1/default
|
||||||
value: https://okd.${var.domain_name}
|
value: https://gramo.${var.domain_name}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ spec:
|
|||||||
default: docker.io
|
default: docker.io
|
||||||
description: The url of the current artifactory
|
description: The url of the current artifactory
|
||||||
type: string
|
type: string
|
||||||
- name: okd-url
|
- name: gramo-url
|
||||||
default: https://okd.media.rennes.home
|
default: https://gramo.media.rennes.home
|
||||||
type: string
|
type: string
|
||||||
- name: project-name
|
- name: project-name
|
||||||
description: The name of the current project
|
description: The name of the current project
|
||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/workflow/tekton/PipelineRun/$(context.pipelineRun.namespace)/view/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-push"
|
value: "auto-ci-push"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
@@ -62,7 +62,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/workflow/tekton/PipelineRun/$(context.pipelineRun.namespace)/view/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-push"
|
value: "auto-ci-push"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
@@ -78,7 +78,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/workflow/tekton/PipelineRun/$(context.pipelineRun.namespace)/view/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-push"
|
value: "auto-ci-push"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
@@ -94,7 +94,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/workflow/tekton/PipelineRun/$(context.pipelineRun.namespace)/view/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-push"
|
value: "auto-ci-push"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ spec:
|
|||||||
default: docker.io
|
default: docker.io
|
||||||
description: The url of the current artifactory
|
description: The url of the current artifactory
|
||||||
type: string
|
type: string
|
||||||
- name: okd-url
|
- name: gramo-url
|
||||||
default: https://okd.media.rennes.home
|
default: https://gramo.media.rennes.home
|
||||||
type: string
|
type: string
|
||||||
- name: project-name
|
- name: project-name
|
||||||
description: The name of the current project
|
description: The name of the current project
|
||||||
@@ -43,7 +43,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-tag"
|
value: "auto-ci-tag"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
@@ -59,7 +59,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-tag"
|
value: "auto-ci-tag"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
@@ -75,7 +75,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-tag"
|
value: "auto-ci-tag"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
@@ -91,7 +91,7 @@ spec:
|
|||||||
- name: SHA
|
- name: SHA
|
||||||
value: $(params.git-revision)
|
value: $(params.git-revision)
|
||||||
- name: TARGET_URL
|
- name: TARGET_URL
|
||||||
value: "$(params.okd-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
value: "$(params.gramo-url)/k8s/ns/$(context.pipelineRun.namespace)/tekton.dev~v1~PipelineRun/$(context.pipelineRun.name)"
|
||||||
- name: DESCRIPTION
|
- name: DESCRIPTION
|
||||||
value: "auto-ci-tag"
|
value: "auto-ci-tag"
|
||||||
- name: STATE
|
- name: STATE
|
||||||
|
|||||||
Reference in New Issue
Block a user