Triggering the pipeline
It's finally time to test out the automation you've put in place. Ensure that you have a clone of your Git repository available on your local machine. From the folder in which the code resides, add a new file:
$ touch newfile.txt
Now add this file to Git, commit this change, and push the changes to the code repository:
$ git add . $ git commit -am "New file added" [main b4c1143] New file added 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 newfile.txt $ git push origin main Enumerating objects: 4, done. Counting objects: 100% (4/4), done. Delta compression using up to 8 threads Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 280 bytes | 280.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 To github.com:joellord/tekton-book-example.git 6dceaf5..b4c1143 main -> main
Now take a look at the list of pipeline runs that have been created so far...