Skip to content
Merged
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
25 changes: 21 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,28 @@ jobs:

- name: Install TES Server
run: |
# https://github.com/ohsu-comp-bio/funnel/releases/tag/v0.11.8
curl -fsSL https://ohsu-comp-bio.github.io/funnel/install.sh | bash -s -- v0.11.8
# Pinning install script below to stable commit for security/reproducibility
# Ref: https://docs.github.com/en/actions/reference/security/secure-use#using-third-party-actions
# Release: https://github.com/calypr/funnel/releases/tag/v0.11.8

INSTALL_SCRIPT=https://raw.githubusercontent.com/calypr/funnel/4103475e492dec1fd853e9863d0caad15fc504c0/install.sh
curl -fsSL $INSTALL_SCRIPT | bash -s -- v0.11.8

- name: Start TES Server
run: |
funnel server run > funnel.log 2>&1 &
set -euo pipefail
nohup funnel server run > funnel.log 2>&1 &
echo $! > funnel.pid
for i in $(seq 1 10); do
if curl -fsS http://localhost:8000/service-info >/dev/null 2>&1; then
echo "Funnel server started"
exit 0
fi
sleep 1
done
echo "Funnel server failed to start!"
cat funnel.log
exit 1

- name: Get plugin version
shell: bash
Expand All @@ -107,7 +123,8 @@ jobs:
}
process {
executor = 'tes'
container = 'ubuntu:latest'
// Pinning to recent LTS release for stability/security
container = 'ubuntu:24.04'
}
params {
// TES
Expand Down
Loading