Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable prefetch dependencies in Konflux #1323

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .tekton/forklift-console-plugin-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ metadata:
namespace: rh-mtv-1-tenant
spec:
params:
- name: build-source-image
value: "true"
- name: prefetch-input
value: '{"type": "npm", "path": "."}'
- name: git-url
value: '{{source_url}}'
- name: revision
Expand Down
4 changes: 4 additions & 0 deletions .tekton/forklift-console-plugin-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ metadata:
namespace: rh-mtv-1-tenant
spec:
params:
- name: build-source-image
value: "true"
- name: prefetch-input
value: '{"type": "npm", "path": "."}'
- name: git-url
value: '{{source_url}}'
- name: revision
Expand Down
13 changes: 13 additions & 0 deletions build/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <migtoolkit-virt@redhat.com>"