Skip to content

Commit

Permalink
Add log line to debg workspace-in-sidecar example
Browse files Browse the repository at this point in the history
Prior to this commit the workspace-in-sidecar example didn't print anything before creating a fifo file in its first Step. When the example fails we are missing information here that would be useful to debug whether the Step ever started or is blocking on that `mkfifo` call.

This commit adds the log line we need to debug whether the Step ever starts.
  • Loading branch information
sbwsg authored and tekton-robot committed Mar 4, 2022
1 parent 10bf6ff commit 14eb3d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/v1beta1/taskruns/alpha/workspace-in-sidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
cpu: "100m"
script: |
#!/usr/bin/env ash
echo "Creating FIFO..."
mkfifo "$(workspaces.signals.path)/channel"
echo "Greeting sidecar..."
echo "hello there" > "$(workspaces.signals.path)/channel"
Expand Down
1 change: 1 addition & 0 deletions examples/v1beta1/taskruns/workspace-in-sidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
cpu: "100m"
script: |
#!/usr/bin/env ash
echo "Creating FIFO..."
mkfifo "$(workspaces.signals.path)/channel"
echo "Greeting sidecar..."
echo "hello there" > "$(workspaces.signals.path)/channel"
Expand Down

0 comments on commit 14eb3d8

Please sign in to comment.