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

add-unit-testing-to-rhtap #58

Merged
merged 1 commit into from
Sep 22, 2023
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
14 changes: 14 additions & 0 deletions .tekton/backfill-redis-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,20 @@ spec:
operator: in
values:
- "false"
- name: unit-test
runAfter:
- clone-repository
workspaces:
- name: output
workspace: workspace
taskSpec:
steps:
- name: run-unit-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:52ab391730a63945f61d93e8c913db4cc7a96f200de909cd525e2632055d9fa6
script: |
#!/bin/bash
cd / && cd workspace/output
GOFLAGS="" make test
workspaces:
- name: workspace
- name: git-auth
Expand Down
14 changes: 14 additions & 0 deletions .tekton/backfill-redis-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,20 @@ spec:
operator: in
values:
- "false"
- name: unit-test
runAfter:
- clone-repository
workspaces:
- name: output
workspace: workspace
taskSpec:
steps:
- name: run-unit-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:52ab391730a63945f61d93e8c913db4cc7a96f200de909cd525e2632055d9fa6
script: |
#!/bin/bash
cd / && cd workspace/output
GOFLAGS="" make test
workspaces:
- name: workspace
- name: git-auth
Expand Down
14 changes: 14 additions & 0 deletions .tekton/rekor-cli-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,20 @@ spec:
operator: in
values:
- "false"
- name: unit-test
runAfter:
- clone-repository
workspaces:
- name: output
workspace: workspace
taskSpec:
steps:
- name: run-unit-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:52ab391730a63945f61d93e8c913db4cc7a96f200de909cd525e2632055d9fa6
script: |
#!/bin/bash
cd / && cd workspace/output
GOFLAGS="" make test
workspaces:
- name: workspace
- name: git-auth
Expand Down
14 changes: 14 additions & 0 deletions .tekton/rekor-cli-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,20 @@ spec:
operator: in
values:
- "false"
- name: unit-test
runAfter:
- clone-repository
workspaces:
- name: output
workspace: workspace
taskSpec:
steps:
- name: run-unit-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:52ab391730a63945f61d93e8c913db4cc7a96f200de909cd525e2632055d9fa6
script: |
#!/bin/bash
cd / && cd workspace/output
GOFLAGS="" make test
workspaces:
- name: workspace
- name: git-auth
Expand Down
14 changes: 14 additions & 0 deletions .tekton/rekor-server-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,20 @@ spec:
operator: in
values:
- "false"
- name: unit-test
runAfter:
- clone-repository
workspaces:
- name: output
workspace: workspace
taskSpec:
steps:
- name: run-unit-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:52ab391730a63945f61d93e8c913db4cc7a96f200de909cd525e2632055d9fa6
script: |
#!/bin/bash
cd / && cd workspace/output
GOFLAGS="" make test
workspaces:
- name: workspace
- name: git-auth
Expand Down
14 changes: 14 additions & 0 deletions .tekton/rekor-server-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,20 @@ spec:
operator: in
values:
- "false"
- name: unit-test
runAfter:
- clone-repository
workspaces:
- name: output
workspace: workspace
taskSpec:
steps:
- name: run-unit-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:52ab391730a63945f61d93e8c913db4cc7a96f200de909cd525e2632055d9fa6
script: |
#!/bin/bash
cd / && cd workspace/output
GOFLAGS="" make test
workspaces:
- name: workspace
- name: git-auth
Expand Down