Skip to content

Commit

Permalink
feat: add diracx-web in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Mar 28, 2024
1 parent 3ca7c99 commit 171c54f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ jobs:
run: |
git clone https://github.com/DIRACGrid/diracx.git /tmp/diracx
git clone https://github.com/DIRACGrid/DIRAC.git /tmp/DIRAC
git clone https://github.com/DIRACGrid/diracx-web.git /tmp/diracx-web
- name: Start demo
run: |
./run_demo.sh --exit-when-done /tmp/diracx /tmp/DIRAC
./run_demo.sh --exit-when-done /tmp/diracx /tmp/DIRAC /tmp/diracx-web
- name: Debugging information
run: |
export KUBECONFIG=$PWD/.demo/kube.conf
Expand Down
2 changes: 2 additions & 0 deletions run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ if [ ${#python_pkg_names[@]} -gt 0 ]; then
fi
if [ "${node_pkg_name}" != "" ]; then
printf "%b Found Node package directories for: %s\n" ${UNICORN_EMOJI} "${node_pkg_name}"
# Ensure node_modules and .next exists, else create them, as they are mounted
mkdir -p "${node_pkg_name}"/node_modules "${node_pkg_name}"/.next
fi

trap "cleanup" EXIT
Expand Down

0 comments on commit 171c54f

Please sign in to comment.