Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Add connect and request timeout configurations. #380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tasks/apply-changes/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ om-linux \
--client-secret "${OPSMAN_CLIENT_SECRET}" \
--username "${OPSMAN_USERNAME}" \
--password "${OPSMAN_PASSWORD}" \
--connect-timeout ${OPSMAN_CONNECT_TIMEOUT} \
--request-timeout ${OPSMAN_REQUEST_TIMEOUT} \
apply-changes \
--ignore-warnings
3 changes: 3 additions & 0 deletions tasks/apply-changes/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ image_resource:
type: docker-image
source:
repository: pcfnorm/rootfs
tag: 1.0.28


inputs:
Expand All @@ -29,6 +30,8 @@ params:
OPSMAN_CLIENT_SECRET:
OPSMAN_USERNAME:
OPSMAN_PASSWORD:
OPSMAN_CONNECT_TIMEOUT: 5
OPSMAN_REQUEST_TIMEOUT: 1800
OPSMAN_DOMAIN_OR_IP_ADDRESS:

run:
Expand Down