Skip to content

Commit

Permalink
Merge pull request #268 from openshift-pipelines/actions/update/konfl…
Browse files Browse the repository at this point in the history
…ux-configuration-release-v1.18.x

[bot:release-v1.18.x] update konflux configuration
  • Loading branch information
savitaashture authored Feb 13, 2025
2 parents f945428 + 9fcad82 commit 9bbaf5a
Show file tree
Hide file tree
Showing 13 changed files with 211 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
name: console-plugin-main
name: console-plugin-1-18
spec:
displayName: console-plugin main
displayName: console-plugin 1.18
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ kind: Component
metadata:
annotations:
build.appstudio.openshift.io/pipeline: '{"name":"docker-build-multi-platform-oci-ta","bundle":"latest"}'
name: console-plugin-main-console-plugin
name: console-plugin-1-18-console-plugin
spec:
componentName: console-plugin
application: console-plugin-main
application: console-plugin-1-18
build-nudges-ref:
- operator-main-bundle
- operator-1-18-bundle
source:
git:
url: https://github.com/openshift-pipelines/console-plugin
dockerfileUrl: .konflux/dockerfiles/console-plugin.Dockerfile
revision: main
revision: release-v1.18.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: ImageRepository
metadata:
name: console-plugin-main-console-plugin
name: console-plugin-1-18-console-plugin
annotations:
image-controller.appstudio.redhat.com/update-component-image: "true"
labels:
appstudio.redhat.com/component: console-plugin-main-console-plugin
appstudio.redhat.com/application: console-plugin-main
appstudio.redhat.com/component: console-plugin-1-18-console-plugin
appstudio.redhat.com/application: console-plugin-1-18
spec:
image:
name: console-plugin-main/console-plugin
name: console-plugin-1-18/console-plugin
visibility: public
8 changes: 4 additions & 4 deletions .konflux/main/tests.yaml → .konflux/1.18/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: console-plugin-main-enterprise-contract
name: console-plugin-1-18-enterprise-contract
spec:
application: console-plugin-main
application: console-plugin-1-18
contexts:
- description: Application testing for console-plugin-main-console-plugin
name: component_console-plugin-main-console-plugin
- 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
Expand Down
8 changes: 8 additions & 0 deletions .konflux/next/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-next
spec:
displayName: console-plugin next
18 changes: 18 additions & 0 deletions .konflux/next/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-next-console-plugin
spec:
componentName: console-plugin
application: console-plugin-next
build-nudges-ref:
- operator-next-bundle
source:
git:
url: https://github.com/openshift-pipelines/console-plugin
dockerfileUrl: .konflux/dockerfiles/console-plugin.Dockerfile
revision: release-v1.18.x
15 changes: 15 additions & 0 deletions .konflux/next/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-next-console-plugin
annotations:
image-controller.appstudio.redhat.com/update-component-image: "true"
labels:
appstudio.redhat.com/component: console-plugin-next-console-plugin
appstudio.redhat.com/application: console-plugin-next
spec:
image:
name: console-plugin-next/console-plugin
visibility: public
25 changes: 25 additions & 0 deletions .konflux/next/release-plan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
labels:
release.appstudio.openshift.io/auto-release: 'true'
release.appstudio.openshift.io/standing-attribution: 'true'
name: console-plugin-next-rp
spec:
application: console-plugin-next
tenantPipeline:
serviceAccountName: release-registry-openshift-pipelines-next
pipelineRef:
resolver: git
params:
- name: url
value: https://github.com/openshift-pipelines/hack.git
- name: revision
value: main
- name: pathInRepo
value: tenantpipelines/pipeline.yaml
params:
- name: released_version
value: 5.0.5
27 changes: 27 additions & 0 deletions .konflux/next/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-next-enterprise-contract
spec:
application: console-plugin-next
contexts:
- description: Application testing for console-plugin-next-console-plugin
name: component_console-plugin-next-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
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ metadata:
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" &&
== "release-v1.18.x" &&
("***".pathChanged() ||
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
".tekton/console-plugin-main-console-plugin-pull-request.yaml".pathChanged())
".tekton/console-plugin-1-18-console-plugin-pull-request.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: console-plugin-main
appstudio.openshift.io/component: console-plugin-main-console-plugin
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-main-console-plugin-on-pull-request
name: console-plugin-1-18-console-plugin-on-pull-request
namespace: tekton-ecosystem-tenant
spec:
params:
Expand All @@ -29,7 +29,7 @@ spec:
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/console-plugin-main/console-plugin:on-pr-{{revision}}
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ metadata:
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" &&
== "release-v1.18.x" &&
("***".pathChanged() ||
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
".tekton/console-plugin-main-console-plugin-push.yaml".pathChanged())
".tekton/console-plugin-1-18-console-plugin-push.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: console-plugin-main
appstudio.openshift.io/component: console-plugin-main-console-plugin
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-main-console-plugin-on-push
name: console-plugin-1-18-console-plugin-on-push
namespace: tekton-ecosystem-tenant
spec:
params:
Expand All @@ -28,13 +28,9 @@ spec:
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/console-plugin-main/console-plugin:{{revision}}
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"}
Expand Down
49 changes: 49 additions & 0 deletions .tekton/console-plugin-next-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
== "release-v1.18.x" &&
("***".pathChanged() ||
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
".tekton/console-plugin-next-console-plugin-pull-request.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: console-plugin-next
appstudio.openshift.io/component: console-plugin-next-console-plugin
pipelines.appstudio.openshift.io/type: build
name: console-plugin-next-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-next/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: {}
43 changes: 43 additions & 0 deletions .tekton/console-plugin-next-console-plugin-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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
== "release-v1.18.x" &&
("***".pathChanged() ||
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
".tekton/console-plugin-next-console-plugin-push.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: console-plugin-next
appstudio.openshift.io/component: console-plugin-next-console-plugin
pipelines.appstudio.openshift.io/type: build
name: console-plugin-next-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-next/console-plugin:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/console-plugin.Dockerfile
- 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 9bbaf5a

Please sign in to comment.