mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-04-06 01:25:33 +00:00
Compare commits
4 Commits
4b318478bc
...
71ddec3d67
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71ddec3d67 | ||
|
|
b76484542a | ||
|
|
6ca405b07e | ||
|
|
e5bd4b3db1 |
6
.github/workflows/test.e2e.yml
vendored
6
.github/workflows/test.e2e.yml
vendored
@ -41,6 +41,12 @@ jobs:
|
||||
- name: Build and start all Containers
|
||||
run: docker compose up -d
|
||||
|
||||
- name: Wait for Directus to be Ready
|
||||
run: |
|
||||
echo "Waiting for Directus API to be ready..."
|
||||
timeout 120 bash -c 'until curl -f http://localhost:8055/server/health; do echo "Waiting for Directus..."; sleep 5; done'
|
||||
echo "Directus is ready!"
|
||||
|
||||
- name: Seed Backend
|
||||
run: |
|
||||
mkdir -p ./data/uploads
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "directus-extensions",
|
||||
"dependencies": {
|
||||
"directus-extension-sync": "^3.0.4"
|
||||
"directus-extension-sync": "3.0.4"
|
||||
}
|
||||
}
|
||||
@ -16,7 +16,7 @@ PROJECT_NAME="${PROJECT:-development}"
|
||||
PROJECT_FOLDER=$SCRIPT_DIR/directus-config/$PROJECT_NAME
|
||||
|
||||
echo "Sync collections"
|
||||
npx directus-sync push \
|
||||
npx directus-sync@3.4.0 push \
|
||||
--dump-path $PROJECT_FOLDER \
|
||||
--directus-url $DIRECTUS_URL \
|
||||
--directus-email $DIRECTUS_EMAIL \
|
||||
@ -24,7 +24,7 @@ npx directus-sync push \
|
||||
|| exit 1
|
||||
|
||||
echo "Seed data"
|
||||
npx directus-sync seed push \
|
||||
npx directus-sync@3.4.0 seed push \
|
||||
--seed-path $PROJECT_FOLDER/seed \
|
||||
--directus-url $DIRECTUS_URL \
|
||||
--directus-email $DIRECTUS_EMAIL \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user