Skip to content

Commit

Permalink
remove scripts/should-e2e-run and "check-changes" in CircleCI cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Preminger committed May 23, 2023
1 parent e7ee6d5 commit 6632372
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 124 deletions.
24 changes: 0 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,6 @@ commands:
- run:
name: Update submodules
command: git submodule update --init
check-changes:
steps:
- run:
name: Check changes
command: |-
rc=0
scripts/should-e2e-run "${CIRCLE_PROJECT_USERNAME}" "${CIRCLE_PROJECT_REPONAME}" "${CIRCLE_BRANCH}" "${CIRCLE_PULL_REQUEST}" || rc=$?
case $rc in
0)
echo "Verifying critical changes"
;;
1)
echo "No critical changes, skipping tests"
circleci step halt
;;
*)
echo "E: scripts/should-e2e-run returned with exit code $rc. Abort."
exit $rc
;;
esac
check-pkg-no-buildcfg:
steps:
- run:
Expand Down Expand Up @@ -237,7 +215,6 @@ jobs:
executor: ubuntu-machine
steps:
- checkout
- check-changes
- go/install:
version: << pipeline.parameters.go-version >>
- stop-background-apt
Expand All @@ -253,7 +230,6 @@ jobs:
executor: ubuntu-machine-large
steps:
- checkout
- check-changes
- go/install:
version: << pipeline.parameters.go-version >>
- stop-background-apt
Expand Down
100 changes: 0 additions & 100 deletions scripts/should-e2e-run

This file was deleted.

0 comments on commit 6632372

Please sign in to comment.