Skip to content

Commit

Permalink
Merge pull request #235 from openshift-pipelines/actions/update/konfl…
Browse files Browse the repository at this point in the history
…ux-configuration-main

[bot:main] update konflux configuration
  • Loading branch information
savitaashture authored Feb 3, 2025
2 parents f456a5f + 0cc5984 commit 20de3c6
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .konflux/1.18/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
name: console-plugin-1-18
spec:
displayName: console-plugin 1.18
18 changes: 18 additions & 0 deletions .konflux/1.18/component-console-plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
annotations:
build.appstudio.openshift.io/pipeline: '{"name":"docker-build-multi-platform-oci-ta","bundle":"latest"}'
name: console-plugin-1-18-console-plugin
spec:
componentName: console-plugin
application: console-plugin-1-18
build-nudges-ref:
- operator-1-18-bundle
source:
git:
url: https://github.com/openshift-pipelines/console-plugin
dockerfileUrl: .konflux/dockerfiles/console-plugin.Dockerfile
revision: main
15 changes: 15 additions & 0 deletions .konflux/1.18/image-console-plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: ImageRepository
metadata:
name: console-plugin-1-18-console-plugin
annotations:
image-controller.appstudio.redhat.com/update-component-image: "true"
labels:
appstudio.redhat.com/component: console-plugin-1-18-console-plugin
appstudio.redhat.com/application: console-plugin-1-18
spec:
image:
name: console-plugin-1-18/console-plugin
visibility: public
27 changes: 27 additions & 0 deletions .konflux/1.18/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
---
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: console-plugin-1-18-enterprise-contract
spec:
application: console-plugin-1-18
contexts:
- description: Application testing for console-plugin-1-18-console-plugin
name: component_console-plugin-1-18-console-plugin
params:
- name: POLICY_CONFIGURATION
value: tekton-ecosystem-tenant/tekton-ecosystem-tenant-containers
- name: TIMEOUT
value: "15m0s"
- name: SINGLE_COMPONENT
value: "true"
resolverRef:
params:
- name: url
value: "https://github.com/konflux-ci/build-definitions"
- name: revision
value: main
- name: pathInRepo
value: pipelines/enterprise-contract.yaml
resolver: git
49 changes: 49 additions & 0 deletions .tekton/console-plugin-1-18-console-plugin-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml"
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/console-plugin?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
".tekton/console-plugin-1-18-console-plugin-pull-request.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: console-plugin-1.18
appstudio.openshift.io/component: console-plugin-1-18-console-plugin
pipelines.appstudio.openshift.io/type: build
name: console-plugin-1-18-console-plugin-on-pull-request
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/console-plugin-1-18/console-plugin:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: .konflux/dockerfiles/console-plugin.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
47 changes: 47 additions & 0 deletions .tekton/console-plugin-1-18-console-plugin-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml"
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/console-plugin?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
".tekton/console-plugin-1-18-console-plugin-push.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: console-plugin-1.18
appstudio.openshift.io/component: console-plugin-1-18-console-plugin
pipelines.appstudio.openshift.io/type: build
name: console-plugin-1-18-console-plugin-on-push
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/console-plugin-1-18/console-plugin:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/console-plugin.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux-m2xlarge/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}

0 comments on commit 20de3c6

Please sign in to comment.