Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:

- name: Send e-mail on failed run
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
uses: dawidd6/action-send-mail@v6
uses: dawidd6/action-send-mail@v4
with:
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
Expand Down Expand Up @@ -248,6 +248,11 @@ jobs:
sudo exportfs -a
sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount
fi
if [[ "${{ matrix.flavor }}" == *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 All @@ -308,7 +323,7 @@ jobs:

- name: Send e-mail on failed run
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
uses: dawidd6/action-send-mail@v6
uses: dawidd6/action-send-mail@v4
with:
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
Expand Down
25 changes: 20 additions & 5 deletions .github/workflows/build-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:

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

- name: Send e-mail on failed run
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
uses: dawidd6/action-send-mail@v6
uses: dawidd6/action-send-mail@v4
with:
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:

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

- name: Send e-mail on failed run
if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
uses: dawidd6/action-send-mail@v6
uses: dawidd6/action-send-mail@v4
with:
server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/template/build-{{ostype}}.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,11 @@ jobs:
sudo exportfs -a
sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount
fi
if [[ "${{ matrix.flavor }}" == *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 @@ -477,7 +482,7 @@ jobs:
nfs-home)
export HOME=/tmp/nfsmount
;;
normal|custom-config1)
normal|custom-config1|encfs-repo)
;;
*)
echo "Unknown flavor ${{ matrix.flavor }}"
Expand All @@ -501,9 +506,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
2 changes: 1 addition & 1 deletion .github/workflows/template/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
DEB_SIGN_KEYID: 13A1093296154584245E0300C98FC49D36DAB17F
DEB_BUILD_OPTIONS: nocheck
bbuild_log: git-annex-build.log
test_annex_flavors: [normal, crippled-tmp, crippled-home, nfs-home, custom-config1]
test_annex_flavors: [normal, crippled-tmp, crippled-home, nfs-home, custom-config1, encfs-repo]
# nfs-tmp was removed/replaced with nfs-home since annex started to use TMPDIR for gpg, and tests started to fail
artifact_basename: git-annex-debianstandalone-packages
artifact_install_steps:
Expand Down
Loading