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

Create a Task that can create a Tekton Pipelines cluster to test against #171

Closed
bobcatfish opened this issue Feb 21, 2019 · 7 comments
Closed
Labels
area/test-infra Issues or PRs related to the testing infrastructure lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@bobcatfish
Copy link
Contributor

Expected Behavior

We should be testing and releasing Pipelines with Pipelines.

We should have a Task (and related Resources) defined that we can use to:

  • Create a cluster to test against (currently done using boskos and triggered by e2e-tests.sh)
  • Deploy Pipelines to the cluster

The Task

  • Inputs:
    • git repo
    • cluster (to deploy Pipelines to and run end to end tests) (or is this an output?)
  • Outputs:
    • cluster

Actual Behavior

We currently use prow and e2e-tests.sh, which also uses boskos to control clusters to test against.

Additional Info

  • If possible let's try to keep using the boskos cluster we were already using
  • Actually triggering this is not in scope for this issue, it's fine to test manually (we'll be linking these together in a later issue)
@afrittoli
Copy link
Member

I would like to help, but I'll have to learn a bit more about prow to boskos and prow to tekton interaction first 😇.

AFAIK Boskos does more than creating the test cluster. It does the cleanup as well, as well as garbage collection of orphaned resources.

I wonder if we really need to re-implement Boskos in Tekton, or if we could start using a ClusterResource as an input to the test Pipeline.

@bobcatfish bobcatfish transferred this issue from tektoncd/pipeline Dec 20, 2019
@vdemeester
Copy link
Member

/kind enhancement
/area test-infra

@tekton-robot tekton-robot added the area/test-infra Issues or PRs related to the testing infrastructure label Dec 20, 2019
@afrittoli
Copy link
Member

I wonder if we could do this in go (instead of Task) and wrap it in an interceptor, so that the body of the trigger request is enriched with the data to setup the cluster resource in the trigger template. Just an idea

@tekton-robot
Copy link
Contributor

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Send feedback to tektoncd/plumbing.

@tekton-robot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.

/lifecycle stale

Send feedback to tektoncd/plumbing.

@tekton-robot
Copy link
Contributor

@tekton-robot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Send feedback to tektoncd/plumbing.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot tekton-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 13, 2020
@bobcatfish
Copy link
Contributor Author

We do have some of this work in progress for our catalog testing:

More details in tektoncd/catalog#373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test-infra Issues or PRs related to the testing infrastructure lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants