Skip to content

Commit 71598f2

Browse files
committed
First test against EE
1 parent df3c964 commit 71598f2

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

.github/scripts/start_dremio.sh

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# #!/bin/bash
2-
# set -e
1+
#!/bin/bash
2+
set -e
33

4-
# echo "Starting Dremio service..."
4+
echo "Starting Dremio service..."
55

66
# docker run -d \
77
# --network ci-network \
@@ -11,17 +11,6 @@
1111
# -e "DREMIO_JAVA_SERVER_EXTRA_OPTS=-Ddebug.addDefaultUser=true" \
1212
# dremio/dremio-oss
1313

14-
# echo "Dremio service started."
15-
16-
#!/bin/bash
17-
set -e
18-
19-
echo "Checking Dremio Enterprise service health..."
14+
./enterprise/distribution/server/target/dremio-enterprise-26.0.0-SNAPSHOT/dremio-enterprise-26.0.0-SNAPSHOT/bin/dremio start
2015

21-
# Check if Dremio is running by hitting the health endpoint
22-
if curl -s --head --request GET http://localhost:9047 | grep "200 OK" > /dev/null; then
23-
echo "Dremio Enterprise service is running."
24-
else
25-
echo "Dremio Enterprise service is not running. Please start the service."
26-
exit 1
27-
fi
16+
echo "Dremio service started."

Jenkinsfile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,25 @@ pipeline {
1616
DBT_TEST_USER_1 = 'dbt_test_user_1'
1717
DBT_TEST_USER_2 = 'dbt_test_user_2'
1818
DBT_TEST_USER_3 = 'dbt_test_user_3'
19+
GIT_CREDENTIALS = credentials('github-dremio-jenkins-app')
1920
}
2021

2122
stages {
2223
stage('Checkout') {
23-
steps {
24-
checkout scm
25-
}
24+
steps {
25+
checkout scm // Repo A (default checkout)
26+
27+
dir('dremio') { // Checkout Repo B in a separate folder
28+
checkout([
29+
$class: 'GitSCM',
30+
branches: [[name: '*/main']],
31+
userRemoteConfigs: [[
32+
url: 'https://github.com/dremio/dremio.git',
33+
credentialsId: 'github-app-credentials'
34+
]]
35+
])
36+
}
37+
}
2638
}
2739

2840
stage('Create Docker Network') {

0 commit comments

Comments
 (0)