Skip to content

Commit

Permalink
Add aditional-tags label for tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
rnc committed Oct 30, 2024
1 parent 2c8729e commit 4096a7f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .tekton/build-request-processor-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
appstudio.openshift.io/application: jvm-build-service
appstudio.openshift.io/component: build-request-processor
pipelines.appstudio.openshift.io/type: build
konflux.additional-tags: "latest"
name: build-request-processor-on-push
namespace: konflux-jbs-pnc-tenant
spec:
Expand Down
1 change: 1 addition & 0 deletions .tekton/cache-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
appstudio.openshift.io/application: jvm-build-service
appstudio.openshift.io/component: cache
pipelines.appstudio.openshift.io/type: build
konflux.additional-tags: "latest"
name: cache-on-push
namespace: konflux-jbs-pnc-tenant
spec:
Expand Down
1 change: 1 addition & 0 deletions .tekton/cli-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
appstudio.openshift.io/application: jvm-build-service
appstudio.openshift.io/component: cli
pipelines.appstudio.openshift.io/type: build
konflux.additional-tags: "latest"
name: cli-on-push
namespace: konflux-jbs-pnc-tenant
spec:
Expand Down
1 change: 1 addition & 0 deletions .tekton/controller-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
appstudio.openshift.io/application: jvm-build-service
appstudio.openshift.io/component: controller
pipelines.appstudio.openshift.io/type: build
konflux.additional-tags: "latest"
name: controller-on-push
namespace: konflux-jbs-pnc-tenant
spec:
Expand Down
1 change: 1 addition & 0 deletions .tekton/domain-proxy-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
appstudio.openshift.io/application: jvm-build-service
appstudio.openshift.io/component: domain-proxy
pipelines.appstudio.openshift.io/type: build
konflux.additional-tags: "latest"
name: domain-proxy-on-push
namespace: konflux-jbs-pnc-tenant
spec:
Expand Down
2 changes: 1 addition & 1 deletion deploy/tasks/maven-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
description: Name of the processor image. Useful to override for development.
type: string
default: "quay.io/redhat-appstudio/hacbs-jvm-build-request-processor:dev"
default: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/jvm-build-service/build-request-processor:latest"
workspaces:
- name: source
mountPath: /var/workdir
Expand Down
2 changes: 1 addition & 1 deletion deploy/tasks/pre-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
description: Name of the processor image. Useful to override for development.
type: string
default: "quay.io/redhat-appstudio/hacbs-jvm-build-request-processor:dev"
default: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/jvm-build-service/build-request-processor:latest"
results:
- name: PRE_BUILD_IMAGE_DIGEST
description: Digest of the image just built
Expand Down
2 changes: 1 addition & 1 deletion docs/development.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ The OpenShift E2E test is programmed to run a test with following steps:
. Verify that the correct JDK version is identified in dependencybuilds
. Check that maven/gradle logs/sources are found in rebuilt artifacts

Before running the test, you need to export couple of env vars that reference container images for the operator, cache and reqprocessor. Some existing images can be found at link:https://quay.io/organization/redhat-appstudio[redhat-appstudio quay.io org] (search for keyword "jvm")
Before running the test, you need to export couple of env vars that reference container images for the operator, cache and build-request-processor.

Also you need to specify your quay.io username that will be used for pushing rebuilt dependencies in a format: `quay.io/$QUAY_USERNAME/test-images`. Make sure the repo "test-images" exists in your account and is publicly available.

Expand Down

0 comments on commit 4096a7f

Please sign in to comment.