Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
capif
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
Service Desk
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
OCF
capif
Commits
3edccc09
Commit
3edccc09
authored
9 months ago
by
Jorge Moratinos
Browse files
Options
Downloads
Patches
Plain Diff
Robot scripts and dockerfile adjustment with results directory
parent
540ff21a
No related branches found
No related tags found
2 merge requests
!99
Merge Latest changes from staging to main
,
!55
Resolve "Robot task to create default users by admin"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
services/run_capif_tests.sh
+1
-1
1 addition, 1 deletion
services/run_capif_tests.sh
tools/robot/entrypoint.sh
+3
-1
3 additions, 1 deletion
tools/robot/entrypoint.sh
with
4 additions
and
2 deletions
services/run_capif_tests.sh
+
1
−
1
View file @
3edccc09
...
...
@@ -6,7 +6,7 @@ DOCKER_ROBOT_IMAGE_VERSION=4.0
cd
..
REPOSITORY_BASE_FOLDER
=
${
PWD
}
TEST_FOLDER
=
$REPOSITORY_BASE_FOLDER
/tests
RESULT_FOLDER
=
$REPOSITORY_BASE_FOLDER
/results
/
$timestamp
RESULT_FOLDER
=
$REPOSITORY_BASE_FOLDER
/results
ROBOT_DOCKER_FILE_FOLDER
=
$REPOSITORY_BASE_FOLDER
/tools/robot
# nginx Hostname and http port (80 by default) to reach for tests
...
...
This diff is collapsed.
Click to expand it.
tools/robot/entrypoint.sh
+
3
−
1
View file @
3edccc09
...
...
@@ -8,6 +8,8 @@ TESTS_REQ_FILE=ROBOT_TESTS_DIRECTORY/requirements.txt
ARGUMENTS
=
OPTIONS
=
timestamp
=
$(
date
+
"%Y%m%d_%H%M%S"
)
while
[
-n
"
$1
"
]
;
do
# while loop starts
case
"
$1
"
in
...
...
@@ -45,4 +47,4 @@ then
fi
pip
install
-r
$BASE_REQ_FILE
robot
-d
ROBOT_RESULTS_DIRECTORY
--xunit
xunit.xml
$OPTIONS
$ARGUMENTS
robot
-d
ROBOT_RESULTS_DIRECTORY
/
$timestamp
--xunit
xunit.xml
$OPTIONS
$ARGUMENTS
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