Skip to content

Commit

Permalink
[DATALAD RUNCMD] regenerate templates after modifying workflow
Browse files Browse the repository at this point in the history
=== 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 ^^^
  • Loading branch information
yarikoptic committed Jan 5, 2025
1 parent 0f6616f commit 5befcac
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 6 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@ jobs:
sudo exportfs -a
sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount
fi
if echo "${{ matrix.flavor }}" | grep -q "encfs" ; then
mkdir /tmp/encfsmount_ /tmp/encfsmount
sudo apt-get install -y encfs
encfs --standard --extpass="echo 123" /tmp/encfsmount_ /tmp/encfsmount
fi
case "${{ matrix.flavor }}" in
# For git-annex it causes only few temporary directories to be on the crippled FS,
Expand All @@ -267,7 +272,7 @@ jobs:
nfs-home)
export HOME=/tmp/nfsmount
;;
normal|custom-config1)
normal|custom-config1|encfs-repo)
;;
*)
echo "Unknown flavor ${{ matrix.flavor }}"
Expand All @@ -290,9 +295,19 @@ jobs:
;;
esac
cd $HOME
case "${{ matrix.flavor }}" in
# Perform testing only (leaving TMP or HOME) aside in --repo flavors
# and generally under $HOME
encfs-repo) cd /tmp/encfsmount;;
*) cd $HOME;;
esac
export | grep -e crippledfs || :
# Report basic info about current path given that we might cd away
stat $PWD
df . || :
timeout 3600 git annex test "${test_opts[@]:-}"
- name: Set final PR status
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/build-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
needs: build-package
strategy:
matrix:
flavor: ["normal", "crippled-tmp", "crippled-home", "nfs-home", "custom-config1"]
flavor: ["normal", "crippled-tmp", "crippled-home", "nfs-home", "custom-config1", "encfs-repo"]
os: [ubuntu-latest]
fail-fast: false
steps:
Expand Down Expand Up @@ -297,6 +297,11 @@ jobs:
sudo exportfs -a
sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount
fi
if echo "${{ matrix.flavor }}" | grep -q "encfs" ; then
mkdir /tmp/encfsmount_ /tmp/encfsmount
sudo apt-get install -y encfs
encfs --standard --extpass="echo 123" /tmp/encfsmount_ /tmp/encfsmount
fi
case "${{ matrix.flavor }}" in
# For git-annex it causes only few temporary directories to be on the crippled FS,
Expand All @@ -316,7 +321,7 @@ jobs:
nfs-home)
export HOME=/tmp/nfsmount
;;
normal|custom-config1)
normal|custom-config1|encfs-repo)
;;
*)
echo "Unknown flavor ${{ matrix.flavor }}"
Expand All @@ -339,9 +344,19 @@ jobs:
;;
esac
cd $HOME
case "${{ matrix.flavor }}" in
# Perform testing only (leaving TMP or HOME) aside in --repo flavors
# and generally under $HOME
encfs-repo) cd /tmp/encfsmount;;
*) cd $HOME;;
esac
export | grep -e crippledfs || :
# Report basic info about current path given that we might cd away
stat $PWD
df . || :
timeout 3600 git annex test "${test_opts[@]:-}"
- name: Set final PR status
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,19 @@ jobs:
;;
esac
cd $HOME
case "${{ matrix.flavor }}" in
# Perform testing only (leaving TMP or HOME) aside in --repo flavors
# and generally under $HOME
encfs-repo) cd /tmp/encfsmount;;
*) cd $HOME;;
esac
export | grep -e crippledfs || :
# Report basic info about current path given that we might cd away
stat $PWD
df . || :
timeout 3600 git annex test "${test_opts[@]:-}"
- name: Set final PR status
Expand Down

0 comments on commit 5befcac

Please sign in to comment.