-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Remote triggering a pipeline (#158)
* WIP for trigger. * Started working on remote triggering a pipeline. * Need to find a better way to inject a handler.. but maybe this is okay. * Put the user generation into the right place. * Auto user authentication. * Updated auth. * Update server.go * Remote triggering works now. * Do not use a pointer. * This now works with parameters. * Okay this works now. * Added endpoints to reset the token... no front-end work yet. * Updated echo. * Displaying the tokens for users and pipelines. * Fixed failing tests. * Working user token re-generation. * Extra warding.. * Only allow token reset for auto user. * Only allow token reset for auto user. * No need to autogenerate the password. No real login will be performed with auto * Disallow deleting the auto user. * First test. * First pipeline test. * Resetting mock. * Moar coverage. * Added test for pipeline token reset. * Moar coverage. * Addressed comments. * Moved trigger token generation to the right place. * Using a random namespace. * Extracted the secret uuid generation into a separate package. * Added test coverage.
- Loading branch information
Showing
17 changed files
with
692 additions
and
21 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
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
Oops, something went wrong.