-
Notifications
You must be signed in to change notification settings - Fork 549
Conversation
userssh: | ||
type: string | ||
value: string | ||
``` | ||
- jobssh: true to enable job container wise ssh, false to disable. | ||
- sshbarrier: wait until can ssh to all defined taskrole's job containers. Only valid when jobssh is true. |
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.
please define sshbarrier for the whole job level, instead of the task role level. I mean, you can just define sshbarrier as a boolean, when true, all containers should wait until sshd is ready.
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.
Now sshbarrier is a boolean to define if barrier is enabled.
Use optional param sshbarriertaskroles to identify specific taskroles that barrier watches to meet advanced requirements.
Add error spec for SSH barrier. Refine code based on code review
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.
If sshbarrier is defined, the ssh will wait until all configured taskrole containers can be attached.