Skip to content

Commit

Permalink
Add support for --insecure connection
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Jun 10, 2024
1 parent 3926181 commit 7aa7e22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions daily_tests/daily_scl_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ git clone https://github.com/sclorg/container-common-scripts.git /root/container
if [[ "${TESTS}" == "test-openshift-4" ]]; then
echo "Testing OpenShift 4 is enabled"
# Download kubeconfig
curl -L https://url.corp.redhat.com/ocp4-kubeconfig >$KUBECONFIG
curl -L --insecure https://url.corp.redhat.com/ocp4-kubeconfig >$KUBECONFIG
# Download kubepasswd
curl -L https://url.corp.redhat.com/ocp4-kubepasswd >$KUBEPASSWD
curl -L --insecure https://url.corp.redhat.com/ocp4-kubepasswd >$KUBEPASSWD
fi

if [[ "${TESTS}" == "test-openshift" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion run_nightly_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fi
mkdir -p "${DAILY_TEST_DIR}/${TARGET}-$TESTS"
LOG="${LOGS_DIR}/$TARGET-$TESTS.log"
date > "${LOG}"
curl -L https://url.corp.redhat.com/fmf-data > /tmp/fmf_data
curl --insecure -L https://url.corp.redhat.com/fmf-data > /tmp/fmf_data
source /tmp/fmf_data

cd "$WORK_DIR/$TMT_DIR" || { echo "Could not switch to $WORK_DIR/$TMT_DIR"; exit 1; }
Expand Down

0 comments on commit 7aa7e22

Please sign in to comment.