Skip to content

Commit

Permalink
Merge pull request #20481 from hashicorp/b/fix-gradually-deprecated
Browse files Browse the repository at this point in the history
fix: removing the (intentional) `exit 1` from `run-gradually-deprecated`
  • Loading branch information
tombuildsstuff authored Feb 15, 2023
2 parents fd99203 + 27fbb3c commit 5e72621
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gradually-deprecated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
paths:
- '.github/workflows/gradually-deprecated.yaml'
- '**.go'
- './scripts/run-gradually-deprecated.sh'

jobs:
test:
Expand Down
5 changes: 0 additions & 5 deletions scripts/run-gradually-deprecated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ function runDeprecatedFunctions {
}

function main {
# testing
echo "in main"
exit 1

if [ "$GITHUB_ACTIONS_STAGE" == "UNIT_TESTS" ];
then
echo "Skipping - the Gradually Deprecated check is separate in Github Actions"
Expand All @@ -164,5 +160,4 @@ function main {
checkForUnclearErrorMessages
}

echo "in file"
main

0 comments on commit 5e72621

Please sign in to comment.