-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add Tekton Bundle workflow #3
Conversation
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
For now this is very basic, and missing desirable features. |
* each dirname is the bundle/quay-repo name. * inside bundle dirs is where pipeline/task yaml's are stored * This pushes each bundle to quay.io, repos must be created ahead. * Quay robot/token setup on GitHub secrets config page. Signed-off-by: Jon Disnard <jdisnard@redhat.com>
Please take another look. |
Note to self: |
* set fetch depth=2 so we can diff previous commit * look at the diff to see changed files * only process bundle dirs that had changed files * drop `kubectl` download, it's not required * simplify the fake `.kube/conf` to bare minimum Signed-off-by: Jon Disnard <jdisnard@redhat.com>
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
With the most recent commit, I believe we have finally addressed all the acceptance criteria in https://issues.redhat.com/browse/HACBS-227 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better, although I haven't tested it. Trusting you here.
As I side note, and leaving the decision up to you, do you think that would be better to move the script ot a separate file ?
The project structure I'd propose (easy to change), would be something like:
.github
definitions
hello-world
task-echo.yaml
pipeline-release.yaml
foo
resources.yaml
scripts
.yamllint
LICENSE
README.md
I included stuff that I think this project should have as well.
* Move bundles into definitions directory * Various scripting clean-ups * Sprinked a few printf's to provide workflow feedback. Signed-off-by: Jon Disnard <jdisnard@redhat.com>
Please click the approve so we can get this merged, and so I can setup that demo using this repo. Thanks in advance! |
87d5b98
to
6663903
Compare
* SHA256 string is now 7 chars long instead of 8 * quay namespace is now hardcoded * prevent consecutive hyphens or underscore chars in the file path. Signed-off-by: Jon Disnard <jdisnard@redhat.com>
6663903
to
af55096
Compare
Run go mod tidy and fix syntax error in suite_test.go
Signed-off-by: Jon Disnard jdisnard@redhat.com