Skip to content

Commit

Permalink
use FETCH_HEAD in the CI templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Jun 25, 2019
1 parent 17a4c7f commit 1186b52
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test_script:
# Clone arrow
- git clone --no-checkout {{ arrow.remote }} arrow || exit /B
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }} || exit /B
- git -C arrow checkout {{ arrow.head }} || exit /B
- git -C arrow checkout FETCH_HEAD || exit /B

- pushd arrow\dev\tasks\conda-recipes

Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/travis.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ install:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

- pushd arrow/dev/tasks/conda-recipes

Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/travis.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ install:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

- pushd arrow/dev/tasks/conda-recipes

Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/docker-tests/circle.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: docker-compose -v
- run: git clone --no-checkout {{ arrow.remote }} arrow
- run: git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- run: git -C arrow checkout {{ arrow.head }}
- run: git -C arrow checkout FETCH_HEAD
- run: git -C arrow submodule update --init --recursive
- run: |
pushd arrow
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/docker-tests/travis.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ before_install:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD
- git -C arrow submodule update --init --recursive

script:
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/gandiva-jars/travis.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ before_install:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow

Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/gandiva-jars/travis.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
- brew update
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/travis.linux.arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ env:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

script:
- pushd arrow/dev/tasks/linux-packages
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/travis.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

script:
- pushd arrow/dev/tasks/linux-packages
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ build_script:

- git clone --no-checkout {{ arrow.remote }} %ARROW_SRC% || exit /B
- git -C %ARROW_SRC% fetch -t {{ arrow.remote }} {{ arrow.branch }} || exit /B
- git -C %ARROW_SRC% checkout {{ arrow.head }} || exit /B
- git -C %ARROW_SRC% checkout FETCH_HEAD || exit /B
- git -C %ARROW_SRC% submodule update --init || exit /B

# Avoid picking up AppVeyor-installed OpenSSL (linker errors with gRPC)
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/travis.manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ before_script:
script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD
- mkdir -p dist

# build wheel
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/travis.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ before_install:

- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout {{ arrow.head }}
- git -C arrow checkout FETCH_HEAD

# ARROW-3976 Old versions of git can cause failures when Homebrew prints a
# donation solicitation. Attempt to update git
Expand Down

0 comments on commit 1186b52

Please sign in to comment.