Skip to content

Commit b91d064

Browse files
committed
do not merge test
Signed-off-by: gbenhaim <[email protected]>
1 parent befc65d commit b91d064

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.tekton/migration-dashboard-pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ metadata:
1919
spec:
2020
params:
2121
- name: dockerfile
22-
value: Dockerfile
22+
value: dashboard/Dockerfile
2323
- name: git-url
2424
value: '{{repo_url}}'
2525
- name: image-expires-after
2626
value: 5d
2727
- name: output-image
2828
value: quay.io/redhat-user-workloads/rhtap-migration-tenant/migration-dashboard/migration-dashboard:on-pr-{{revision}}
2929
- name: path-context
30-
value: dashboard
30+
value: .
3131
- name: revision
3232
value: '{{revision}}'
3333
pipelineSpec:

dashboard/.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dfsfdf

dashboard/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.18.10-4 as builder
33
COPY ./ ./
44
# cache deps before building and copying source so that we don't need to re-download as much
55
# and so that source changes don't invalidate our downloaded layer
6+
USER 0
7+
RUN echo $PWD && ls -l -a && yum install -y git
8+
RUN git config --global --add safe.directory $PWD && git log --graph --oneline --all --decorate && git fetch && git log --graph --oneline --all
69
RUN go mod download
710
RUN go build -o bin/generator .
811

12+
13+
914
FROM registry.access.redhat.com/ubi9-minimal:9.2-484
1015

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

0 commit comments

Comments
 (0)