Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ workflow:
allow_skip_on_success: true
env:
DEVSCRIPTS_TARGET: agent
DEVSCRIPTS_TARGET_TIMEOUT: 180m
pre:
- chain: agent-pre
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ EOF
scp "${SSHOPTS[@]}" "${SHARED_DIR}/dev-scripts-additional-config" "root@${IP}:dev-scripts-additional-config"

# Use '/auths/ s/.*/' instead of 's/.*auths.*/' to avoid regex backtracking on long log lines
timeout -s 9 175m ssh "${SSHOPTS[@]}" "root@${IP}" bash - << EOF |& sed -e '/auths/ s/.*/*** PULL_SECRET ***/'
timeout -s 9 ${DEVSCRIPTS_TIMEOUT:-175m} ssh "${SSHOPTS[@]}" "root@${IP}" bash - << EOF |& sed -e '/auths/ s/.*/*** PULL_SECRET ***/'

set -xeuo pipefail

Expand Down Expand Up @@ -437,7 +437,7 @@ fi
echo 'export KUBECONFIG=\$(ls /root/dev-scripts/ocp/*/auth/kubeconfig)' >> /root/.bashrc

set +e
timeout -s 9 130m make ${DEVSCRIPTS_TARGET}
timeout -s 9 ${DEVSCRIPTS_TARGET_TIMEOUT:-130m} make ${DEVSCRIPTS_TARGET}
rv=\$?

# squid needs to be restarted after network changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ ref:
- name: DEVSCRIPTS_TARGET
default: ""
documentation: Defines the makefile target to be executed. See https://github.com/openshift-metal3/dev-scripts/blob/master/Makefile for a list of available targets.
- name: DEVSCRIPTS_TARGET_TIMEOUT
default: ""
documentation: Defines the timeout for the dev-scripts target to be executed.
- name: DEVSCRIPTS_TIMEOUT
default: ""
documentation: Defines the timeout for the dev-scripts setup command.
- name: AGENT_E2E_TEST_BOOT_MODE
default: ""
documentation: Set the boot mode to DISKIMAGE for using the APPLIANCE_IMAGE
Expand Down