Skip to content

Commit

Permalink
fs-integration: Always run sanity test for sit-environment
Browse files Browse the repository at this point in the history
Nightly scheduled run against sit-environment repository used to skip
the execution of testsuite. Instead we could run the basic sanity as
we do for pull requests on the repository.
  • Loading branch information
anoopcs9 committed Sep 12, 2023
1 parent 8451329 commit f0d3da5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions jobs/scripts/fs-integration/fs-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ if [ "${GIT_TARGET_REPO}" = "sit-test-cases" ]; then
fi
else
if [ -n "${ghprbPullId}" ]; then
# Run sanity tests only for pull requests on sit-environment
TEST_EXTRA_VARS="${TEST_EXTRA_VARS} test_sanity_only=1"

git fetch origin "pull/${ghprbPullId}/head:pr_${ghprbPullId}"
git checkout "pr_${ghprbPullId}"

Expand All @@ -55,10 +52,9 @@ else
echo "Unable to automatically rebase to branch '${ghprbTargetBranch}'. Please rebase your PR!"
exit 1
fi
else
echo "Skipping scheduled run"
exit 0
fi

TEST_EXTRA_VARS="${TEST_EXTRA_VARS} test_sanity_only=1"
fi

#
Expand Down

0 comments on commit f0d3da5

Please sign in to comment.