Skip to content

Commit 83bf3a6

Browse files
committed
[DATALAD RUNCMD] regenerate templates after modifying workflow
=== Do not change lines below === { "chain": [ "47fa1b854c9e94abc0fe7aadb8df8a8cd6525808", "ff26f850198044041285400f56f451b5a76d95d3", "424897650eadcbf7c13636064073bde0df7a6eda" ], "cmd": "make -C .github/workflows/template", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 7a21c47 commit 83bf3a6

File tree

3 files changed

+46
-6
lines changed

3 files changed

+46
-6
lines changed

.github/workflows/build-macos.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ jobs:
248248
sudo exportfs -a
249249
sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount
250250
fi
251+
if [[ "${{ matrix.flavor }}" == *encfs* ]] ; then
252+
mkdir /tmp/encfsmount_ /tmp/encfsmount
253+
sudo apt-get install -y encfs
254+
encfs --standard --extpass="echo 123" /tmp/encfsmount_ /tmp/encfsmount
255+
fi
251256
252257
case "${{ matrix.flavor }}" in
253258
# For git-annex it causes only few temporary directories to be on the crippled FS,
@@ -267,7 +272,7 @@ jobs:
267272
nfs-home)
268273
export HOME=/tmp/nfsmount
269274
;;
270-
normal|custom-config1)
275+
normal|custom-config1|encfs-repo)
271276
;;
272277
*)
273278
echo "Unknown flavor ${{ matrix.flavor }}"
@@ -290,9 +295,19 @@ jobs:
290295
;;
291296
esac
292297
293-
cd $HOME
298+
case "${{ matrix.flavor }}" in
299+
# Perform testing only (leaving TMP or HOME) aside in --repo flavors
300+
# and generally under $HOME
301+
encfs-repo) cd /tmp/encfsmount;;
302+
*) cd $HOME;;
303+
esac
304+
294305
export | grep -e crippledfs || :
295306
307+
# Report basic info about current path given that we might cd away
308+
stat $PWD
309+
df . || :
310+
296311
timeout 3600 git annex test "${test_opts[@]:-}"
297312
298313
- name: Set final PR status

.github/workflows/build-ubuntu.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
needs: build-package
245245
strategy:
246246
matrix:
247-
flavor: ["normal", "crippled-tmp", "crippled-home", "nfs-home", "custom-config1"]
247+
flavor: ["normal", "crippled-tmp", "crippled-home", "nfs-home", "custom-config1", "encfs-repo"]
248248
os: [ubuntu-latest]
249249
fail-fast: false
250250
steps:
@@ -297,6 +297,11 @@ jobs:
297297
sudo exportfs -a
298298
sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount
299299
fi
300+
if [[ "${{ matrix.flavor }}" == *encfs* ]] ; then
301+
mkdir /tmp/encfsmount_ /tmp/encfsmount
302+
sudo apt-get install -y encfs
303+
encfs --standard --extpass="echo 123" /tmp/encfsmount_ /tmp/encfsmount
304+
fi
300305
301306
case "${{ matrix.flavor }}" in
302307
# For git-annex it causes only few temporary directories to be on the crippled FS,
@@ -316,7 +321,7 @@ jobs:
316321
nfs-home)
317322
export HOME=/tmp/nfsmount
318323
;;
319-
normal|custom-config1)
324+
normal|custom-config1|encfs-repo)
320325
;;
321326
*)
322327
echo "Unknown flavor ${{ matrix.flavor }}"
@@ -339,9 +344,19 @@ jobs:
339344
;;
340345
esac
341346
342-
cd $HOME
347+
case "${{ matrix.flavor }}" in
348+
# Perform testing only (leaving TMP or HOME) aside in --repo flavors
349+
# and generally under $HOME
350+
encfs-repo) cd /tmp/encfsmount;;
351+
*) cd $HOME;;
352+
esac
353+
343354
export | grep -e crippledfs || :
344355
356+
# Report basic info about current path given that we might cd away
357+
stat $PWD
358+
df . || :
359+
345360
timeout 3600 git annex test "${test_opts[@]:-}"
346361
347362
- name: Set final PR status

.github/workflows/build-windows.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,19 @@ jobs:
278278
;;
279279
esac
280280
281-
cd $HOME
281+
case "${{ matrix.flavor }}" in
282+
# Perform testing only (leaving TMP or HOME) aside in --repo flavors
283+
# and generally under $HOME
284+
encfs-repo) cd /tmp/encfsmount;;
285+
*) cd $HOME;;
286+
esac
287+
282288
export | grep -e crippledfs || :
283289
290+
# Report basic info about current path given that we might cd away
291+
stat $PWD
292+
df . || :
293+
284294
timeout 3600 git annex test "${test_opts[@]:-}"
285295
286296
- name: Set final PR status

0 commit comments

Comments
 (0)