-
Notifications
You must be signed in to change notification settings - Fork 16
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
The linux configure-tentacle.sh script now supports setting comms ports other than 10943. #792
The linux configure-tentacle.sh script now supports setting comms ports other than 10943. #792
Conversation
This pull request has been linked to Shortcut Story #68270: Windows tentacle installer and linux install scripts should support configuring a tentacle to communicate with port 443.. |
19db3b0
to
062b1b2
Compare
@@ -100,6 +100,7 @@ function setupPollingTentacle { | |||
rolesstring="" | |||
workerpoolsstring="" | |||
machinetype=1 | |||
servercommsport=10943 |
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.
Out of curiosity, do we know why this was strictly only set to 10943
before?
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.
Probably because it is the default.
|
||
case $doesconnecttosamedomain in | ||
2) | ||
read -p "What is the Octopus Server comms address including port e.g. 'https://polling.<yoururl>.octopus.app:443' ?: " commsAddress |
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.
The public doco doesn't mention that the port number needs to be specified. Would it work if we do?
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.
I requested it since it makes the bash easier, otherwise we then need to ask for port if a port is not set.
Also yes this does work.
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.
LGTM 👍
Background
[SC-68270]
Fixes: #793
Related to: #527
Results
Before
The script would always assume
10943
as the comms port.After
It now asks if the comms port is at the same or different address:
which results in:
If the address is the same we also ask what port:
and the resulting command:
How to review this PR
Quality ✔️
Pre-requisites