Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
0da37e29
Commit
0da37e29
authored
1 year ago
by
Corné Lukken
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SS-1447
' into 'master'
L2SS-1447
: Allow to skip tests, just setup integration env Closes
L2SS-1447
See merge request
!745
parents
cc3dff2c
cd366d12
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!745
L2SS-1447: Allow to skip tests, just setup integration env
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbin/run_integration_test.sh
+9
-1
9 additions, 1 deletion
sbin/run_integration_test.sh
with
9 additions
and
1 deletion
sbin/run_integration_test.sh
+
9
−
1
View file @
0da37e29
...
@@ -42,7 +42,7 @@ function integration_test {
...
@@ -42,7 +42,7 @@ function integration_test {
}
}
# list of arguments expected in the input
# list of arguments expected in the input
optstring_long
=
"help,no-build"
optstring_long
=
"help,no-build
,skip-tests
"
optstring
=
"hnb"
optstring
=
"hnb"
options
=
$(
getopt
-l
${
optstring_long
}
-o
${
optstring
}
--
"
$@
"
)
options
=
$(
getopt
-l
${
optstring_long
}
-o
${
optstring
}
--
"
$@
"
)
...
@@ -60,6 +60,10 @@ while true; do
...
@@ -60,6 +60,10 @@ while true; do
export
no_build
=
1
export
no_build
=
1
export
NO_BASE
=
${
no_build
}
export
NO_BASE
=
${
no_build
}
;;
;;
--skip-tests
)
echo
"Only setup and configure environment don't run any tests"
export
no_tests
=
1
;;
--
)
--
)
shift
shift
break
;;
break
;;
...
@@ -141,6 +145,10 @@ make start "${DEVICES[@]}"
...
@@ -141,6 +145,10 @@ make start "${DEVICES[@]}"
# Wait for devices to restart
# Wait for devices to restart
make await
"
${
DEVICES
[@]
}
"
make await
"
${
DEVICES
[@]
}
"
if
[
-n
"
${
no_tests
}
"
]
;
then
exit
0
fi
# Start the integration test
# Start the integration test
cd
"
$LOFAR20_DIR
/docker-compose"
||
exit
1
cd
"
$LOFAR20_DIR
/docker-compose"
||
exit
1
make up integration-test
make up integration-test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment