Skip to content
Open
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: 2 additions & 2 deletions .tekton/migration-dashboard-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ metadata:
spec:
params:
- name: dockerfile
value: Dockerfile
value: dashboard/Dockerfile
- name: git-url
value: '{{repo_url}}'
- name: image-expires-after
value: 5d
- name: output-image
value: quay.io/redhat-user-workloads/rhtap-migration-tenant/migration-dashboard/migration-dashboard:on-pr-{{revision}}
- name: path-context
value: dashboard
value: .
- name: revision
value: '{{revision}}'
pipelineSpec:
Expand Down
1 change: 1 addition & 0 deletions dashboard/.test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfsfdf
5 changes: 5 additions & 0 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.18.10-4 as builder
COPY ./ ./
# cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
USER 0
RUN echo $PWD && ls -l -a && yum install -y git
RUN git config --global --add safe.directory $PWD && git log --graph --oneline --all --decorate && git fetch && git log --graph --oneline --all
RUN go mod download
RUN go build -o bin/generator .



FROM registry.access.redhat.com/ubi9-minimal:9.2-484

COPY --from=builder /opt/app-root/src/bin/generator /
Expand Down