Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.
Merged
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
16 changes: 8 additions & 8 deletions smoke-test-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ stages:
failOnStderr: true
- bash: |
echo "FUNC_SCRIPT: $FUNC_SCRIPT"
curl --fail $FUNC_SCRIPT > functions.sh
curl --fail $FUNC_SCRIPT > functions.sh
if [ $? -ne 0 ]; then
echo "Error finding FUNC_SCRIPT: $FUNC_SCRIPT"
exit 1
fi
chmod +x ./functions.sh
echo "TEST_SCRIPT3: $TEST_SCRIPT3"
curl --fail $TEST_SCRIPT3 > introspection-validations.sh
curl --fail $TEST_SCRIPT3 > introspection-validations.sh
if [ $? -ne 0 ]; then
echo "Error finding TEST_SCRIPT3: $TEST_SCRIPT3"
exit 1
Expand Down Expand Up @@ -113,14 +113,14 @@ stages:
failOnStderr: true
- bash: |
echo "FUNC_SCRIPT: $FUNC_SCRIPT"
curl --fail $FUNC_SCRIPT > functions.sh
curl --fail $FUNC_SCRIPT > functions.sh
if [ $? -ne 0 ]; then
echo "Error finding FUNC_SCRIPT: $FUNC_SCRIPT"
exit 1
fi
chmod +x ./functions.sh
echo "TEST_SCRIPT: $TEST_SCRIPT"
curl --fail $TEST_SCRIPT > validations.sh
curl --fail $TEST_SCRIPT > validations.sh
if [ $? -ne 0 ]; then
echo "Error finding TEST_SCRIPT: $TEST_SCRIPT"
exit 1
Expand Down Expand Up @@ -161,7 +161,7 @@ stages:
status=$?
[ $status -eq 0 ] && echo "Test Done!" || (echo "Test had issues" && exit 1)
displayName: "Run Validation Tests"
timeoutInMinutes: 15
timeoutInMinutes: 25
- task: PublishPipelineArtifact@1
inputs:
path: $(System.DefaultWorkingDirectory)/spk-env/log.txt
Expand Down Expand Up @@ -193,21 +193,21 @@ stages:
failOnStderr: true
- bash: |
echo "FUNC_SCRIPT: $FUNC_SCRIPT"
curl $FUNC_SCRIPT > functions.sh
curl $FUNC_SCRIPT > functions.sh
if [ $? -ne 0 ]; then
echo "Error finding FUNC_SCRIPT: $FUNC_SCRIPT"
exit 1
fi
chmod +x ./functions.sh
echo "TEST_SCRIPT2: $TEST_SCRIPT2"
curl $TEST_SCRIPT2 > infra-validations.sh
curl $TEST_SCRIPT2 > infra-validations.sh
if [ $? -ne 0 ]; then
echo "Error finding TEST_SCRIPT2: $TEST_SCRIPT2"
exit 1
fi
chmod +x ./infra-validations.sh
echo "INFRA_YML: $INFRA_YML"
curl $INFRA_YML > infra-generation-pipeline.yml
curl $INFRA_YML > infra-generation-pipeline.yml
if [ $? -ne 0 ]; then
echo "Error finding INFRA_YML: $INFRA_YML"
exit 1
Expand Down