Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ai3
float
Commits
f40a5cfc
Commit
f40a5cfc
authored
4 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Always run the default integration tests
parent
bc27dfcb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test-driver
+10
-12
10 additions, 12 deletions
test-driver
with
10 additions
and
12 deletions
test-driver
+
10
−
12
View file @
f40a5cfc
...
@@ -8,9 +8,9 @@ bin_dir=$(cd "${bin_dir}" && pwd)
...
@@ -8,9 +8,9 @@ bin_dir=$(cd "${bin_dir}" && pwd)
float_dir
=
"
${
bin_dir
}
"
float_dir
=
"
${
bin_dir
}
"
log
()
{
log
()
{
echo
>
&2
echo
" ***"
>
&2
echo
"
[*]
$*
"
>
&2
echo
"
***
$*
"
>
&2
echo
>
&2
echo
" ***"
>
&2
}
}
die
()
{
die
()
{
...
@@ -85,8 +85,8 @@ Commands:
...
@@ -85,8 +85,8 @@ Commands:
cleanup Cleanup the test environment (turn down VMs, etc)
cleanup Cleanup the test environment (turn down VMs, etc)
run Run the test suite, using the playbook specified by
run Run the test suite, using the playbook
s
specified by
an additional
command-line argument
the remaining
command-line argument
s
If DIR is specified, chdir there before running anything.
If DIR is specified, chdir there before running anything.
...
@@ -113,13 +113,11 @@ case "$cmd" in
...
@@ -113,13 +113,11 @@ case "$cmd" in
;;
;;
run
)
run
)
what
=
"
${
float_dir
}
/test/integration-test-docker.yml"
for
playbook
in
"
${
float_dir
}
/test/integration-test-docker.yml"
"
$@
"
;
do
if
[
$#
-gt
0
]
;
then
log Running
test
playbook
${
playbook
}
what
=
"
$1
"
${
float_dir
}
/float run
${
playbook
}
\
fi
log Running
test
playbook
${
what
}
${
float_dir
}
/float run
${
what
}
\
||
die
"test playbook failed"
||
die
"test playbook failed"
done
;;
;;
*
)
*
)
...
...
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