Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Issue-38: Add functions to generate Tekton task objects #5

Merged
merged 3 commits into from
Feb 19, 2020

Conversation

chetan-rns
Copy link
Member

@chetan-rns chetan-rns commented Feb 17, 2020

What type of PR is this?
/kind feature

What does does this PR do / why we need it:

Added functions and test cases to create

  1. deploy-from-source-task
  2. deploy-using-kubectl-task
  3. github-status-task

Which issue(s) this PR fixes:

Fixes https://issues.redhat.com/projects/GITOPS/issues/GITOPS-38

- Added functions and test cases to create
1) deploy-from-source-task
2) deploy-using-kubectl-task
3) github-status-task

Co-Authored-By: Gagan Hegde <ghegde@redhat.com>
Copy link
Collaborator

@bigkevmcd bigkevmcd left a comment

Choose a reason for hiding this comment

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

Looks good, some minor changes (the stuttering should be fixed, the shortening of tests is discretionary).

Ooops, and the v1alpha1 vs v1alpha2, we agreed that we'd hold use of v1alpha2 until tektoncd/pipeline#2035 lands.

pkg/pipelines/bootstrap.go Outdated Show resolved Hide resolved
pkg/pipelines/tasks/tasks_test.go Outdated Show resolved Hide resolved
- Removed stuttering function names in tasks,routes and eventlisteners package.
- Objects in task_tests are replaced by functions to improve readability.
@wtam2018 wtam2018 merged commit ed0b881 into rhd-gitops-example:bootstrap Feb 19, 2020
jaideepr97 added a commit that referenced this pull request Aug 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants