Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
riprasad committed Oct 24, 2024
1 parent b0a1c6e commit 4f8babb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .tekton/ta-lmes-job-216-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ metadata:
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
# build.appstudio.openshift.io/build-nudge-files: "config/base/params.env"
build.appstudio.openshift.io/build-nudge-files: "config/overlays/rhoai/params.env"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push"
&& target_branch == "rhoai-2.16"
&& ( !".tekton/**".pathChanged() || ".tekton/ta-lmes-job-216-push.yaml".pathChanged() )
# && !"config/base/params.env".pathChanged()
# comment to force new build
&& ( !".tekton/**".pathChanged() || ".tekton/ta-lmes-job-216-push.yaml".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: ta-lmes-job
Expand All @@ -31,6 +29,14 @@ spec:
- name: dockerfile
value: Dockerfile.lmes-job
taskRunSpecs:
- pipelineTaskName: build-container
computeResources:
requests:
cpu: '8'
memory: 16Gi
limits:
cpu: '16'
memory: 32Gi
- pipelineTaskName: ecosystem-cert-preflight-checks
computeResources:
requests:
Expand Down Expand Up @@ -426,7 +432,7 @@ spec:
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: ADDITIONAL_TAGS
value:
- '{{target_branch}}-ta-lmes-job-{{revision}}'
- '{{target_branch}}-{{revision}}'
runAfter:
- build-image-index
taskRef:
Expand Down

0 comments on commit 4f8babb

Please sign in to comment.