From d064c356b824ee683c26c22b4698246bcacb60e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Gonz=C3=A1lez?= Date: Tue, 10 Sep 2024 11:58:11 +0200 Subject: [PATCH 1/2] chore: enable prefetch dependencies in Konflux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ernesto González --- .tekton/forklift-console-plugin-pull-request.yaml | 2 ++ .tekton/forklift-console-plugin-push.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.tekton/forklift-console-plugin-pull-request.yaml b/.tekton/forklift-console-plugin-pull-request.yaml index 75d60f0cd..1a650757c 100644 --- a/.tekton/forklift-console-plugin-pull-request.yaml +++ b/.tekton/forklift-console-plugin-pull-request.yaml @@ -18,6 +18,8 @@ metadata: namespace: rh-mtv-1-tenant spec: params: + - name: prefetch-input + value: '{"type": "npm", "path": "."}' - name: git-url value: '{{source_url}}' - name: revision diff --git a/.tekton/forklift-console-plugin-push.yaml b/.tekton/forklift-console-plugin-push.yaml index 753b8c4a0..fd6b4cbf2 100644 --- a/.tekton/forklift-console-plugin-push.yaml +++ b/.tekton/forklift-console-plugin-push.yaml @@ -17,6 +17,8 @@ metadata: namespace: rh-mtv-1-tenant spec: params: + - name: prefetch-input + value: '{"type": "npm", "path": "."}' - name: git-url value: '{{source_url}}' - name: revision From bbcf5234bf7761e2255b88013455d3e4532f8fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Gonz=C3=A1lez?= Date: Fri, 13 Sep 2024 11:36:14 +0200 Subject: [PATCH 2/2] fix EC issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ernesto González --- .tekton/forklift-console-plugin-pull-request.yaml | 2 ++ .tekton/forklift-console-plugin-push.yaml | 2 ++ build/Containerfile | 13 +++++++++++++ 3 files changed, 17 insertions(+) diff --git a/.tekton/forklift-console-plugin-pull-request.yaml b/.tekton/forklift-console-plugin-pull-request.yaml index 1a650757c..19d74cbc0 100644 --- a/.tekton/forklift-console-plugin-pull-request.yaml +++ b/.tekton/forklift-console-plugin-pull-request.yaml @@ -18,6 +18,8 @@ metadata: namespace: rh-mtv-1-tenant spec: params: + - name: build-source-image + value: "true" - name: prefetch-input value: '{"type": "npm", "path": "."}' - name: git-url diff --git a/.tekton/forklift-console-plugin-push.yaml b/.tekton/forklift-console-plugin-push.yaml index fd6b4cbf2..51a710e06 100644 --- a/.tekton/forklift-console-plugin-push.yaml +++ b/.tekton/forklift-console-plugin-push.yaml @@ -17,6 +17,8 @@ metadata: namespace: rh-mtv-1-tenant spec: params: + - name: build-source-image + value: "true" - name: prefetch-input value: '{"type": "npm", "path": "."}' - name: git-url diff --git a/build/Containerfile b/build/Containerfile index 21ea15208..3714990ff 100644 --- a/build/Containerfile +++ b/build/Containerfile @@ -35,3 +35,16 @@ COPY --from=build /opt/app-root/src/app/packages/forklift-console-plugin/dist /o # Run the server CMD nginx -g "daemon off;" + + +LABEL \ + com.redhat.component="forklift-console-plugin-container" \ + name="forklift/forklift-console-plugin" \ + license="Apache License 2.0" \ + io.k8s.display-name="Forklift" \ + io.k8s.description="Forklift - User Console Plugin Interface" \ + io.openshift.tags="migration,mtv,forklift" \ + name="Forklift" \ + summary="Forklift - User Console Plugin Interface" \ + description="Forklift - User Console Plugin Interface" \ + maintainer="Migration Toolkit for Virtualization Team "