Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 00364114d5 | |||
| e3ac6344f6 | |||
| 92c1f29843 | |||
| d42a5422db | |||
| 85ca387877 | |||
| bb9a4c3977 | |||
| 761f5f562b |
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
if [ ! -d .git ]; then
|
||||
git clone --branch "${GITHUB_REF_NAME}" --depth=1 "http://172.21.0.4:3000/${GITHUB_REPOSITORY}.git" .
|
||||
git clone --branch "${GITHUB_REF_NAME}" --depth=1 "http://172.21.0.1:3300/${GITHUB_REPOSITORY}.git" .
|
||||
fi
|
||||
|
||||
- name: Resolve image tags
|
||||
|
||||
@@ -89,7 +89,7 @@ jobs:
|
||||
run: |
|
||||
cd dashboard/backend
|
||||
. venv/bin/activate
|
||||
pytest tests/ -v --timeout=60 \
|
||||
python -m pytest tests/ -v --timeout=60 \
|
||||
--cov=. --cov-report=xml --cov-report=term \
|
||||
--junit-xml=test-results.xml \
|
||||
--cov-fail-under=49
|
||||
@@ -242,7 +242,9 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Sync runtime compose file
|
||||
run: cp dashboard/docker-compose.yml /nas-dashboard/docker-compose.yml
|
||||
run: |
|
||||
mkdir -p /nas-dashboard
|
||||
cp dashboard/docker-compose.yml /nas-dashboard/docker-compose.yml
|
||||
|
||||
- name: Deploy and verify
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user