This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
forked from redhat-developer/odo
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drive generation of the YAML for setting up the cluster (#11)
* added two flags github-token and quay-io-auth-json * made changes in the flag description quayIOAuthFileName * added logic to get the github token filename and auth.json file name * made the requested changes mentioned in the PR * made the requested changes mentioned in the PR and removed the unwanted comments * created 4 required-flags quay-username, github-token, dockerconfigjson,base-repository * Update test cases for creating opaque secret * made the required changes mentioned in the PR * added two flags github-token and quay-io-auth-json * Add functions to generate Tekton task objects - 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> * made changes in the flag description quayIOAuthFileName * added logic to get the github token filename and auth.json file name made the requested changes mentioned in the PR made the requested changes mentioned in the PR and removed the unwanted comments created 4 required-flags quay-username, github-token, dockerconfigjson,base-repository Update test cases for creating opaque secret made the required changes mentioned in the PR * Replace objects in task_tests with suitable assertive functions - Removed stuttering function names in tasks,routes and eventlisteners package. - Objects in task_tests are replaced by functions to improve readability. * Add secret name as parameter to Generate function * pass ServiceAccount as object to createRoleBinding * pass ServiceAccount as object to createRoleBinding * Rework the new code around the base branch. Explicitly marshal the yaml to os.Stdout for now. Co-Authored-By: ishitasequeira <isequeir@redhat.com> * made the required changes mentioned in the PR * removed the functions which were not required from bootstrap.go * removed the unwanted test case from bootstrap.go * Added the test file < odo/pkg/pipelines/bootstrap_test.go> * Test case corrected and moved to < /pkg/odo/cli/pipelines/bootstrap_test.go> * made all the changes asked in PR * pass a signel struct to Bootstrap() Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Co-authored-by: Chetan Banavikalmutt <chetanrns1997@gmail.com> Co-authored-by: gaganeggday <48808456+gaganeggday@users.noreply.github.com> Co-authored-by: Kevin McDermott <bigkevmcd@gmail.com>
- Loading branch information
1 parent
7a264a0
commit 84163e7
Showing
5 changed files
with
124 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters