Skip to content
Merged
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
15 changes: 13 additions & 2 deletions .github/workflows/auto-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,27 @@ jobs:
hugo-version: '0.152.2'
extended: true

# Required by verify.sh runtime gates (packages/taskpack-runner python-bridge tests).
- name: Install Python dependencies
# Required by verify.sh runtime gates (packages/taskpack-runner python-bridge tests and Linux bwrap isolation).
- name: Install Python and sandbox dependencies
run: |
sudo apt-get -o Acquire::Retries=3 update
sudo apt-get -o Acquire::Retries=3 install -y --no-install-recommends \
bubblewrap \
python3-packaging \
python3-yaml \
python3-requests \
python3-pytest \
python3-pytest-xdist
bwrap --version
if ! bwrap --unshare-all --ro-bind / / "$(command -v true)" >/dev/null 2>&1; then
if [[ "${RUNNER_ENVIRONMENT:-}" == "github-hosted" ]]; then
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
else
echo "ERROR: bubblewrap unprivileged user namespaces are restricted on this runner (RUNNER_ENVIRONMENT='${RUNNER_ENVIRONMENT:-}')" >&2
exit 1
fi
bwrap --unshare-all --ro-bind / / "$(command -v true)"
fi

- name: Build workspace
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ jobs:
trap 'rm -f "${NPMRC_TMP}"' EXIT
export NPM_CONFIG_USERCONFIG="${NPMRC_TMP}"
fi
npm publish "dist-release/gpustack-loopwright-${VERSION}.tgz" --provenance --access public --ignore-scripts --tag "${DIST_TAG}"
npm publish "./dist-release/gpustack-loopwright-${VERSION}.tgz" --provenance --access public --ignore-scripts --tag "${DIST_TAG}"
Loading