Skip to content

Commit

Permalink
Default PYTHONUNBUFFERED to 1 for all CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathias-luedtke committed Jan 29, 2021
1 parent ee3ac3c commit a7a51c9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIR_THIS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

export TARGET_REPO_PATH=$GITHUB_WORKSPACE
export TARGET_REPO_NAME=${GITHUB_REPOSITORY##*/}
export PYTHONUNBUFFERED=${PYTHONUNBUFFERED:1}
export _FOLDING_TYPE=github_actions

env "$@" bash "$DIR_THIS/../industrial_ci/src/ci_main.sh"
1 change: 0 additions & 1 deletion bitbucket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ DIR_THIS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

export TARGET_REPO_PATH=$BITBUCKET_CLONE_DIR
export TARGET_REPO_NAME=${BITBUCKET_REPO_SLUG##*/}
export PYTHONUNBUFFERED=${PYTHONUNBUFFERED:1}

env "$@" bash "$DIR_THIS/industrial_ci/src/ci_main.sh"
2 changes: 2 additions & 0 deletions industrial_ci/src/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

export PYTHONUNBUFFERED=${PYTHONUNBUFFERED-1}

export ROS_DISTRO=${ROS_DISTRO:-}
export ROS_REPOSITORY_PATH=${ROS_REPOSITORY_PATH:-}
export ROS_REPO=${ROS_REPO:-testing}
Expand Down
1 change: 0 additions & 1 deletion travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ DIR_THIS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

export TARGET_REPO_PATH=$TRAVIS_BUILD_DIR
export TARGET_REPO_NAME=${TRAVIS_REPO_SLUG##*/}
export PYTHONUNBUFFERED=${PYTHONUNBUFFERED:1}
export _FOLDING_TYPE=travis

# Update libseccomp to allow statx syscalls (https://travis-ci.community/t/docker-build-environments/7216/4)
Expand Down

0 comments on commit a7a51c9

Please sign in to comment.