Skip to content

Commit 784b177

Browse files
authored
moved embucket start into run.sh (#1921)
1 parent 80c04c1 commit 784b177

File tree

3 files changed

+13
-69
lines changed

3 files changed

+13
-69
lines changed

.github/workflows/dbt-gitlab-run.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ jobs:
2121
with:
2222
submodules: true
2323

24-
- name: Start Embucket Server (Docker)
25-
run: |
26-
docker run -d \
27-
--name embucket-server \
28-
-p 3000:3000 \
29-
embucket/embucket
30-
echo "Starting Embucket server..."
31-
sleep 20
32-
3324
- name: Set up Python
3425
uses: actions/setup-python@v6
3526
with:

test/dbt_integration_tests/dbt-gitlab/run.sh

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
#!/bin/bash
22

3+
# Start Embucket container with NO persistent storage
4+
echo "Starting Embucket container with clean environment..."
5+
docker run -d --rm --name em \
6+
-p 3000:3000 \
7+
-p 8080:8080 \
8+
--env OBJECT_STORE_BACKEND=memory \
9+
--env SLATEDB_PREFIX=memory \
10+
--env DATA_FORMAT=arrow \
11+
embucket/embucket-labs >/dev/null 2>&1
12+
13+
echo "✓ Embucket container started successfully with CLEAN environment!"
14+
echo ""
15+
316
# Parse --target and --model arguments
417
while [[ "$#" -gt 0 ]]; do
518
case $1 in
@@ -89,15 +102,6 @@ echo "Installing the requirements"
89102
pip install -r requirements.txt >/dev/null 2>&1
90103
echo ""
91104

92-
# Load data and create embucket catalog if the embucket is a target
93-
echo "###############################"
94-
echo ""
95-
echo "Creating embucket database"
96-
if [ "$DBT_TARGET" = "embucket" ]; then
97-
$PYTHON_CMD upload.py
98-
fi
99-
echo ""
100-
101105
mkdir -p assets
102106

103107
# Run DBT commands

test/dbt_integration_tests/dbt-gitlab/upload.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)