Skip to content

Commit

Permalink
fix: task param
Browse files Browse the repository at this point in the history
  • Loading branch information
batleforc committed Aug 24, 2024
1 parent 64394ca commit b420f8e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cicd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 9 additions & 1 deletion cicd/templates/push/pipelinePush.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spec:
value: monofolio-ci
- name: GITHUB_TOKEN_SECRET_NAME
value: $(params.githubSecretName)
- name: TARGET_URL
value: {{.Values.config.baseUrl}}/$(context.pipelineRun.name)
- name: fetch-source
runAfter: ["github-status-pending"]
taskRef:
Expand Down Expand Up @@ -142,6 +144,8 @@ spec:
value: $(params.githubSecretName)
- name: STATE
value: success
- name: TARGET_URL
value: {{.Values.config.baseUrl}}/$(context.pipelineRun.name)
- name: github-status-finally-failed
when:
- input: $(tasks.status)
Expand All @@ -163,6 +167,8 @@ spec:
value: $(params.githubSecretName)
- name: STATE
value: failure
- name: TARGET_URL
value: {{.Values.config.baseUrl}}/$(context.pipelineRun.name)
- name: github-status-finally-error
when:
- input: $(tasks.status)
Expand All @@ -183,4 +189,6 @@ spec:
- name: GITHUB_TOKEN_SECRET_NAME
value: $(params.githubSecretName)
- name: STATE
value: error
value: error
- name: TARGET_URL
value: {{.Values.config.baseUrl}}/$(context.pipelineRun.name)
1 change: 1 addition & 0 deletions cicd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ config:
ingressClass: "haproxy"
listenerDomain: "el-{{.Values.config.prefix}}-event-listener.dev.mono-folio.com"
name: "batleforc"
baseUrl: "https://{{.Values.config.domain}}/"

0 comments on commit b420f8e

Please sign in to comment.