Skip to content

Commit 9a8753a

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

File tree

3 files changed

+52
-12
lines changed

3 files changed

+52
-12
lines changed

.github/workflows/build-macos.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169

170170
- name: Send e-mail on failed run
171171
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
172-
uses: dawidd6/action-send-mail@v6
172+
uses: dawidd6/action-send-mail@v4
173173
with:
174174
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
175175
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
@@ -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
@@ -308,7 +323,7 @@ jobs:
308323

309324
- name: Send e-mail on failed run
310325
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
311-
uses: dawidd6/action-send-mail@v6
326+
uses: dawidd6/action-send-mail@v4
312327
with:
313328
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
314329
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}

.github/workflows/build-ubuntu.yaml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225

226226
- name: Send e-mail on failed run
227227
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
228-
uses: dawidd6/action-send-mail@v6
228+
uses: dawidd6/action-send-mail@v4
229229
with:
230230
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
231231
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
@@ -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-22.04]
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
@@ -357,7 +372,7 @@ jobs:
357372

358373
- name: Send e-mail on failed run
359374
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
360-
uses: dawidd6/action-send-mail@v6
375+
uses: dawidd6/action-send-mail@v4
361376
with:
362377
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
363378
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}

.github/workflows/build-windows.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192

193193
- name: Send e-mail on failed run
194194
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
195-
uses: dawidd6/action-send-mail@v6
195+
uses: dawidd6/action-send-mail@v4
196196
with:
197197
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
198198
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
@@ -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
@@ -296,7 +306,7 @@ jobs:
296306

297307
- name: Send e-mail on failed run
298308
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
299-
uses: dawidd6/action-send-mail@v6
309+
uses: dawidd6/action-send-mail@v4
300310
with:
301311
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
302312
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}

0 commit comments

Comments
 (0)