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

Allow keeping namespaces after running tests for investigation #431

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

chmouel
Copy link
Member

@chmouel chmouel commented Feb 10, 2020

When we have a failure, the tearDown function would delete the 'arrakis'
namespace with no way to investigate.

Add an environment variable TEST_KEEP_NAMESPACES to disable the namespace
deletion. This could be useful for successful run too, for further investigation
if needed.

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 10, 2020
Copy link
Member

@dibyom dibyom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
Mind adding a bit in test/README so its easy to discover this option?

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dibyom

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 10, 2020
When we have a failure, the tearDown function would delete the 'arrakis'
namespace with no way to investigate.

Add an environment variable TEST_KEEP_NAMESPACES to disable the namespace
deletion. This could be useful for successful run too, for further investigation
if needed.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 10, 2020
@khrm
Copy link
Contributor

khrm commented Feb 11, 2020

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2020
@tekton-robot tekton-robot merged commit cf705f7 into tektoncd:master Feb 11, 2020
@chmouel chmouel deleted the test-keep-assets branch February 11, 2020 07:24
savitaashture pushed a commit to savitaashture/triggers that referenced this pull request Apr 9, 2021
Add release notes for triggers from 0.11.0 to 0.12.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants