Skip to content

Commit f5ffaba

Browse files
committed
chore(ci): Install git-annex from PyPI
1 parent 341eff1 commit f5ffaba

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.circleci/config.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -70,37 +70,19 @@ jobs:
7070
environment:
7171
- OSF_MIRROR_PATH: /tmp/data/templateflow
7272
steps:
73-
- restore_cache:
74-
keys:
75-
- annex-v1-{{ epoch }}
76-
- annex-v1-
7773
- run:
78-
name: Install git and git-annex
74+
name: Configure git
7975
command: |
80-
if [[ ! -e "/tmp/cache/git-annex-standalone.tar.gz" ]]; then
81-
wget -O- http://neuro.debian.net/lists/focal.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
82-
sudo apt-key add .neurodebian/neurodebian.gpg
83-
sudo apt-key adv --recv-keys --keyserver hkps://keys.openpgp.org 0xA5D32F012649A5A9 || true
84-
sudo apt update && sudo apt-get install -y --no-install-recommends git-annex-standalone
85-
mkdir -p /tmp/cache
86-
tar czvf /tmp/cache/git-annex-standalone.tar.gz /usr/bin/git-annex /usr/bin/git-annex-shell /usr/lib/git-annex.linux
87-
else
88-
sudo tar xzfv /tmp/cache/git-annex-standalone.tar.gz -C /
89-
fi
9076
git config --global user.name "First Last"
9177
git config --global user.email "[email protected]"
9278
93-
- save_cache:
94-
key: annex-v1-{{ epoch }}
95-
paths:
96-
- "/tmp/cache"
97-
9879
- attach_workspace:
9980
at: ~/project
10081

10182
- run:
10283
command: |
10384
python .maint/update_requirements.py
85+
echo git-annex >> dev-requirements.txt
10486
name: Generate requirements.txt
10587

10688
- python/install-packages:

0 commit comments

Comments
 (0)